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

Generate HISTORY.md #165

Open
astorije opened this issue Mar 11, 2015 · 8 comments
Open

Generate HISTORY.md #165

astorije opened this issue Mar 11, 2015 · 8 comments

Comments

@astorije
Copy link
Member

Now that Specberus is on npm, publishing a new version is simply a matter of running npm version (major|minor|patch).

That'd be even better if this command (or an additional one, if necessary) would generate a HISTORY.md file based on the git history. Some of those out there really look alike and I am wondering if it exists a cool tool to do that. I very quickly looked for one myself for a personal project without any success.

@darobin, would you be aware of anything?

@darobin
Copy link
Member

darobin commented Mar 12, 2015

I know there are tools that do this, I've seen people talk about them, but I don't remember what they're called. I never read the history (or if I need to I just read the commit log) so I never paid much attention to this.

@astorije
Copy link
Member Author

Well, if you happen to remember some names, that'd be helpful :)
Too bad the tag/release view on GitHub doesn't let us view the according commits between 2 tags for example (when tags happen to be on the same branch).

@tripu
Copy link
Member

tripu commented Mar 16, 2015

Getting this automated history of changes, based on Git log, would be good, no doubt.

However, I find that dumping git log generates a dry, robotic changelog, and there would be too much noise, with cryptic or irrelevant commits. What I'd like to show users of the system (and what I like to see often as a user) is more a human-readable, generic account of changes. That should include things that git log won't show, eg “we edited the wiki to reflect this and that”, including hyperlinks to relevant resources. In a word, it's the changelog I'd like to read on a message to a mailing list.

So, this issue is worth investigating — but I think there's still a good case to be made for “manual” changelogs from time to time, like the last one I suggested for Echidna.

@astorije
Copy link
Member Author

Understandable, but wiki editions are separate from the system. Reporting this as a change on the system's version is bit awkward IMO. When there is a change in the wiki that reflects a change in the system however, then the commits will show then anyway. And it also forces one to submit relevant commit messages, which is a good thing because no one wants cryptic commit messages anyway.

There might be an in-between version of this, because again this is speculative as I haven't found a solution so far.

However, 👎 to an HTML version in the index and 👍 to a separate Markdown file.

@marcoscaceres
Copy link
Member

I've been using this for ReSpec:
https://github.com/skywinder/github-changelog-generator

It's pretty good. E.g.,:
https://github.com/w3c/respec/blob/develop/CHANGELOG.md

There might be better tools tho.

@tripu
Copy link
Member

tripu commented Aug 29, 2016

Hum, that is nice, @marcoscaceres.

@marcoscaceres
Copy link
Member

You should check for other ones too. I'm going to try to dig up some based on semver. I'm using this one on a different project:

https://www.npmjs.com/package/standard-version

I only just started using that one above, but here is some output:
https://github.com/WICG/starter-kit/blob/master/CHANGELOG.md

@marcoscaceres
Copy link
Member

I use "standard-version" because it's NPM compatible. The github-log-generator is not on NPM, which kinda sucks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants