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

Pin problem-specifications to a specific commit #1950

Merged
merged 3 commits into from
Aug 9, 2024
Merged

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Aug 9, 2024

The previous approach used a submodule to keep things somewhat stable.
That worked well for the rust-tooling (exercise generator) which made
use of the submodule. However, configlet continued to use its own cache.
(see exercism/configlet#816)
This could lead to problems where the configlet cache and the submodule
are out of sync and don't agree.

The new approach ditches the submodule and makes everything use the
configlet cache. Some helper scripts are responsible to make sure the
cache is checked out at the pinned commit and a configlet wrapper sets
the --offile flag to prevent configlet from updating the cache.

senekor added 3 commits August 9, 2024 18:45
The previous approach used a submodule to keep things somewhat stable.
That worked well for the rust-tooling (exercise generator) which made
use of the submodule. However, configlet continued to use its own cache.
(see exercism/configlet#816)
This could lead to problems where the configlet cache and the submodule
are out of sync and don't agree.

The new approach ditches the submodule and makes everything use the
configlet cache. Some helper scripts are responsible to make sure the
cache is checked out at the pinned commit and a configlet wrapper sets
the `--offile` flag to prevent configlet from updating the cache.
@senekor senekor marked this pull request as ready for review August 9, 2024 17:01
@senekor senekor requested a review from ErikSchierboom August 9, 2024 17:01
@senekor senekor merged commit 2a66d7d into main Aug 9, 2024
10 checks passed
@senekor senekor deleted the remo/qoskkptlkpuy branch August 9, 2024 18:39
senekor added a commit that referenced this pull request Aug 13, 2024
With the configlet wrapper added in
#1950, the `--offline` flag is now
always set.
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.

2 participants