aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rsync-gen: Restrict Manifest removal to metadata/ subdirHEAD20180614T173057ZmasterMichał Górny2018-06-141-1/+1
|
* rsync-gen: Delete stale Manifests from metadata/ manually20180614T155352ZMichał Górny2018-06-141-3/+6
|
* rsync-gen: Try R/P the other way around20180614T145813ZMichał Górny2018-06-141-1/+1
|
* rsync: Fix cleaning up stale Manifests from metadata/20180614T131445ZMichał Górny2018-06-141-0/+3
| | | | | | 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.
* rsync-gen.sh: prepare to switch to system gemato20180606T183930ZRobin H. Johnson2018-06-061-2/+16
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsyncgen: switch to py3.620180521T191503ZRobin H. Johnson2018-05-211-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Add blackcap as a mastermirror.Alec Warner2018-03-191-0/+1
|
* Avoid manual intervention when we miss a snapshot.Alec Warner2018-03-191-6/+19
| | | | | If yesterday's snapshot is missing, scan for the last successful snapshot.
* Switch to using fully qualified prefix.productionAlec Warner2018-03-061-1/+1
| | | | | Other parts of the script already use /usr/local/bin/mastermirror as a prefix for fully specified paths; so do it for exclusions too.
* rsync-gen.sh: Fix not restoring ManifestsMichał Górny2017-11-251-1/+1
|
* rsync-gen: Sign Manifests via generation scriptMichał Górny2017-11-251-33/+3
|
* rsync-gen.sh: only sign toplevel Manifest for now, gemato bug.Robin H. Johnson2017-11-241-1/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen.sh: gpg needs output file to NOT existRobin H. Johnson2017-11-241-0/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen.sh: show exact command in error.Robin H. Johnson2017-11-241-3/+7
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen.sh/signing: improve variables and log entries.Robin H. Johnson2017-11-241-4/+8
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen.sh: engage GPG signing of MetaManifest.Robin H. Johnson2017-11-241-3/+29
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create.sh: improve gpg key check.Robin H. Johnson2017-11-241-1/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Move GPG key details to vars.Robin H. Johnson2017-11-242-5/+11
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create: use long keyid for signing.Robin H. Johnson2017-11-241-4/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen.sh: Fix verbose verification outputMichał Górny2017-11-241-1/+1
|
* rsync-gen.sh: Verify the MetaManifestMichał Górny2017-11-241-4/+1
|
* rsync-gen.sh: Generate MetaManifests using gemato utility scriptMichał Górny2017-11-241-39/+21
|
* rsync-gen: Stop preserving mtimes from the git repositoryMichał Górny2017-11-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Drop changelogs from rsync dataRobin H. Johnson2017-11-232-32/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create.sh: change the too-much-size-change margins.Robin H. Johnson2017-09-211-2/+8
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Fixup print-exclusion-list usage.Robin H. Johnson2017-09-213-3/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* create-squashfs-snapshot: use exclusion list.Robin H. Johnson2017-09-211-0/+7
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create.sh: hoist exclusion list creation to new script, remember ↵Robin H. Johnson2017-09-212-21/+48
| | | | | | to cleanup Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create.sh: reduce padding on tarballRobin H. Johnson2017-09-211-0/+3
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create.sh: disable volume header for now.Robin H. Johnson2017-09-211-1/+4
| | | | | | | | | | volume header is not supported by: - Docker (#631644) - tarsync (#631616) Bug: https://bugs.gentoo.org/631644 Bug: https://bugs.gentoo.org/631616 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create: save an entire rsync copy phase!Robin H. Johnson2017-09-181-18/+14
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create: fix filename that leaked fro testing.Robin H. Johnson2017-09-181-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create: exclude some content from the rsync, better than exclusion ↵Robin H. Johnson2017-09-181-1/+25
| | | | | | during tar Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create: improved tar argumentsRobin H. Johnson2017-09-181-7/+28
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* snapshots-create: prepare for tar argument cleanup.Robin H. Johnson2017-09-181-1/+5
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mastermirror-staging: use target dir, not git dirRobin H. Johnson2017-04-191-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mastermirror-staging: force local on variable.Robin H. Johnson2017-04-191-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mastermirror-staging: be stricter about removalRobin H. Johnson2017-04-191-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mastermirror-staging: add new timestamp that shows git export point clearlyRobin H. Johnson2017-04-191-1/+10
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mastermirror-staging: Disable ident expansion per bug #611234.Robin H. Johnson2017-02-281-7/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen: temp disable manifest-check because slow.Robin H. Johnson2017-02-271-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen: update staging source path.Robin H. Johnson2017-02-272-2/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen: switch to using git checkouts directly, no rsync indirection.Robin H. Johnson2017-02-261-8/+10
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Enable $Id$ expansion on gentoo.git.Robin H. Johnson2017-02-261-7/+29
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Update STAGEDIR, FINALDIR in remaining scriptsMichał Górny2016-12-193-9/+9
| | | | Fixes: 931a49ce1da1063 ("rsync-gen: be clear about variable purposes.")
* rsync-gen: declare new vars for changelog module.Robin H. Johnson2016-12-182-1/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen: be clear about variable purposes.Robin H. Johnson2016-12-182-61/+61
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* rsync-gen: start to drop old changelog code.Robin H. Johnson2016-12-181-8/+2
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* make git commit quietMatthew Thode2016-12-021-1/+1
|
* fix rsync-gen.sh, seperate commands that had been erroniously joinedMatthew Thode2016-12-011-1/+1
|