Skip to content

Commit

Permalink
new: dev: Releasing 0.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Apr 17, 2016
1 parent 5fef61c commit 215e1a8
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .gitchangelog.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
ignore_regexps = [
r'@minor', r'!minor',
r'@cosmetic', r'!cosmetic',
r'@refactor', r'!refactor',
r'@wip', r'!wip',
r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*[p|P]kg:',
r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*[d|D]ev:',
r'^(.{3,3}\s*:)?\s*[fF]irst commit.?\s*$',
]

section_regexps = [
('New', [
r'^[nN]ew\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
]),
('Changes', [
r'^[cC]hg\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
]),
('Fix', [
r'^[fF]ix\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
]),

('Other', None ## Match all lines
),

]

body_process = ReSub(r'((^|\n)[A-Z]\w+(-\w+)*: .*(\n\s+.*)*)+$', r'') | strip

subject_process = (strip |
ReSub(r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n@]*)(@[a-z]+\s+)*$', r'\4') |
ucfirst | final_dot)

tag_filter_regexp = r'^[0-9]+\.[0-9]+(\.[0-9]+)?$'

unreleased_version_label = "%%version%% (unreleased)"

output_engine = rest_py

include_merge = True
21 changes: 21 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,24 @@ files to ``.git/hooks`` to use the hooks.
For example, to use the ``commit-msg`` hook, copy ``./hooks/commit-msg`` and
``./hooks/commit_message.py`` to your local git repo hooks folder located in
``.git/hooks`` from your repo root folder.

Changelog
=========

0.1.0 (2016-04-17)
------------------------

New
~~~

- Add license. [Diego Hurtado]

The license for this project was defined as show in the LICENSE
file.

- Add the README. [Diego Hurtado]

The commit-msg hook is ready for use. Instructions on how to
use were added in the README.


0 comments on commit 215e1a8

Please sign in to comment.