pegleg/tests
Felipe Monteiro ba1842c02e Tidy up collect output file names for cloned repos
This patch set tidies up collect output file names for cloned
repos. As an example, previously the output file could be named
something like tmp5ak7409aic-clcp-security-manifests.yaml -- after
this change it will be aic-clcp-security-manifests.yaml instead
which is much cleaner.

Pegleg "collect" looks at the last piece in a file path to
determine the filename to write to: [0]

This means that changing the clone path here from something like:

/tmp/tmp54d13yairship-pegleg (which will result in collection
output to tmp54d13yairship-pegleg.yaml)

To:

/tmp/tmp54d13y/airship-pegleg (which will result in collection
output to airship-pegleg.yaml)

[0] 2ea1a55a2d/pegleg/engine/site.py (L71)

Change-Id: I2198e299d392e24d376ccfa53bef57fcabf0d41b
2018-09-29 19:54:30 -04:00
..
unit Tidy up collect output file names for cloned repos 2018-09-29 19:54:30 -04:00
__init__.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00