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
chore(deps): install dev tools and split if more repos #5528
Conversation
Signed-off-by: Łukasz Dziedziak <lukidzi@gmail.com>
Signed-off-by: Łukasz Dziedziak <lukidzi@gmail.com>
Signed-off-by: Łukasz Dziedziak <lukidzi@gmail.com>
Why is this change required now and wasn't before? This sort of information should be in the commit message. |
Previously code was placed directly in Makefile and thanks to this we didn't have to pass TOOLS_DEPS_DIRS as a parameter to the script. When in another repository we are adding to env TOOLS_DEPS_DIRS another folder to scam it the value that enters the scripts is split by space which bash later recognizes as 2 separate parameters. That caused the other dir to be treated as GOOS. Signed-off-by: Łukasz Dziedziak <lukidzi@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to dismiss this if not true but can't we just quote TOOLS_DEPS_DIRS
in mk/dev.mk
and use spaces?
$(TOOLS_DIR)/dev/install-dev-tools.sh $(CI_TOOLS_BIN_DIR) $(CI_TOOLS_DIR) "$(TOOLS_DEPS_DIRS)" $(TOOLS_DEPS_LOCK_FILE) $(GOOS) $(GOARCH)
Should be better than using ,
separator if the variable is known to be an array...
But then again it also doesn't matter either way 😀
Signed-off-by: Łukasz Dziedziak <lukidzi@gmail.com>
Looks like it works changed :) |
syscall.Mkfifo
have equivalent implementation on the other OS --UPGRADE.md
? --> Changelog:
entry here or add aci/
label to run fewer/more tests?