Skip to main content

Tool to provide task id, retrieved from branch name, right into commit message.

Project description

PyRust Task ID

PyRust Task ID MIT GitHub Actions Workflow Status

A written in Rust tool for Python programs that automatically pull task id from branch name to commit message.

Example

Let's imagine you have branch project_name/TASK-111-implement-feature and you need to provide the task TASK-111 into commit message.
Then you can just use this tool.

First, just add hook into .pre-commit-config.yaml:

-   repo: https://github.com/vanya909/pyrust-task-id-pre-commit
    rev: 0.1.5
    hooks:
    -   id: pyrust-task-id
        stages: [commit-msg]
        args:
        -   "project_name/(?P<task_template>TASK-[0-9]{3})-.*"
        -   "{subject}\\n\\n{body}\\n\\nTask ID: {task_id}"

Then run

pre-commit install --hook-type "commit-msg"

Then commit

git commit -m"My cool feature" -m"Can't wait to see this feature in prod."

And then you'll see following commit message:

My cool feature

Can't wait to see this feature in prod.

Task ID: TASK-111

This project uses standalone repo for pre-commit hook because it requires pre-build python wheels from PyPI

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

pyrust_task_id-0.1.5.tar.gz (10.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyrust_task_id-0.1.5-py3-none-win_amd64.whl (921.8 kB view details)

Uploaded Python 3Windows x86-64

pyrust_task_id-0.1.5-py3-none-win32.whl (838.8 kB view details)

Uploaded Python 3Windows x86

pyrust_task_id-0.1.5-py3-none-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

pyrust_task_id-0.1.5-py3-none-musllinux_1_2_i686.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

pyrust_task_id-0.1.5-py3-none-musllinux_1_2_armv7l.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

pyrust_task_id-0.1.5-py3-none-musllinux_1_2_aarch64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

pyrust_task_id-0.1.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

pyrust_task_id-0.1.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

pyrust_task_id-0.1.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

pyrust_task_id-0.1.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

pyrust_task_id-0.1.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

pyrust_task_id-0.1.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

pyrust_task_id-0.1.5-py3-none-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file pyrust_task_id-0.1.5.tar.gz.

File metadata

  • Download URL: pyrust_task_id-0.1.5.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.8

File hashes

Hashes for pyrust_task_id-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6e5acd0300e40783ddf4b77c90ceb2810e5391843dad85a18fcec5a05d2aa466
MD5 2fadd647b1ab2c453f06d7aac50118c0
BLAKE2b-256 97cd1f392f7c377b9ca79e1f7767b9135bc59de8732bf50a318a211051e76492

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2c5daad9549acff604c7ed67f8eaf00c805aae90cde1b64a3ff4ed42ce54ea43
MD5 c8800f9edfc804b55e3fae71747a3b0b
BLAKE2b-256 af844b57aca20efbe3ab10e8e063b1fcfcd2e59ace5be18657598ac569847264

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-win32.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 9b58fd80f94b5cfdf7f1efe321ec535367266804236ce95c92f206eca2284756
MD5 d3f3d6cf8ee5e3c0acf7ec570b317f49
BLAKE2b-256 d52686fd334c23ae4769323c309e969a83fc8b504691872e0bc464ee2b5db7fb

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c8a3b1d34395a4428a2f7aaa9c92a467e864072b4288c49417008087fc73b6ef
MD5 929f2b927454398a9ec98b278509578c
BLAKE2b-256 1b60b19a7fd82e2f2651b415dabbb3277ebdc39793b71cb00ec44a834909b4c0

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 46a5ae690f24bfe22e178021eb2901b03549fa560712c2bc64dc1fcc7b87204e
MD5 bb6940a9e49f94000f5377fe98d88aae
BLAKE2b-256 65bb13bad2f519327d27723016de5ab0466916103ebb83750a83ae4b5cc22d05

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 e35822066e2c9488b6832346b9e5b722b431569a999770ab63466c3edaadb38b
MD5 b84f4930f4bc16faa205714910c11519
BLAKE2b-256 fb24ce3d3e4a1ec6c584d918d9d6317431714d5c533c704e2b96543bb381cda8

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e087ea0e034047c0b02bb76ac765cab828a8d0f68cd9e24027ea6bf72862207d
MD5 7755522fa587d0764fc22dcbb94611b9
BLAKE2b-256 87968fb5e3d1b79572be710e4f52fa9ebfba3520ee549d44a3104eca194c45e0

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7dba6ec08dead0b7fd7baf0bc5e4937234a983fd14b2781c8829eb42bc2f5e1
MD5 d0435717b5d5e186f70a400f51d1a415
BLAKE2b-256 4b8748ec1d5558c31f5d966b23c99f8729f98824701177e25912f059da1b6809

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 fa5734a7720cc87ec6aad878c244d5abdf2b1d3c162e8bc0620bf0a3cac551ab
MD5 00786f4b77eb13d3e682bf4ff0d3ddea
BLAKE2b-256 4cd1a03d54176e894091b20aa030d3e724b7d8fc9b05640f6e8b2922a12a2087

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 fd7b5444cba31b115efcc8abc5a4e983f9d7ef04bfc79eaae3568e7949b4b15b
MD5 73998f23d376434a9ed0553f751ab149
BLAKE2b-256 d289795e6b71eb7ad82861b5331b83063fc3471201962d969c39fb2ce287484a

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3e2a9bac3561ff0fdfe76678d5b363a1e0222fc25c136d294859bbebef66612d
MD5 2f22e18041df0ac8de538b10b341cb68
BLAKE2b-256 c6e9a0bc51aa084b51d06a3f57e11d597c80d864fb9488d9be13eebf3240a8e6

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 aad71bf7c56377e9aba9bb94a3cc76907122371608340aa4706364edebe7f054
MD5 70ceb0dfe452d948201e10ea0a95b298
BLAKE2b-256 036d142fa4444c1b1289abdd44591b5992c10f00eee6d287dd069163a2c38179

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9f660f6241db1141a5f3be9fb1ecb5745b2836308d51753424375d976a081be5
MD5 833df7ebdc634d3fbfff2367f1b2a356
BLAKE2b-256 890c1245b3060b8c08a5267965cc8e9222e6ad43c4766abb2aa07aec03980e85

See more details on using hashes here.

File details

Details for the file pyrust_task_id-0.1.5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyrust_task_id-0.1.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8ff85a8fe53e0cd1879ce04fe2bd8e82ded53457f748bbe763a20373f42d13d0
MD5 6478f4d5e26eafdc05ac05d0ca43f3e0
BLAKE2b-256 6e68447e83bffb13745d2721553559e96e2f7c97cd391058275e217e1d11b0aa

See more details on using hashes here.

Supported by

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