-
Notifications
You must be signed in to change notification settings - Fork 20
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
Obey PANTS_BOOTSTRAP_URLS
properly, update to science 0.2.2
#293
Conversation
@@ -40,7 +40,7 @@ members = [ | |||
# N.B.: We name the scie-pants binary scie-pants.bin since the scie itself is named scie-pants | |||
# which would conflict when packaging. | |||
name = "scie-pants.bin" | |||
executable = true |
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.
The error for this one referred to files[1].executable
which appears to be 1-indexed (AFAICT, this is the first entry in the files
list); is that expected?
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.
It's expected, but perhaps a bad choice. It carried over from my Pex lockfile parsing diagnostics. There I saw a large audience was comprised of ML folks and I've been continually surprised by how much ML they know combined with how little programming language familiarity they have. I should probably just add a parenthetical to diagnostic messages that array indexes are X-based.
This comment was marked as resolved.
This comment was marked as resolved.
PANTS_BOOTSTRAP_URLS
properly, update to science 0.2.2
The only user-visible feature is #293, plus the doc changes in #296. There's various (hopefully, internal-only) dependency upgrades and similar. Full changes: v0.10.2...91477f6 ([This time](#289), I remembered to bump `Cargo.lock`.)
This updates to https://github.com/a-scie/lift/releases/tag/v0.2.2, which has diagnostics to detect invalid/ignored entries in the configuration files. This detects two:
scie-pants.bin
file wasn't being marked as executable properly... which suggests it doesn't need to bePANTS_BOOTSTRAP_URLS
env var wasn't being passed through toptex
properly, and thus redirecting the downloads wasn't working as intended.Fixes #243