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

Download modules from our mirror instead of cloning #35

Merged
merged 2 commits into from
Oct 26, 2021

Conversation

vpodzime
Copy link
Contributor

Cloning the repositories with modules is not a good idea,
especially because the repositories can be deleted by their
owners or some other issues can happen. Instead, when a module is
added to the index, we archive it in our mirror and then use the
archive in cfbs build, verifying that the checksum matches the
expected value stored in cfbs-index/master/versions.json.

Ticket: CFE-3780
Changelog: 'cfbs build' now downloads module archives instead of cloning repositories

Cloning the repositories with modules is not a good idea,
especially because the repositories can be deleted by their
owners or some other issues can happen. Instead, when a module is
added to the index, we archive it in our mirror and then use the
archive in `cfbs build`, verifying that the checksum matches the
expected value stored in cfbs-index/master/versions.json.

Ticket: CFE-3780
Changelog: 'cfbs build' now downloads module archives instead of cloning repositories
@vpodzime vpodzime force-pushed the master-download_from_mirror branch 2 times, most recently from 4e213a3 to 6af1fbc Compare October 26, 2021 14:18
And thus in 'cfbs show' or 'cfbs info'. It's a useful piece of
information.
@olehermanse olehermanse merged commit af3c248 into cfengine:master Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants