Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit tags on manifest files for "tsrc init" #260

Open
mattblovell opened this issue Aug 4, 2020 · 1 comment
Open

Permit tags on manifest files for "tsrc init" #260

mattblovell opened this issue Aug 4, 2020 · 1 comment

Comments

@mattblovell
Copy link
Contributor

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).

@dmerejkowsky
Copy link
Collaborator

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).

@dmerejkowsky dmerejkowsky reopened this Jan 25, 2021
@dmerejkowsky dmerejkowsky changed the title Permit tags on manifest files for "tsrc init"? Permit tags on manifest files for "tsrc init" Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants