-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Proposal: reorganize hack/
build scripts
#35937
Comments
This proposed structure sounds really sane to me! Thanks for thinking all this through and writing up this proposal. ❤️ Would these scripts all assume they're being launched from the root of the repo like I have some concerns about |
Yes, I think this is a fair assumption. Good to call it out, thanks!
We're already using these today, I forgot to document that they already exist. They are indeed just the container entrypoint, as it was in the past with |
I know kube (or at least some kube projects) require a reviewer to comment something like |
Problem Statement
The organization of build scripts in
hack/
has remained largely unchanged for a long time. This repo has undergone significant changes and the build scripts could use a refresh.Goals
hack/make.sh
so that scripts can be executed directly without a driver.
) and "task scripts"Proposal
hack/make.sh
, and move everything out ofhack/make
to a new location underhack
hack/make.sh
will move to a library underhack/lib
orhack/<category>/lib
Structure:
Anything in
libs
should only define functions, nothing should run when sourced. Each directory can also have alibs
directory for anything that is not general enough to be at the top level(
hack/integration-cli-on-swarm/
could be moved back tocontrib/
since it's mostly go code, or would be underhack/test/integration-cli-on-swarm/
)The text was updated successfully, but these errors were encountered: