Tool for creating automated, but pragmatic, changelogs.
PAC collects task references from SCM commit messages and creates changelog reports with additional information extracted from other systems, like your task management system. Compared to other changelog solutions, PAC is very flexible and customizable. The design allows you to solve the problems of having an unchangeable SCM commit history with incorrect task references.
You'll need to have some commits that reference tasks in one way or another, otherwise your changelog will look rather dull. It could be Jira issues: "Closing PAC-1337 change help text" or "PAC-1042: Fixed bug in date resolver".
To start generating changelogs you'll need to:
This is an example of a simple configuration file. It collects task references from commits using the configured regex and create a changelog based on the configured template. This simple example do not extract data from task systems.
:general:
:templates:
- { location: templates/default_id_report.md, output: ids.md }
:task_systems:
-
:name: none
:regex:
- { pattern: '/PAC\-(\d+)', label: none }
:vcs:
:type: git
:repo_location: '.'
More about configuration in Configuration.
Help writing regexp using Ruby IRB see this litle howto: Howto write regexp using IRB
This example template simply lists the discovered issues as headers in a Markdown file.
# {{title}}
{% for task in tasks.none %}
## {{task.task_id}}
{% endfor %}
More about templates in Templates.
Basic usage examples for the PAC Ruby script, run PAC with the --help
parameter for usage explanation.
Detailed instructions can be found in Installing PAC on Windows.
For details on design and development info see Developer information
See also contributing file.