reconstruct-changelog: Gather the "* Drop" commits

Bug #1884861 reported by Bryce Harrington
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
git-ubuntu
New
Wishlist
Unassigned

Bug Description

`git ubuntu merge finish` will run reconstruct-changelog to generate the debian/changelog entry for merges. One workflow style used by the team is to create empty commits for dropped changes, so that entries get created for them in the changelog. These commits should then be added under a " * Dropped:" section at the end of the changelog.

This can be achieved manually by rebasing the git history and move all the dropped commits to the end, with the first of this set given a commit message that starts with " * Dropped:". This is an effective workaround, but has the downside that it loses the historical ordering, and it requires some care to make sure the commits remain in proper order.

A different convention, used by those who don't rely on the automatic debian/changelog generation, is to mark all the dropped commits with " * Dropped:" or similar, and then using them to inform the manual writing of the changelog entry. So, one approach might be to simply scan for commits beginning with this string (and similar ones) and when generating the changelog, strip that out and gather those commits at the end after a " * Dropped:" label.

Bryce Harrington (bryce)
Changed in usd-importer:
importance: Undecided → Wishlist
Bryce Harrington (bryce)
summary: - merge finish: Gather the "* Drop" commits
+ reconstruct-changelog: Gather the "* Drop" commits
Bryce Harrington (bryce)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.