Closed flixr closed 4 years ago
What about REP-0132 that defines changelog's format?
@130s Can you please include more context. At least to me it is unclear what you are trying to say.
What about REP-0132 that defines changelog's format?
@130s Can you please include more context. At least to me it is unclear what you are trying to say.
I may be wrong, but my understanding is:
catkin_generate_changelog
conforms to REP-0132.Over the years I've seen developers trying to use version name format that doesn't follow the mentioned syntax. So if there's a room for accommodating custom version format in catkin, I'm +1. If so, I'd just have to suggest to update REP-0132 to clarify that the custom format can be used.
Separate argument is that allowing "v" prefix looks very specific. Unless there is a widely accepted versioning scheme that uses "v", it may make more sense to change the functionality so that a user can pass their own custom prefix IMO.
This patch is just focused on being able to collect the changelog for tags with a v
prefix. It shouldn't affect the standard workflow so I don't mind supporting it.
REP 132 only defines the format of a version number in each changelog section. It neither specifies how the information is retrieved from a repository nor mentions catkin_generate_changelog
. Therefore I don't see how it should / needs to be updated.
There no promise whatsoever that using tags in the form of vX.Y.Z
is supported in any other part of the toolchain. We are happy to take contributions if anyone would like to provide additional flexibility (assuming it is well thought through and has no conceptional or other downsides).
@dirk-thomas Then, do I understand correctly that catkin (not catkin_generate_changelog) only supports x.y.z version? If so, I can see developers would be confused when catkin_generate_changelog allows custom version format but catkin doesn't.
do I understand correctly that catkin (not catkin_generate_changelog) only supports x.y.z version?
What exact part in catkin
are you referring to? The package manifest is specified in another REP and implemented in catkin_pkg
. I am not sure what else in catkin
considers version numbers.
We tag all all releases with a v prefix and this is also already supported by bloom. As @dirk-thomas said that does not mean that the rep should also support this in the changelog.
Dirk Thomas notifications@github.com schrieb am Di., 23. Juni 2020, 19:33:
do I understand correctly that catkin (not catkin_generate_changelog) only supports x.y.z version?
What exact part in catkin are you referring to? The package manifest is specified in another REP and implemented in catkin_pkg. I am not sure what else in catkin considers version numbers.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ros-infrastructure/catkin_pkg/pull/291#issuecomment-648308203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZOQKHC4YO347YVUEVCIDRYDRPPANCNFSM4NAAMBPA .
This is not pretty but might help some other people who also want to use
catkin_generate_changelog
for repos where tags have av
prefix.