Project

Profile

Help

Story #2

Updated by mhrivnak over 9 years ago

The repomd.xml file has its own timestamp in the XML, and then each file it references has its own timestamp. The treeinfo file contains its own timestamp. We should check should:check the repomd.xml timestamp and skip the rest of the sync if it hasn't changed. This changedcheck the timestamp for other individual files and skip that step of the sync if it hasn't changedThis will reduce the sync time for a big repo from possibly 1-2 minutes to a small number of seconds when the upstream repo hasn't changed. This will also help us be smarter about when the distribution files get re-downloaded. 

 Deliverables: 
 * rpm sync checks each metadata file's timestamp, if available, and skips that unit type if the timestamp hasn't changed since the last sync.

Back