Skip to content
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

buildsys, Makefile: disallow upstream source fallback by default #735

Merged
merged 1 commit into from
Feb 17, 2020

Conversation

etungsten
Copy link
Contributor

Issue #, if available: Related to #540

Description of changes:
buildsys now checks environment variable BUILDSYS_UPSTREAM_SOURCE_FALLBACK to see whether to use upstream source as fallback if fetching from the lookaside cache fails for whatever reason.

Makefile updated to set BUILDSYS_UPSTREAM_SOURCE_FALLBACK to false, overridable from the command line by passing -e BUILDSYS_UPSTREAM_SOURCE_FALLBACK=true to cargo make.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tools/buildsys/Cargo.toml Outdated Show resolved Hide resolved
Makefile.toml Outdated Show resolved Hide resolved
buildsys now checks `BUILDSYS_UPSTREAM_SOURCE_FALLBACK` to see whether
to use upstream source as fallback during fetch.
Makefile updated to set `BUILDSYS_UPSTREAM_SOURCE_FALLBACK` to false
@etungsten
Copy link
Contributor Author

Addresses comments by @iliana and @jahkeup

@etungsten etungsten merged commit 2d3ec15 into develop Feb 17, 2020
@etungsten etungsten deleted the lookaside-cache-always branch February 17, 2020 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants