Message197625
Attached is my rough attempt at a script to auto-generate Misc/NEWS from commit logs. Key points:
- Works from the hg log in XML format as dumped to a file
- Considers a commit newsworthy if it isn't a merge and either has an issue number or has an "interesting" path (e.g. not an HTML file) and details (i.e. the stuff after a \n\n)
- Uses paths in the commit to determine what category the commit belongs to
Decisions to make:
- How to exactly flag a commit should not be in NEWS (I say it doesn't contain "#\d+:" to signify an issue and lacks any details after a \n\n)
- How often to run (e.g. at release time, anyone, post-commit hook, etc.) |
|
Date |
User |
Action |
Args |
2013-09-13 18:45:22 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, orsenthil, pitrou, ezio.melotti, r.david.murray |
2013-09-13 18:45:22 | brett.cannon | set | messageid: <1379097922.51.0.797550779584.issue18967@psf.upfronthosting.co.za> |
2013-09-13 18:45:22 | brett.cannon | link | issue18967 messages |
2013-09-13 18:45:22 | brett.cannon | create | |
|