aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* rsync-gen.sh: fix gemato check•••Pointed out by shellcheck. As usual w/ sc, not planning on handling everything or even most of what it says, but useful to look for typos it points out. Fixes: 7620b6516d417b71da1879590b589fa849c08c59 Signed-off-by: Sam James <sam@gentoo.org> Sam James2026-02-051-1/+1
* Revert "rsync-gen.sh: check that pkgcheck / CI was green on a given commit"•••This reverts commit f166ef34be79f7ab7fe5e3d12f67822e51f4e436. See eac03c985ddf86d73b125afeedea592bdcae48c6. Bug: https://bugs.gentoo.org/968073 Signed-off-by: Sam James <sam@gentoo.org> 20251228T165755ZSam James2025-12-281-23/+1
* rsync-gen.sh: check that pkgcheck / CI was green on a given commit•••Verify that timestamp.commit is an ancestor of whatever `stable` points to on the CI repo. This means we don't push out tree states with an inconsistent depgraph to users syncing via rsync. Closes: https://bugs.gentoo.org/968073 Signed-off-by: Sam James <sam@gentoo.org> 20251228T143604ZSam James2025-12-281-1/+23
* rsync-gen.sh: Exclude all dotfiles, remove obsolete CVS exclude•••Signed-off-by: Michał Górny <mgorny@gentoo.org> 20240508T052434ZMichał Górny2024-05-081-6/+6
* rsync-gen.sh: do not use non-portable `which`•••Use `command -v` instead. We're hoping to remove which from @system. Signed-off-by: Sam James <sam@gentoo.org> 20240125T063921ZSam James2024-01-251-2/+2
* Try allowing removal of metadata/install-qa-check.d•••Signed-off-by: Michał Górny <mgorny@gentoo.org> 20220201T162149ZMichał Górny2022-02-011-0/+1
* Update copyrights•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2019-12-051-1/+1
* rsync-gen: Restrict Manifest removal to metadata/ subdir20180614T173057ZMichał 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/•••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. 20180614T131445ZMichał Górny2018-06-141-0/+3
* rsync-gen.sh: prepare to switch to system gemato•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> 20180606T183930ZRobin H. Johnson2018-06-061-2/+16
* 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.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-11-241-1/+2
* rsync-gen.sh: gpg needs output file to NOT exist•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-11-241-0/+1
* rsync-gen.sh: show exact command in error.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-11-241-3/+7
* rsync-gen.sh/signing: improve variables and log entries.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-11-241-4/+8
* rsync-gen.sh: engage GPG signing of MetaManifest.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-11-241-3/+29
* 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 repository•••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. Michał Górny2017-11-241-7/+7
* Drop changelogs from rsync data•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-11-231-25/+2
* rsync-gen: temp disable manifest-check because slow.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-02-271-1/+1
* rsync-gen: update staging source path.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-02-271-1/+1
* rsync-gen: switch to using git checkouts directly, no rsync indirection.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2017-02-261-8/+10
* rsync-gen: declare new vars for changelog module.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-12-181-1/+2
* rsync-gen: be clear about variable purposes.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-12-181-59/+59
* rsync-gen: start to drop old changelog code.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-12-181-8/+2
* 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
* Extra git tree of what gets generated.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-12-011-0/+27
* Revert "rsync-gen.sh: remove Manifest sync optimization"•••This reverts commit 932fd213acfd672cda9c326e9ef8f328a9047dcf. Robin H. Johnson2016-10-291-1/+1
* rsync-gen: re-arrange script slightly.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-04-221-7/+8
* Include XML Schemas in rsync checkoutMichał Górny2016-04-151-1/+8
* Fix changelog times.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-04-061-1/+1
* rsync-gen.sh: remove Manifest sync optimization•••Previously, we only synced the Manifest if git was newer, which prevented blowing away the thick Manifest every run. However, since our thicken code is fast, we can safely blow away the Manifest and rethicken it every run. This avoids issues where ChangeLog generation takes a long time and results in a Manifest mtime newer than the next change to the package. Requested-by: <dwfreed@mtu.edu> Michał Górny2016-02-261-1/+1
* Stop distributing herds.xmlMichał Górny2016-02-141-3/+2
* rsync-gen: More umask fixup.Robin H. Johnson2016-01-271-1/+1
* Merge changes from dwfreed.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-271-31/+45
* Tweak timestamp on test marker so that less users see it.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-251-2/+3
* Track mirror --checksum status.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-161-0/+15
* Drop .gitignore files.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-161-1/+1
* '*.old' is a valid file to include because of net-p2p/freenet/files/freenet.old.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-161-3/+4
* Get rsync-gen time log lines in syslog for ease of recording.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-161-29/+33
* Add functions for consistent log lines in the timeslog file.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2016-01-161-27/+44
* Include projects.xml in repositoryMichał Górny2016-01-111-4/+5
* Add notes about mastermirror-staging.sh•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2015-12-141-0/+1
* Silence stderr that was not needed.•••Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Robin H. Johnson2015-12-091-1/+1