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

Add Changelogs and bump version to 0.1.0 #21

Merged
merged 3 commits into from
Nov 6, 2023
Merged

Add Changelogs and bump version to 0.1.0 #21

merged 3 commits into from
Nov 6, 2023

Conversation

Yadunund
Copy link
Member

@Yadunund Yadunund commented Nov 6, 2023

This PR adds Changelogs to all the pkgs here and bumps the versions to 0.1.0 (0.0.1 is reserved for humble version of the pkgs).

Once this PR is merged, I will tag the latest commit as 0.1.0.

nexus_capabilities/CHANGELOG.rst Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the changelogs be auto generated? If so, we need a guideline on how to write commit messages. If not, we need a guideline on how to write the changelogs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changelogs are generated using ros-infrastructure tooling such catkin_generate_changelogs and catkin_prepare_release (the latter will automatically bump pkg versions and update the changelog with the newly tagged version.
In the future when we run catkin_generate_changelogs, it will automatically populate the CHANGELOG.rst file with any new commits since the last tag and use the commit message as the description.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a REP on writing commit messages?

with any new commits since the last tag and use the commit message as the description

What if I have commits that does not deserve a change log? e.g. Updating github actions, cleanups etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there is REP on writing commit messages as this is upto the discretion of the package maintainers across the community.

What if I have commits that does not deserve a change log? e.g. Updating github actions, cleanups etc.

It's totally upto the package maintainers whether to include these changes or not in the changelogs. To be clear you will not have to update the Changelog everytime a PR is merged. Periodically when we want to bump the version, we will run catkin_generate_changelogs and then we still have the freedom to modify/remove any entires the tool auto-populates before committing the changes. This how it is done for core ROS 2 pkgs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, though imo this process can be improved. Most change log management tools analyzes commit messages to determine if they should be included in the changelogs, and what category is the change (bug fixes, new features). I thought the ROS tools would have commit message formats to support those things as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that would be a valuable addition to REP 132 which can motivate changes to catkin_generate_changelogs.

@Yadunund Yadunund requested a review from koonpeng November 6, 2023 08:03
@Yadunund Yadunund merged commit 60413ca into main Nov 6, 2023
1 of 2 checks passed
@Yadunund Yadunund deleted the yadu/0.1.0 branch November 6, 2023 08:34
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

Successfully merging this pull request may close these issues.

2 participants