tsrc
tsrc copied to clipboard
Permit tags on manifest files for "tsrc init"
The tsrc init command line current supports a --branch option.
Has there been any discussion of supporting a --tag command-line option when initializing, permitting one to pull a tagged version of the manifest file?
This question is semi-related to the topic in #48 (since a snapshot could be stored as a tagged manifest file).
Has there been any discussion of supporting a --tag command-line option when initializing, permitting one to pull a tagged version of the manifest file?
I don't think so. Do you want to start working on a PR?
We already have some code to reset repos in the workspace to a given tag (in tsrc/workspace/cloner.py and tsrc/workspace/syncer.py) so it should be possible to implement the same thing for the local manifest (in tsrc/workspace/local_manifest).