Closed Bug 1242425 Opened 8 years ago Closed 8 years ago

Add Changelog generation for releases

Categories

(Hello (Loop) :: Client, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Iteration:
47.1 - Feb 8

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

For releases, I think its going to be really useful and clear if we have a changelog generation system in place. Otherwise, the only easy way is via the command line, which isn't so convenient.

I've found https://pypi.python.org/pypi/gitchangelog which gives a reasonable changelog even if it possibly isn't the best, but it should be a good start.
Comment on attachment 8711632 [details] [review]
[loop] Standard8:bug-1242425-changelog > mozilla:master

The .gitchangelogrc is based off the sample one, but with a few modifications to recognise the "Bug xxx" format, and "Chore(package)" format. The Chore one is used in the greenkeeper requests we get.

You can test the output using `make update_version`, just be aware that it git adds the changed files, so you'll need to do `git diff --cached`.

There's also an example output file I put here:

https://github.com/Standard8/loop/blob/805ac65ec44bf3957903dd40527d4ccff5f36621/CHANGELOG.md

Note that version is incorrect (it'd be 0.1.0 probably), and it has all the changes from the history that we've landed in the repo. Newer releases will have a much smaller set.
Attachment #8711632 - Flags: review?(edilee)
Attachment #8711632 - Flags: review?(dcritchley)
Attachment #8711632 - Flags: review?(crafuse)
Comment on attachment 8711632 [details] [review]
[loop] Standard8:bug-1242425-changelog > mozilla:master

I've just discovered this isn't working the way I expected :-(

Not sure why yet.
Attachment #8711632 - Flags: review?(edilee)
Attachment #8711632 - Flags: review?(dcritchley)
Attachment #8711632 - Flags: review?(crafuse)
Comment on attachment 8711632 [details] [review]
[loop] Standard8:bug-1242425-changelog > mozilla:master

Fixed it, sorry about that. I'd missed changing the regexp for the version tag in the rc file.
Attachment #8711632 - Flags: review?(edilee)
Attachment #8711632 - Flags: review?(dcritchley)
Attachment #8711632 - Flags: review?(crafuse)
Attachment #8711632 - Flags: review?(edilee)
Attachment #8711632 - Flags: review?(dcritchley)
Comment on attachment 8711632 [details] [review]
[loop] Standard8:bug-1242425-changelog > mozilla:master

Looks good.
Attachment #8711632 - Flags: review?(crafuse) → review+
https://github.com/mozilla/loop/commit/277e2345355e1dc5e9aa9dd803ed9f938ce06f51
Status: NEW → RESOLVED
Iteration: --- → 47.1 - Feb 8
Closed: 8 years ago
Rank: 18
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: