-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove tools-local folder from repo root #36519
Comments
Tagging subscribers to this area: @safern, @ViktorHofer |
Tagging subscribers to this area: @ViktorHofer |
Are these tools just for the internal repo consumption (e.g. they will never ship or publish an artifact to nuget feed)? If it is just for tools consumed internally by the repo, I like "-local" in the current directory name. It makes it clear that it is not for any kind of tools. If it is for any kind of tools, what is going to be the rule for when the tool should live here vs. somewhere else?
We have majority of the scripts under What is going to be the rule for when the script should live here vs. somewhere else? What is the list of scripts that would move here? |
Yes those tools should never ship and are intended to be used in the repository. We currently have one single tool which applies to that which is the Debian Packaging Tool. I agree that "tools-local" then probably makes more sense.
Primarily the scripts that currently already live under tools-local: https://github.com/dotnet/runtime/tree/master/tools-local/scripts. Maybe also https://github.com/dotnet/runtime/blob/master/src/libraries/FindResourceDuplicates.ps1, https://github.com/dotnet/runtime/blob/master/src/libraries/GenerateLibrariesSln.ps1 if they are useful outside of libraries. Another suggestion would be to just move the "tools-local" folder as-is into the src folder. |
This looks like one-off tool for the installer. Should it better live somewhere under src/installer? We have number of other similar one-off tools. For example, https://github.com/dotnet/runtime/tree/master/src/coreclr/src/tools/Common/JitInterface/ThunkGenerator is a tool to generate jit/ee interface definitions.
Why not move the script that currently live under tools-local to be under eng where majority of the scripts live? I do not see a clear difference between the nature of the scripts under tools-local vs eng. |
I opened #36537 to discuss the future of that tool and where it should live.
Would work for me as well if those are scripts which aren't supposed to be invoked directly by us devs. |
I have looked at the scripts under https://github.com/dotnet/runtime/tree/master/tools-local/scripts and all of them look dead / no longer used. Maybe we should just delete it and see whether we will miss any of them. That just leaves the tasks. We have been aggressively moving all tasks to arcade, even if they are not really useful outside dotnet/runtime. Would it make sense to make the installer task to arcade as well? |
Thanks for doing that in 56ee1b0#diff-0b05377ea358dd4929229ced386ea133.
Some of these tasks are very specific to our repository, I don't think it makes sense to port them to Arcade. We already moved most non repo specific ones over. |
This was done. |
As I was just working in tools-local on the tasks composition I was wondering if the "tools-local" folder needs to live under the repo root. I propose to move its contents into the "src" folder:
cc @safern @danmosemsft
The text was updated successfully, but these errors were encountered: