-
Notifications
You must be signed in to change notification settings - Fork 37.6k
depends: Improve id string robustness #20629
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
depends: Improve id string robustness #20629
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
Concept ACK. If I understand it correctly, this includes only specific targeted environment variables and not the entire env? |
|
Yes! It automatically includes any env var that starts with the name of the tool (e.g. |
Right, perhaps someone knows a better invocation here? I'm guessing |
4b9aaca
to
f792069
Compare
Code review ACK f792069 |
Gitian builds
|
Previously, if the value contained syntax that was meaningful to make, the printing would fail. Quoting properly avoids this.
Environment variables and search paths can drastically effect the operation of build tools. Include these in our id string to mitigate against false cache hits.
f792069
to
5200929
Compare
re-ACK 5200929 |
5200929 depends: Include GUIX_ENVIRONMENT in id string (Carl Dong) 4c7d418 depends: Improve id string robustness (Carl Dong) b3bdff4 build: Proper quoting for var printing targets (Carl Dong) Pull request description: ``` Environment variables and search paths can drastically effect the operation of build tools. Include these in our id string to mitigate against false cache hits. ``` Note to builders: This will invalidate all depends output caches in `BASE_CACHE` ACKs for top commit: laanwj: re-ACK 5200929 Tree-SHA512: e70c98da89cde90dc54bc3be89b925787cf94bbf246e27cc9345816b312073d78a02215448f731f21d8cf033c455234a2377ff1d66c00e1f3db69c9c9687d027
Note to builders: This will invalidate all depends output caches in
BASE_CACHE