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

Templates for others formats ? #24

Open
vaab opened this issue Nov 27, 2014 · 2 comments
Open

Templates for others formats ? #24

vaab opened this issue Nov 27, 2014 · 2 comments
Labels

Comments

@vaab vaab added the feature label Mar 26, 2015
@i30817
Copy link

i30817 commented Jul 10, 2015

Really hurting for a git log produced debian style changelong that passes lintian and allows tag 'since' (so i can pretend my horrible commit history doesn't exist).

Before the great googlecode crash i used hg and a template file (because hg has that inbuilt unlike certain other software) and it even had inbuilt substitution tags like ({latesttag}.{latesttagdistance}) where latesttagdistance is the number of commits since the last tag (so a effective minor or patch version).

Since you're already dabbling in metadata with !minor and such - even if not so programmable - i thought you might be interested in this idea.

@vaab
Copy link
Owner Author

vaab commented Apr 24, 2017

Sorry for the late answer. Of course I had read your post when you posted it but hadn't any things to add then, and I wasn't so sure what you were talking about. Sorry about that :).

Let me start by thanking you for the ideas. FYI, you might have noticed that gitchangelog supports revlist argument (parsed by git revlist) that allows to ask for the changelog "since" a specific commit... Not sure this was what you meant in your first paragraph.

For your second point about inbuilt substitution tags, git describe --tags does this pretty well. And, since 3.0.0 you can use it to replace the unreleased version label... (in other words, the version title used in the changelog for recent commits above the last tagged commit).

I understand that you miss a debian style changelog template. Wouldn' t you be ready to throw us a quick file (a mustache or mako template) so we could include that ?

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

No branches or pull requests

2 participants