{"id":13689201,"url":"https://github.com/milin/giticket","last_synced_at":"2026-05-29T00:00:56.132Z","repository":{"id":46084307,"uuid":"163879686","full_name":"milin/giticket","owner":"milin","description":"Utility to autoadd ticket number specified in your branch name to your commits!","archived":false,"fork":false,"pushed_at":"2026-05-14T20:57:14.000Z","size":78,"stargazers_count":84,"open_issues_count":5,"forks_count":21,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-14T21:41:18.808Z","etag":null,"topics":["agile","commits","git","jira","precommit","tickets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milin.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-01-02T19:12:49.000Z","updated_at":"2026-05-14T20:56:54.000Z","dependencies_parsed_at":"2024-11-12T13:38:31.854Z","dependency_job_id":"51d769db-ac12-49b6-9148-8d09f87b5108","html_url":"https://github.com/milin/giticket","commit_stats":{"total_commits":67,"total_committers":10,"mean_commits":6.7,"dds":0.5373134328358209,"last_synced_commit":"d1a1d9787e5f7a8ce4c840c47354c7d8c697fc0b"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/milin/giticket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milin%2Fgiticket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milin%2Fgiticket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milin%2Fgiticket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milin%2Fgiticket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milin","download_url":"https://codeload.github.com/milin/giticket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milin%2Fgiticket/sbom","scorecard":{"id":647178,"data":{"date":"2025-08-11","repo":{"name":"github.com/milin/giticket","commit":"c990da10300abd8fa8588ff25be6d8073d87317a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":3,"reason":"Found 6/20 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T12:26:15.940Z","repository_id":46084307,"created_at":"2025-08-21T12:26:15.940Z","updated_at":"2025-08-21T12:26:15.940Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33630999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agile","commits","git","jira","precommit","tickets"],"created_at":"2024-08-02T15:01:37.870Z","updated_at":"2026-05-29T00:00:56.125Z","avatar_url":"https://github.com/milin.png","language":"Python","funding_links":[],"categories":["git"],"sub_categories":[],"readme":"========\ngiticket\n========\n\n.. image:: https://api.star-history.com/svg?repos=milin/giticket\u0026type=Date)](https://star-history.com/#milin/giticket\u0026Date\n\n.. image:: https://img.shields.io/pypi/v/giticket.svg\n        :target: https://pypi.python.org/pypi/giticket\n\n.. image:: https://travis-ci.com/milin/giticket.svg?branch=master\n        :target: https://travis-ci.org/milin/giticket\n\n.. image:: https://readthedocs.org/projects/giticket/badge/?version=latest\n        :target: https://giticket.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n\n\n\nAuto add ticket info to your git commits.\n\n\n* Free software: MIT license\n* Documentation: https://giticket.readthedocs.io.\n\n\nFeatures\n--------\n\nThis hook saves developers time by prepending ticket numbers to commit-msgs.\nFor this to work the following two conditions must be met:\n   - The ticket format regex specified must match, if the regex is passed in.\n   - Unless you use ``regex_match`` mode, the branch name format must be \u003cticket number\u003e_\u003crest of the branch name\u003e\n\nFor e.g. if you name your branch ``JIRA-1234_awesome_feature`` and commit ``Fix some bug``, the commit will be updated to ``JIRA-1234 Fix some bug``.\n\nPass ``--regex=`` or update ``args: [--regex=\u003ccustom regex\u003e]`` in your .yaml file if you have custom ticket regex.\nBy default it's ``[A-Z]+-\\d+``.\n\nPass ``--format=`` or update ``args: [--format=\u003ccustom template string\u003e]`` in your .yaml file if you have custom message replacement.\nBy default it's ``'{ticket} {commit_msg}``, where ``ticket`` is replaced with the found ticket number and ``commit_msg`` is replaced with the original commit message.\n\nPass ``--mode=`` or update ``args: [--mode=regex_match]`` in your .yaml file to extract ticket by the regex rather than relying on branch name convention.\nWith this mode you can also make use of ``{tickets}`` placeholder in ``format`` argument value to put multiple comma-separated tickets in the commit message in case your branch contains more than one ticket.\n\nPass ``--capitalize`` or ``--capitalize=N`` to capitalize the first ``N`` characters of the resulting commit message. When passed without a value, defaults to capitalizing the first character (``--capitalize=1``).\n\nPass ``--to_trailer`` to append the ticket(s) as a `git trailer \u003chttps://git-scm.com/docs/git-interpret-trailers\u003e`_ at the bottom of the commit message instead of modifying the subject line. For example, committing on branch ``JIRA-1234_awesome_feature`` will append::\n\n    Refs: JIRA-1234\n\nPass ``--trailer_token=`` to customise the trailer key written by ``--to_trailer``. Defaults to ``Refs``. For example, ``--trailer_token=Fixes`` produces::\n\n    Fixes: JIRA-1234\n\nIt is best used along with pre-commit_. You can use it along with pre-commit by adding the following hook in your ``.pre-commit-config.yaml`` file.\n\n::\n\n    repos:\n    - repo:  https://github.com/milin/giticket\n      rev: v1.92\n      hooks:\n      - id:  giticket\n        args: ['--regex=PROJ-[0-9]', '--format={ticket} {commit_msg}']  # Optional\n\nAlternatively, to append tickets as a trailer instead of modifying the subject line:\n\n::\n\n    repos:\n    - repo:  https://github.com/milin/giticket\n      rev: v1.92\n      hooks:\n      - id:  giticket\n        args: ['--to_trailer', '--trailer_token=Refs']  # --trailer_token is optional, defaults to Refs\n\n\nYou need to have precommit setup to use this hook.\n--------------------------------------------------\n   Install Pre-commit and the commit-msg hook-type.\n\n\n   ::\n\n        pip install pre-commit\n        pre-commit install\n        pre-commit install --hook-type commit-msg\n\n\n.. _pre-commit: https://pre-commit.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilin%2Fgiticket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilin%2Fgiticket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilin%2Fgiticket/lists"}