Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

main: only use local cache on install for -nonet#93

Merged
myitcv merged 1 commit intomasterfrom
fix_cache_miss_on_install_issue
Apr 7, 2020
Merged

main: only use local cache on install for -nonet#93
myitcv merged 1 commit intomasterfrom
fix_cache_miss_on_install_issue

Conversation

@myitcv
Copy link
Copy Markdown
Owner

@myitcv myitcv commented Apr 7, 2020

Using the local module cache for installs unconditionally means that
there will be situations where that cache is incomplete and hence the
install (and any subsequent step) will fail.

Rather we only need to enforce the use of the local module cache when we
are in -nonet.

Hence we now allow network access in the case of a module cache miss in
the non-nonet situation, which is exactly the semantics we intend.

Test to follow.

Fixes #86

Using the local module cache for installs unconditionally means that
there will be situations where that cache is incomplete and hence the
install (and any subsequent step) will fail.

Rather we only need to enforce the use of the local module cache when we
are in -nonet.

Hence we now allow network access in the case of a module cache miss in
the non-nonet situation, which is exactly the semantics we intend.

Test to follow.

Fixes #86
@myitcv myitcv force-pushed the fix_cache_miss_on_install_issue branch from 57535b5 to 2f9db55 Compare April 7, 2020 15:08
@myitcv myitcv merged commit aa4157f into master Apr 7, 2020
@myitcv myitcv deleted the fix_cache_miss_on_install_issue branch April 7, 2020 15:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"cannot load ...: reading file: ...: Not Found" when installing with a fresh module/build cache

1 participant