ostree-releng-scripts icon indicating copy to clipboard operation
ostree-releng-scripts copied to clipboard

rsync-repos doesn't know about delta-indexes

Open AdrianVovk opened this issue 4 years ago • 0 comments

I recently started running into issues with my deltas not being picked up. Turns out that rsync-repos doesn't know about delta-indexes. Once they were enabled on development machine, they wouldn't get pushed up to the release server so I'd need to regenerate the summary on the server to get static deltas to work. Because the delta-indexes were missing, the summary I uploaded referred to deltas that didn't exist, so regenerating the summary fixed the issue.

However, I sign my summary and singing keys are only available on my local development machine (via a smart card). Thus, I'd much rather generate the summary locally and push it.

I currently work around this issue by adding /delta-indexes, /delta-indexes/** to REFS_AND_SUMMARY in my local checkout. This ensures the files get pushed up and the summary I push refers to indexes that exist. However, I don't know if that is the correct place to make the change & it's better for this to be fixed upstream anyway

AdrianVovk avatar Nov 07 '21 22:11 AdrianVovk