-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Fix unbound variable error in install script #3601
Conversation
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.
Not sure why or how this happens but should be solved with #3604. |
|
I figured out the root cause by adding
Because Changing |
There was a PR changing |
Okay, if tests etc pass I think I'm convinced that this is a better approach. Huge props to @brettdh for the detective work and the patience to explain it to us! |
Head branch was pushed to by a user without write access
Fixed the formatting violations that pre-commit flagged. |
Other than that, this change seems reasonable |
74d901f
to
e9ef377
Compare
I think I'm fighting with vscode auto save behavior on the formatting issues. Sorry for the noise; will actually set up pre-commit and fix it that way soon. |
d587721
to
0cbc3d9
Compare
0cbc3d9
to
f7052fe
Compare
Ok it should be good now, including formatting and conflict resolution with recent changes on |
If the docker-compose version was less than the minimum required version, the install script would error out like this:
With this patch, the script correctly identifies the out-of-date docker-compose version and bails out with a more helpful message:
(Note that
2.132.2
is not a real docker-compose version; I've edited theinstall/_min-requirements.sh
file locally for testing, to make the installed version out of date.)Also tested that the success case still works (by removing the aforementioned local edit):
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.