ticketeer-windows


Nameticketeer-windows JSON
Version 0.1.5 PyPI version JSON
download
home_pageNone
SummaryThe Windows binaries for ticketeer, commit message utility.
upload_time2024-12-27 23:19:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT
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-windows",
    "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/bf/fe/d7cf5f8d6c89ef785e1505f6695351c9c7fc009290871fce627172730712/ticketeer_windows-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 Windows binaries for ticketeer, commit message utility.",
    "version": "0.1.5",
    "project_urls": null,
    "split_keywords": [
        "git",
        " hook"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62ab3eaefd04ed7ed3da274b6cd6b785f8f7448665ae4e685550d48116d7ce0b",
                "md5": "1a4fd199002767b348d5f3ad9747f3ad",
                "sha256": "cd9257c30665d87bfcbab8089dfaee8e85d0a8f81d20406bcc31a1167d3fe605"
            },
            "downloads": -1,
            "filename": "ticketeer_windows-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1a4fd199002767b348d5f3ad9747f3ad",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2686,
            "upload_time": "2024-12-27T23:19:42",
            "upload_time_iso_8601": "2024-12-27T23:19:42.387946Z",
            "url": "https://files.pythonhosted.org/packages/62/ab/3eaefd04ed7ed3da274b6cd6b785f8f7448665ae4e685550d48116d7ce0b/ticketeer_windows-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bffed7cf5f8d6c89ef785e1505f6695351c9c7fc009290871fce627172730712",
                "md5": "092996dddbdb42433fb5edebab74eb60",
                "sha256": "57b2057aa0c201fc2b4e20e1a516f008bef9bee9c040967012e44c30c7f960b7"
            },
            "downloads": -1,
            "filename": "ticketeer_windows-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "092996dddbdb42433fb5edebab74eb60",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 2626,
            "upload_time": "2024-12-27T23:19:45",
            "upload_time_iso_8601": "2024-12-27T23:19:45.741502Z",
            "url": "https://files.pythonhosted.org/packages/bf/fe/d7cf5f8d6c89ef785e1505f6695351c9c7fc009290871fce627172730712/ticketeer_windows-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-27 23:19:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ticketeer-windows"
}
        
Elapsed time: 0.37995s