-
Notifications
You must be signed in to change notification settings - Fork 42
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
Mirrors #493
Open
fosslinux
wants to merge
12
commits into
master
Choose a base branch
from
mirrors
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stikonas
reviewed
Jan 8, 2025
fosslinux
force-pushed
the
mirrors
branch
2 times, most recently
from
January 13, 2025 08:49
675c067
to
10ea6c3
Compare
It wasn't ever really useful.
fosslinux
force-pushed
the
mirrors
branch
2 times, most recently
from
January 13, 2025 09:52
734d494
to
88e9a54
Compare
fosslinux
force-pushed
the
mirrors
branch
2 times, most recently
from
January 14, 2025 08:55
2988476
to
f8663d7
Compare
fosslinux
force-pushed
the
mirrors
branch
2 times, most recently
from
January 18, 2025 22:09
a7b9e40
to
84a3aad
Compare
fosslinux
force-pushed
the
mirrors
branch
2 times, most recently
from
January 23, 2025 06:38
f6177ae
to
e7c1609
Compare
Spawns a simple HTTP server to host the mirror. Useful for testing mirror support or CI in chroot or bwrap modes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here's a first attempt at a mirrors network as per #485.
This is quite basic, and intended to be iterated upon to possibly add things like IPFS/torrents, mirror discovery, etc.
At this point in time, this PR only attempts to implement the following model:
git archive
snapshotsThe "sources" format has a change: there is now a Git line supported, which has the format:
download-distfiles.sh
,rootfs.py
andhelpers.sh
have been updated to reflect this.mirror.sh
is an implementation of a mirror creation/maintenance tool, it is intentionally written in POSIX sh (not bash, like we use for most other things), because platform diversity should be encouraged. I would also encourage other mirror implementations to be written eventually.Alongside that, in this PR I have accordingly swapped out a number of distfiles to get us "closer to upstream";
git archive
snapshotsgit archive
snapshots; namely, gnu-autogen-bootstrapping in autogen, guile-psyntax-bootstrapping in guile, kexec-toolsgit archive
snapshotsAs of yet unresolved questions;