Skip to main content

Conflict-Free Changelog manager

Project description

cf_changelog - Conflict-Free Changelog manager

Simple tool to support changelog modifications on different git branches without conflicts on merging. Written in python, installable with pip.

Usage

  1. Install it from pip:
pip install cf_changelog
  1. Create some changelog on different branches entries using:
cf_changelog add

It is required to run this from root of your repository. This will invoke standard text editor (or notepad/vim if standard editor is not configured), where you can fill a template with new features, bug fixes etc.

Windows example:

Windows_example of editor with changelog entry

This is simple yaml format. You can use as many types of entries as you wish (New, Bugfix, Changed, Fixed, etc.). Each type should contain a flat list. The most important thing is that you don't have to remember anything specific related to this tool, just fill in a template.

  1. Commit newly created files.
  2. Repeat 2 and 3 on different branches as many times as you need.
  3. Merge all branches.
  4. On merged branch run:
cf_changelog release X.Y.Z

where X.Y.Z is description of version you want to see in final changelog.

  1. Commit registered changes in git repository (by default: Changelog.md and changelog directory).
  2. Enjoy your updated changelog.

How it works

  • add command creates files with unique names by default in changelog/sources. Since file names are unique there will be no conflict on merge.
  • release command parses those "source" files and adds them on the begining of Changelog.md. Then copies "source" files to "archive" just to keep them in history. Those commands calls git add on created and modified files to remind you that you have to commit them.

Project status

  • Manual tests on Windows passed
  • Manual tests on Ubuntu passed

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cf_changelog-1.0.6.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

cf_changelog-1.0.6-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page