Comments (11)
@aquette: what are the priorities for the ChangeLog? Full GNU standards compliance? Match the same format as before?
Also, now that the Git commit messages have a summary line at the top, do we want the full commit text, or just the summary and the list of files?
How far back do we want to go?
I'm looking at a few options:
- http://savannah.nongnu.org/git/?group=git2cl is probably closest to the GNU standard, but it includes the entire commit message.
- https://github.com/cryos/avogadro/blob/master/scripts/gitlog2changelog.py is similar, but the formatting seems off.
- https://github.com/buildbot/buildbot/blob/master/master/contrib/generate_changelog.py uses the short log message, but would need some formatting help as well.
I'm open to other suggestions.
from nut.
@clepple: the same format suits me fine, especially when it comes to making
new releases ;)
that said, the aim of ChangeLog is to provide a detailed view, completing
the Release note (NEWS file).
but I'm not 100 % decided on my side.
if you think the short version is worth, we can have a 2 levels mechanism,
that provides just sum. lines + a target (ChangeLog-full for example) that
provides a full version.
samples output may help deciding finally.
bounce...
from nut.
@aquette see https://gist.github.com/clepple/5030209 for the long format.
Still working out why it drops some of the entries that show up in the log output. If I don't waste too much time tracking that down, I'll look at shortening it.
from nut.
@clepple: https://gist.github.com/clepple/5030209 looks great!
from nut.
Hmm, some files are still missing. I'm going to switch to another script.
from nut.
Files or entries?
(sent from my S3... please excuse my brevity)
Le 26 févr. 2013 04:23, "clepple" [email protected] a écrit :
Hmm, some files are still missing. I'm going to switch to another script.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-14090422
.
from nut.
Changelog entries. I was still shaking my head over the fact that the script matches the word "files" to get the end of the list of changed files.
from nut.
@clepple: what would be great is to be able to pass the base-revision arg from the Makefile call, as with svn before.
that way, things are less scattered.
from nut.
@aquette just the base revision, right?
I can't think of why we would want to do anything other than base..HEAD in the 'git log' command line.
Also note that I kept the feature of the original gitlog2changelog.py where it ignores merge commit messages, and just looks at the changes on either side of the merge. It puts a little more emphasis on the branch commit messages, but if it's a clean merge, there shouldn't be any extra information in the merge commit itself. And if people really care, they can always look at the full Git history.
from nut.
2013/2/28 clepple [email protected]
@aquette just the base revision, right?
right
I can't think of why we would want to do anything other than base..HEAD in
the 'git log' command line.
so do I, at least not part of the present scope.
Also note that I kept the feature of the original gitlog2changelog.py
where it ignores merge commit messages, and just looks at the changes on
either side of the merge. It puts a little more emphasis on the branch
commit messages, but if it's a clean merge, there shouldn't be any extra
information in the merge commit itself. And if people really care, they can
always look at the full Git history.
suits me fine
thx
from nut.
I should have written "Fixes #4" in the commit message for b00e1df. Closing this issue.
from nut.
Related Issues (20)
- NUT-server randomly loses connection to UPS (varying ~1 hour up to ~23 hours) HOT 4
- Epyc Neon 650 HOT 1
- Riello IDG1200 Partial Data HOT 7
- Impossibile avviare HOT 1
- Maths puzzle: revise Liebert/Belkin USB HID parsing for line voltage orders of magnitude and don't loose track of zeroes HOT 10
- Update Eaton MIBs 9PX - M2 network card HOT 2
- Bluewalker VI 3000 SCL nutdrv_qx is no longer working at version 2.8.0 HOT 2
- Add PeaNUT to related projects
- Installation Guide with SNMP HOT 1
- Summary PowerWalker VFI 3000 CG PF1 HOT 10
- blazer_usb failing after apt-get upgrade HOT 4
- Support of linux hwmon (ina219) HOT 1
- Issues with Bookworm and NUT upscode2 > 2.7.4 HOT 9
- usbhid-ups: Eaton battery.voltage value is missing
- Invalid signature on nut-2.8.2 HOT 20
- CI: Add a test case for NUT with musl libc implementation (and non-fatally, a recent collectd source for good measure)
- CPS FAQ - quick discharge (from IRC)
- [HCL] APC Back-UPS RS 1200 aka APC Back-UPS Pro 1200VA/720W (NUT 2.8.2)
- blazer_usb:how display battery.runtime on NUT HOT 10
- Driver riello_ser have the same issue #1685 of riello_usb about battery capacity and runtime HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nut.