summaryrefslogtreecommitdiff
path: root/ybd/splitting.py
Commit message (Collapse)AuthorAgeFilesLines
* Change artifact splitting rules matchingrdale/150-master-splittingRichard Dale2016-02-041-27/+19
| | | | | | | The default artifact splitting rules are augmented by custom splitting rules, and never overriden. The custom rules are matched first, followed by the default rules if the custom rules didn't match an item. Both stratum and chunk level splitting rules work this way.
* Implement chunk artifacts functionalityRichard Dale2016-02-041-0/+4
|
* Add artifact splittingRichard Dale2016-02-031-0/+256
.meta files are now in YAML format. For a chunk, the .meta file contains a list of products with an artifact name and a file list for that artifact. Stratum .meta file also have a list of products, with each entry having an artifact name and a list of components. The component names in the stratum artifacts reference the chunk artifacts in the chunk .meta files. When a stratum is to be split according to a list of artifact names, the artifact names are looked up in the .meta file for the stratum, and only the components for matching artifacts are copied to the destination path. The .meta files for a split stratum should only contain references to files in the split sub set of the stratum, both for chunk .meta files and for the stratum .meta file. The code to match the split artifact regular expression rules was derived from code in a patch by Paul Martin