| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
Perl Archive::Tar::Stream does not handle gnutar archives correctly if
the file names are long.
Fixes: https://bugs.gentoo.org/703460
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
The earlier fix where $FILENAME was hardcoded in a loop:
for f in $FILENAME other_files ; do ... ($FILENAME) ... ; done;
Meant that portage-YYYYMMDD.tar.xz.umd5sum wasn't created anymore
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Write a new output file gentoo-YYYYMMDD.tar.xz
with the initial path element being gentoo-YYYYMMDD
Do it by transforming the main tarball, rather than recreating an
entirely new run of tar (which requires seeks).
Fixes: https://bugs.gentoo.org/574752
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
Some cleanups before new functionality.
- Generate print-exclusion-list seperately before tarball
- Defer all compression until the tarball sanity check
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
| |
This reverts commit 62687286e02f6f7862cfff39c0bb82862fa493da.
Alternate implemention coming, merging with cleanups first.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
| |
Source: https://bugs.gentoo.org/attachment.cgi?id=589026
Reference: https://bugs.gentoo.org/574752
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Allow rsync to remove stale Manifests from metadata/ tree. Otherwise,
stale Manifests are left in place and cause breakage e.g. when
a category is removed.
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
|
|
|
|
| |
If yesterday's snapshot is missing, scan for the last successful
snapshot.
|
|
|
|
|
| |
Other parts of the script already use /usr/local/bin/mastermirror as a
prefix for fully specified paths; so do it for exclusions too.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The rsync pipeline is currently set to try to set mtimes of git
repository files to the time of last commit affecting them, and then
preserve that mtime to the final repository. This has little value
for end users, and causes two significant problems:
1. If the original mtime is wrong (i.e. a commit had wrong timestamp),
timestamps are not guaranteed to be monotonic and can just be insane.
2. If any file in the staging directory is rewritten without
modification, rsync passes the (unnecessary) mtime update to end
users.
To solve this, always pass '--no-times --checksum' to rsync. This way
timestamps on files in the staging and final directories are only
updated when the file content actually changes, being effectively
equivalent to the vanilla git behavior.
The only possible drawback of this is that if staging/final directory is
wiped for some reason, their contents need to be restored from other
mirror with preserved timestamps, or otherwise users (who don't use
checksumming) will notice a full-tree resync.
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|