Skip to content

Portchain/brail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brail is a command-line tool for release management

For users

Installing brail

  • pip3 install brail

Adding brail to a project

  • Create a record directory for storing brail records, e.g. docs/brail
  • Add a .brailconf configuration file in the repository root, e.g:
{
  "record_dir": "docs/brail"
}

Configuring an editor

  • Add a .brailconf configuration file in your home directory
  • Specify the editor in .brailconf, e.g:
{
  "editor": "vim"
}

Command-line usage

  brail config                Show config

  brail feat                  Create a feature record
  brail feat -m <message>     Create a feature record with a message
  brail fix                   Create a bugfix record
  brail manual                Create a manual step record

  brail edit <record-id>      Edit a record
  brail delete <record-id>    Delete a record
  
  brail diff                  Compare HEAD to the default comparison directory
  brail diff <base>           Compare HEAD to the <base> branch
  brail diff <target> <base>  Compare <target> to the <base> branch

For developers

Running unit tests

python3 -m unittest discover

Running integration test

integration_test/test.sh

About

Command-line release management tool

Resources

Stars

Watchers

Forks

Packages

No packages published