- Download and install Ruby, let the installer add Ruby to PATH when given the option.
- Download DevKit and install it following the DevKit quick-start.
- Download and install cmake and pkg-config following instructions detailed in this SO answer.
- Install
bundler
by runninggem install bundler
- Clone the pac repository to your local machine: git clone https://github.com/Praqma/Praqmatic-Automated-Changelog.git pac
- Optionally check-out the latest tag or a specific release tag if you don't want bleeding edge.
- Change directory to pac (the git clone) and run the command
bundle install
to install all the used Ruby Gems.
Open default_settings.yml
and replace the :task_systems:
block with the following:
:task_systems:
- :name: none
:regex:
- { pattern: '/(CS-\d+)/i', label: none }
:delimiter: '/,|\s/'
Disable the pdf generation under the :templates:
section:
- { location: templates/default_html.html, pdf: false, output: default.html }
Set the repository location to the misc
folder in the PAC project.
:repo_location: '...\Praqmatic-Automated-Changelog\misc'
In the above mentioned folder, create a sample repository containing one commit with the message CS-1
.
Run ruby pac.rb -d {current date}
using the date older than your above commit.
Inspect the generated default.md
file and check that it picked up the commit similar to this:
PAC id report
Referenced tasks
CS-1
• fb18f56:CS-1
Unreferenced commits