GatorQue / git-repo-flow

Enhanced Google repo alternative that utilizes a git-flow methodology.
Apache License 2.0
6 stars 3 forks source link

Shallow manifest support #11

Open GatorQue opened 8 years ago

GatorQue commented 8 years ago

The default behaviour of repo manifest is to save a comprehensive version of the currently loaded manifest file. This means that all referenced manifest files (e.g. <include> elements, local_manifest file adjustments, etc.) to be saved into a single manifest file output. This feature would allow for creating a shallow copy of the manifest file by only copying the contents of the manifest file into the new file (probably while also fixing the revisions to either a branch or commit hash at the same time). This has the advantage of preserving other elements in the file (e.g. <include>, <default>, and other elements).

GatorQue commented 8 years ago

@smipi1 , Please review my changes in the feature branch associated with this issue. The purpose of the changes is to preserve the original XML file as correctly as possible so we can later add tagging and branching to the repo manifest command (for use by the repo flow commands). I'm pretty happy with the changes but would like you to experiment with them before I deliver them to develop. Here is the commit hash: 48ce38e575c9be467e0aa6f71dd98cf440ac6abd