Skip to main content

CLI for facilitate and standardize commit message.

Project description

cliks

CLI for facilitate and standardize commit message.

Format:

ACTION(TOPIC): COMMIT_MSG #TICKET_NUM [!TAG ...]

ACTION:

  • feat: is for new features, big improvement
  • fix: is for bug fixes
  • refactor: is for code refactoring, without any visual user change
  • chore: is for any else but the app
  • test: is for any kind of tests (functionnal, unitary...)
  • style: is for cosmetic changes (spaces vs tab...)
  • docs: is for documentation

TOPIC

is optional and to specify the part on the app you're working on is WHO is concerned by the change.

  • dev: is for developpers (API changes, refactors...)
  • usr: is for final users (UI changes)
  • pkg: is for packagers (packaging changes)
  • test: is for testers (test only related changes)

COMMIT_MSG

is ... well ... the commit message itself.

#TICKET_NUM

is the ticket number associated. If you don't want to specify a ticket number, use:

  • #noticket; or
  • #nt

TAGs

Are additionnal adjective as 'refactor' 'minor' 'cosmetic'. They are preceded with a '!' or a '@' (prefer the former, as the latter is wrongly interpreted in github.) Commonly used tags are:

  • refactor: is obviously for refactoring code only
  • minor: is for a very meaningless change (a typo, adding a comment)
  • cosmetic: is for cosmetic driven change (re-indentation, 80-col...)
  • wip: is for partial functionality but complete subfunctionality.

Example:

  • git commit -m "feat(ansible): adding configuration with common roles #INF-4"
  • git commit -m "fix(docker): disabling systemd and installing sysvinit #noticket"
  • git commit -m "docs(): removing unwanted files on the doc #noticket"
  • git commit -m 'Please note that multi-line commit message are supported, and only the first line will be considered as the "summary" of the commit message. So tags, and other rules only applies to the summary. The body of the commit message will be displayed in the changelog without reformatting.'

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

cliks-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

cliks-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file cliks-0.1.1.tar.gz.

File metadata

  • Download URL: cliks-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for cliks-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c6622431d919ebc2444e26dc8728f3c5b0fd8d2c09bcc07133b8a0943185ab20
MD5 ba65f7d3805239440d663ba6944f29f8
BLAKE2b-256 6993f990e15da89784af8fbf7e8058ed0754956bf9c5abf703e07fc9f8d0aa8a

See more details on using hashes here.

File details

Details for the file cliks-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cliks-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for cliks-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef83a3b66d22376b8aaca5db9b94b3bced2ac7cf323a4a6e44a78e2237a4426
MD5 8bacd521d05bfff8b1d696a0e53e504f
BLAKE2b-256 5407976f95578a5630e8c7b8f215baeaee3ac303fcb3ea2f36547e942d567b16

See more details on using hashes here.

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