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

changing Manifest's branch should be done via command and not by editing '.tsrc/config.yml' file #387

Open
lomnido opened this issue Jan 15, 2024 · 1 comment
Assignees

Comments

@lomnido
Copy link
Contributor

lomnido commented Jan 15, 2024

Is your feature request related to a problem? Please describe.
tsrc seems powerful tool in every aspect except working reasonably with Manifest's versioning. I know that you can add Manifest's repository to the workspace, but that does not change the fact it is not possible to switch Manifest branch with some dignity. Editing a config file inside '.tsrc' directory is not dignified way enough. Also using just GIT's branch to identify what Manifest should be used is not enough. It is not same comfort you have allowed for any other repositories, where you allow also 'sha1' or 'tag' to be provided. Sorry for all this, it is just so disappointing in such well-establish project with right values.

Describe the solution you'd like
adding option to 'tsrc' commands like:

tsrc manifest --use-branch="new_branch" --use-tag="release-v1.0"

aleso check for current settings will be nice:

tsrc manifest

returns current branch, tag, sha1 details for good use.

@lomnido
Copy link
Contributor Author

lomnido commented Jul 8, 2024

This feature was implemented, but is not yet released. Once released, it can be closed.

In current version you can use:

tsrc manifest --branch <new_branch>

You can also check current state of Manifest's branch by:

tsrc manifest

This command have other parameters that can limit for example Groups.

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

1 participant