BobBuildTool/bob

SCM tools

Closed this issue · 4 comments

Is your feature request related to a problem? Please describe.

I want to know if Bob provides tools or command-line interfaces for configuring administrators' daily work in SCM

Describe the solution you'd like

For example, running 'bob tag 1.0' will create a tag named '1.0' for all Git/SVN repositories in the YAML files.

Describe alternatives you've considered

Additional context

I've implemented something like this in a small plugin. It uses the gitlab API to create the tags and is highly customised to our needs. State is something between "works for me" and "once I have time". If you're interested I can share it but it will need some love. Maybe you can take this as a starting point for a more generic solution, maybe in form of a basement plugin?

I'm so happy and thank you very much for sharing with me and how I can get it?

I've to correct myself. I did not implement this in a plugin - it's just a simple shell-script using bob query-scm.
create_tags.sh.gz , replaces the git-URLs with the https ones and uses curl for the API stuff. I used the API to avoid the need of cloning all repos.

You need to fill in your server URL's and run the script with your API-TOKEN and a tag-name as arguments. It should create tags for all deps of all visible root packages.
If you add 1 as 3rd argument the tags will be deleted.

Thank you very much for your sharing! I wil close this issue