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

catkin_prepare_release: needs more flexible tag naming option #447

Closed
jack-oquin opened this issue Jun 25, 2013 · 9 comments
Closed

catkin_prepare_release: needs more flexible tag naming option #447

jack-oquin opened this issue Jun 25, 2013 · 9 comments

Comments

@jack-oquin
Copy link
Member

I would like to use this tool, but most of my packages use the package_name-:{version} rule for release tags.

Since catkin_prepare_release creates a tag with just the new version number, I have to delete that tag and create the correct one manually. So, I find myself doing the whole thing by hand, rather than take advantage of this useful tool.

Adding an appropriate option looks straightforward. I will submit a patch when I get the chance, but will not be able to work on it for at least a couple of weeks. Anyone else is welcome to fix it before then.

@jack-oquin
Copy link
Member Author

With this patch, I can do this and have the tags generated correctly:

$ catkin_prepare_release -t package_name-

@dirk-thomas
Copy link
Member

Just out of curiousity: do you have more than one package in a repo or why do you prefer the additional prefix?

@jack-oquin
Copy link
Member Author

More than one package: yes. But, it's really the repo name that is used as a tag prefix.

As to why: it's mostly a matter of longstanding habit. I believe rosrelease did it that way. Bloom supports that style, but catkin_prepare_release does not.

@jack-oquin
Copy link
Member Author

With SVN repositories, which do contain multiple collections of packages, it is probably necessary.

@dirk-thomas
Copy link
Member

For SVN there no real difference regarding tagging:

  • if it uses the structure package / trunk|branches|tags it is fine to just tag with the version number.
  • if it uses the structure trunk|branches|tags / package it would require a prefix but would also tag too much since the tag will include everything.

@jack-oquin
Copy link
Member Author

Maybe it's not necessary, but there still exist older repositories from pre-catkin days using that tag syntax. The rosrelease tool created them.

Why are you so reluctant to support it?

@dirk-thomas
Copy link
Member

I wrote:

Just out of curiousity

I am not reluctant to support it at all. As soon as the PR is ready it will be merged immediately. I asked these questions only to understand why people want to do that in order to understand their use case better.

@jack-oquin
Copy link
Member Author

I see.

The main reason is that old repositories used a certain tag style, and it's convenient not to have to change it.

dirk-thomas added a commit that referenced this issue Jul 27, 2013
catkin_prepare_release: add --tag-prefix argument (#447)
@wjwwood
Copy link
Member

wjwwood commented Jul 29, 2013

Can this not be closed?

cwecht pushed a commit to cwecht/catkin that referenced this issue Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants