{"id":16338797,"url":"https://github.com/neverpanic/trac-configurable-ctu","last_synced_at":"2025-11-03T07:30:25.474Z","repository":{"id":138048182,"uuid":"72306721","full_name":"neverpanic/trac-configurable-ctu","owner":"neverpanic","description":"An extension of Trac's CommitTicketUpdater with a configurable ticket_prefix","archived":false,"fork":false,"pushed_at":"2018-04-16T18:17:34.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T18:57:40.861Z","etag":null,"topics":["python","trac-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neverpanic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-29T20:06:09.000Z","updated_at":"2022-12-21T07:34:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a16a2a2d-75df-404c-9a9e-fe9b21eb6b2f","html_url":"https://github.com/neverpanic/trac-configurable-ctu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Ftrac-configurable-ctu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Ftrac-configurable-ctu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Ftrac-configurable-ctu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Ftrac-configurable-ctu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neverpanic","download_url":"https://codeload.github.com/neverpanic/trac-configurable-ctu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239412505,"owners_count":19634016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["python","trac-plugin"],"created_at":"2024-10-10T23:51:40.600Z","updated_at":"2025-11-03T07:30:25.442Z","avatar_url":"https://github.com/neverpanic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Trac - Configurable CommitTicketUpdater\n=======================================\n\nFeatures\n--------\n\nThis Trac plugin performs the same tasks as [Trac's CommitTicketUpdater](https://trac.edgewall.org/wiki/CommitTicketUpdater)\nbut gives you the option of changing the regular expression it uses to find\ntickets in commit messages. This is useful if a different party already claims\nTrac's standard ticket syntax, for example when you are using GitHub.\n\nRequirements\n------------\n\n`trac_configurable_ctu` requires Trac ~= 1.0.\n\nTo install `trac_configurable_ctu`, use the included `setup.py`, for example\nusing `pip install` in a directory with the code.\n\nSetup\n-----\n\n**`trac_configurable_ctu`** contains two plugins:\n - `ConfigurableCommitTicketUpdater`, and\n - `ConfigurableCommitTicketReferenceMacro`\n\nBoth are required for `trac_configurable_ctu` to work correctly.\n\nEdit your `trac.ini` as follows to enable and configure both plugins:\n\n    [components]\n    trac_configurable_ctu.ConfigurableCommitTicketReferenceMacro = enabled\n    trac_configurable_ctu.ConfigurableCommitTicketUpdater = enabled\n\n    [ticket]\n    commit_ticket_update_ticket_prefix = (?:trac-ticket(?:[: ]+)?)\n\nNote that the regular expression to match ticket expressions must not include\nthe ticket number (which is expected right after the regular expression) and\nmust not create capturing groups.\n\nThe display of the referenced commit messages in the ticket comment can be\nmodified with replacements using regular expressions. These can be defined in\ntheir own configuration section:\n\n    [commit-ticket-update-replace]\n    name.pattern = PR-\\d+\n    name.replace = https://example.org/$(repository)s/\\1\n\nThe name has no further meaning than identifying a pair of pattern and replace\nand will be ignored.\n\nThe following variables will be substituted in both pattern and replace before\napplying the regular expression:\n\n- $(repository)s    name of the repository committed to\n- $(revision)s      revision of the commit\n\nNote the usage of `$(...)s` instead of `%(...)s` as the latter form would be\ninterpreted by the ConfigParser itself.\n\nDevelopment\n-----------\n\nIn a [virtualenv](http://www.virtualenv.org/), install the requirements:\n\n    pip install trac\n    pip install tox\n    pip install -e .\n\nRun pylint with\n\n    tox -e pylint \n\nChangelog\n---------\n\n### 1.0\n\n* Public release.\n\nLicense\n-------\n\nThis plugin is released under the BSD-2-Clause license.\n\nIt was initially written for [MacPorts' Trac](https://trac.macports.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverpanic%2Ftrac-configurable-ctu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneverpanic%2Ftrac-configurable-ctu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverpanic%2Ftrac-configurable-ctu/lists"}