Project

Profile

Help

Issue #1088

Updated by bmbouter over 8 years ago

The incremental publish searches for is currently using the most recently modified first file with a filename given name that matches a regex. It would be more robust to identify it finds for publishing. This should choose the file from the specified inthe old repodata.xml instead of searching for one on so that if there are multiple files included the filesystem. correct file is chosen. For example, if there are two primary.xml files in a directory the repodata directory, the incremental publish should use the one from the repodata.xml and not the first one it finds. 

 This regex is performed here[0]. 

 [0]: https://github.com/pulp/pulp/blob/60d8aa1406703bb0f20d3632d0a8e2f5f48b66a6/server/pulp/plugins/util/metadata_writer.py#L325-L334

Back