Comments (5)
Thanks for your interest.
gitchangelog
uses tags set in your git repository (with git tag
) as version number. You can filter unwanted tags and select those that should be used for changelog generation thanks to a regular expression (named tag_filter_regexp
) that you can modifiy via the config file. (see .gitchangelog.rc
). The provided default configuration will use only git tags that follows the convention "X.Y" or "X.Y.Z", with X, Y, and Z being numbers.
gitchangelog
will start from current checked out commit (named also HEAD
) and go down the history, following first-parent commits in case of merge commits that can have several parents. Whenever it encounters a tagged commit which tag name matches the tag_filter_regexp
it'll use it as a version in the final changelog...
Do this answers your questions ? If yes, what part wasn't clear in the README.rst
that I could improve ?
If this doesn't answer your question, could you be more specific on what information you try to get ?
NOTE: this answer was updated to try to be more clear. If this answers seems clear enough it'll be integrated in the README.rst
from gitchangelog.
ah i see. so it has to be added as (0.1.0) for instance at the end of the commit message to get the version to show up.
from gitchangelog.
Nope, please read documentation of git tag
. Git changelog use them and won't parse the commit message to find tags.
I've edited my first answer to try to be more specific and clear. Please tell me if this is more clear for you now.
from gitchangelog.
ah i see. yes now it makes sense thanks. i just tried adding the v? on the regex and it seems to be working now.
from gitchangelog.
You're welcome. Thanks for your feedback.
from gitchangelog.
Related Issues (20)
- setup.cfg contains ascii characters HOT 4
- [WinError 2] The system cannot find the file specified HOT 3
- ignore_regexps doesnt match against whole message, only subject
- regexp filter skipping matches
- Added an AUR package.
- Update Readme to include basic full example. HOT 2
- Exception with FileInsertIntoFirstRegexMatch HOT 2
- pystache missing as dependency? HOT 2
- UnicodeEncodeError character maps to undefined HOT 7
- Support for pre-commit
- How to show changelog since certain commit? HOT 1
- Use branch name for section categorisation HOT 1
- test failures caused by 3.0.4 package missing test/__init__.py
- Is this project still maintained ? HOT 2
- Slow execution on big repositories under Cygwin HOT 8
- Enhancement Request: Multi-package repo support HOT 1
- Request: drop d2to1
- Offering to help with the project HOT 6
- Branch tags are erroneously included into change log
- Changelog usage?
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 gitchangelog.