Name | ticketeer-freebsd JSON |
Version |
0.1.5
JSON |
| download |
home_page | None |
Summary | The FreeBSD binaries for ticketeer, commit message utility. |
upload_time | 2024-12-27 23:19:21 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT |
keywords |
git
hook
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Ticketeer [![Quality assurance](https://github.com/mishamyrt/ticketeer/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/mishamyrt/ticketeer/actions/workflows/quality-assurance.yaml) [![Coverage Status](https://coveralls.io/repos/github/mishamyrt/ticketeer/badge.svg?branch=main)](https://coveralls.io/github/mishamyrt/ticketeer?branch=main)
<img src="./docs/logo.svg" align="right" width="100" />
Utility to insert task ticket id into commit message.
- **Simple**. Does not need to be configured;
- **Environment agnostic**. Works with any platform that can run git;
- **Fast**. Won't slow down your commit process as actions are performed instantly.
## Installation
### go
```bash
go install github.com/mishamyrt/ticketeer@latest
```
### pnpm
```bash
pnpm add --save-dev ticketeer
```
### npm
```bash
npm install --save-dev ticketeer
```
### yarn
```bash
yarn add --dev ticketeer
```
## Usage
### Standalone
Ticketeer can be used as a standalone tool. To install hook, run:
```bash
ticketeer install
```
The utility will check for installed hooks and install its own.
### Runner
If you are already using runner hooks on your project and want to keep everything under their control, add a `ticketeer apply` call to your runner configuration.
#### [Lefthook](https://github.com/evilmartians/lefthook)
Add the following to your `lefthook.yml` file:
```yaml
prepare-commit-msg:
commands:
append-ticket-id:
run: ticketeer apply
```
If ticketeer is installed using NodeJS package manager, prefix command with your package manager runner, e.g. `pnpm ticketeer apply`, `yarn ticketeer apply` or `npx ticketeer apply`.
## Configuration
Ticketeer is configured by default to be as comfortable as possible for most, but the settings can be overridden. All options are optional (hehe), if you don't specify your own - default value will be used.
- `message`
- `location` - where to insert ticket id into commit message (`title` or `body`).
- `template` - template to use when inserting ticket id into commit message. Must include `{ticket}` variable.
- `ticket`
- `format` - format of ticket id (`numeric`, `alphanumeric`, `alphanumeric-small`, `alphanumeric-caps`).
- `allow-empty` - allow empty ticket id. If set to `false`, commit will be aborted if branch name doesn't contain ticket id.
- `branch`
- `format` - format of branch name (`git-flow`, `git-flow-typeless`, `ticket-id`).
- `ignore` - Additional list of branch names to ignore. Default value is `["main", "master", "develop", "dev", "release/*"]`.
Default configuration is as follows:
```yaml
message:
location: body
template: "{ticket}"
ticket:
format: alphanumeric-caps
allow-empty: true
branch:
format: git-flow
```
Raw data
{
"_id": null,
"home_page": null,
"name": "ticketeer-freebsd",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "git, hook",
"author": null,
"author_email": "Mikhael Khrustik <misha@myrt.co>",
"download_url": "https://files.pythonhosted.org/packages/57/3a/0e762a963afa10d42d15120f08cd05276026ff81925a841643799312a3fe/ticketeer_freebsd-0.1.5.tar.gz",
"platform": null,
"description": "# Ticketeer [![Quality assurance](https://github.com/mishamyrt/ticketeer/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/mishamyrt/ticketeer/actions/workflows/quality-assurance.yaml) [![Coverage Status](https://coveralls.io/repos/github/mishamyrt/ticketeer/badge.svg?branch=main)](https://coveralls.io/github/mishamyrt/ticketeer?branch=main)\n\n<img src=\"./docs/logo.svg\" align=\"right\" width=\"100\" />\n\nUtility to insert task ticket id into commit message.\n\n- **Simple**. Does not need to be configured;\n- **Environment agnostic**. Works with any platform that can run git;\n- **Fast**. Won't slow down your commit process as actions are performed instantly.\n\n## Installation\n\n### go\n\n```bash\ngo install github.com/mishamyrt/ticketeer@latest\n```\n\n### pnpm\n\n```bash\npnpm add --save-dev ticketeer\n```\n\n### npm\n\n```bash\nnpm install --save-dev ticketeer\n```\n\n### yarn\n\n```bash\nyarn add --dev ticketeer\n```\n\n## Usage\n\n### Standalone\n\nTicketeer can be used as a standalone tool. To install hook, run:\n\n```bash\nticketeer install\n```\n\nThe utility will check for installed hooks and install its own.\n\n### Runner\n\nIf you are already using runner hooks on your project and want to keep everything under their control, add a `ticketeer apply` call to your runner configuration.\n\n#### [Lefthook](https://github.com/evilmartians/lefthook)\n\nAdd the following to your `lefthook.yml` file:\n\n```yaml\nprepare-commit-msg:\n commands:\n append-ticket-id:\n run: ticketeer apply\n```\n\nIf ticketeer is installed using NodeJS package manager, prefix command with your package manager runner, e.g. `pnpm ticketeer apply`, `yarn ticketeer apply` or `npx ticketeer apply`.\n\n## Configuration\n\nTicketeer is configured by default to be as comfortable as possible for most, but the settings can be overridden. All options are optional (hehe), if you don't specify your own - default value will be used.\n\n- `message`\n - `location` - where to insert ticket id into commit message (`title` or `body`).\n - `template` - template to use when inserting ticket id into commit message. Must include `{ticket}` variable.\n- `ticket`\n - `format` - format of ticket id (`numeric`, `alphanumeric`, `alphanumeric-small`, `alphanumeric-caps`).\n - `allow-empty` - allow empty ticket id. If set to `false`, commit will be aborted if branch name doesn't contain ticket id.\n- `branch`\n - `format` - format of branch name (`git-flow`, `git-flow-typeless`, `ticket-id`).\n - `ignore` - Additional list of branch names to ignore. Default value is `[\"main\", \"master\", \"develop\", \"dev\", \"release/*\"]`.\n\nDefault configuration is as follows:\n\n```yaml\nmessage:\n location: body\n template: \"{ticket}\"\nticket:\n format: alphanumeric-caps\n allow-empty: true\nbranch:\n format: git-flow\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "The FreeBSD binaries for ticketeer, commit message utility.",
"version": "0.1.5",
"project_urls": null,
"split_keywords": [
"git",
" hook"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0442377c5a43dd005338df2568e4a965c9fdd00d47410cd2ef46bf4c1727c615",
"md5": "8d467040b3e79257b51554e91763d781",
"sha256": "06d5550eb19619fc59e46917e0fef62220e42ed7d3cc81cf45a1da9b0eb644d5"
},
"downloads": -1,
"filename": "ticketeer_freebsd-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8d467040b3e79257b51554e91763d781",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 2692,
"upload_time": "2024-12-27T23:19:19",
"upload_time_iso_8601": "2024-12-27T23:19:19.334139Z",
"url": "https://files.pythonhosted.org/packages/04/42/377c5a43dd005338df2568e4a965c9fdd00d47410cd2ef46bf4c1727c615/ticketeer_freebsd-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "573a0e762a963afa10d42d15120f08cd05276026ff81925a841643799312a3fe",
"md5": "2c9e7b6b644b44a2fbb34e63da987954",
"sha256": "c546e2b10cf0ade240128437024126fd312cfbbfaa9777a5d0337c54e6ae6176"
},
"downloads": -1,
"filename": "ticketeer_freebsd-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "2c9e7b6b644b44a2fbb34e63da987954",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2617,
"upload_time": "2024-12-27T23:19:21",
"upload_time_iso_8601": "2024-12-27T23:19:21.108943Z",
"url": "https://files.pythonhosted.org/packages/57/3a/0e762a963afa10d42d15120f08cd05276026ff81925a841643799312a3fe/ticketeer_freebsd-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-27 23:19:21",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ticketeer-freebsd"
}