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.
These are some changes I've made for use with my own repo and workflow, but you may find some or all of them useful.
I run the generator on all suites one per day, from a cronjob. However, most days the repo hasn't changed, since this is a small, 3rd-party repo. I then copy the new metadata into the repo. However,
asgenproduces different output every time, even when there have been no changes to the repo, This results in a lot of churn when the master copy of the repo is pushed to the mirror that people actually have access to, which in turn produces unnecessary emails to my inbox.I found that the churn was occurring in three areas:
Each of these commits fixes one of those.
I copy the data from workspace to repo using
rsync -rlHc. That changes a destination file only if the source file has a different checksum. However, it doesn't copy across the modification time like-adoes, so a destination file with the same checksum doesn't have its modification date changed, but files with a different checksum have their modification time set to the time of the copy. I can then usefindto see if there are any files in thedep11subdirectory that are newer than theReleasefile, and if so the suite needs to be reexported (in my case, withreprepo export SUITE) and a mirror push initiated.This change is