{"id":19648292,"url":"https://github.com/bestpractical/rt-integration-versioncontrol","last_synced_at":"2025-02-27T00:36:20.532Z","repository":{"id":8655734,"uuid":"10308832","full_name":"bestpractical/rt-integration-versioncontrol","owner":"bestpractical","description":null,"archived":false,"fork":false,"pushed_at":"2013-08-31T00:35:45.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-09T22:52:05.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://metacpan.org/release/rt-integration-versioncontrol","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestpractical.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-27T06:03:28.000Z","updated_at":"2022-06-10T21:34:09.000Z","dependencies_parsed_at":"2022-07-10T03:46:38.929Z","dependency_job_id":null,"html_url":"https://github.com/bestpractical/rt-integration-versioncontrol","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/bestpractical%2Frt-integration-versioncontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-integration-versioncontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-integration-versioncontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-integration-versioncontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestpractical","download_url":"https://codeload.github.com/bestpractical/rt-integration-versioncontrol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240957687,"owners_count":19884781,"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":[],"created_at":"2024-11-11T14:47:41.101Z","updated_at":"2025-02-27T00:36:20.494Z","avatar_url":"https://github.com/bestpractical.png","language":"Perl","readme":"This tool allows an RT 3.x instance to integrate with a Subversion revision\ncontrol system.\n\nTo install the package in your RT instance, run the following commands:\n\n    perl Makefile.PL\n    make install\n\nTo configure your subversion server to talk to an RT instance, you'll need \nto do a bit of setup.\n\n\nIn your RT::SiteConfig, set up the following variables:\n\nSet($PathToSvn, '/usr/bin/svn'); # or wherever your svn(1) binary lives\n\nSet($SvnRepository, 'http://svn.example.org/repository/'); \n# or\nSet($SvnRepository, 'svn://svn.example.org/repository/');  \n\n\nIf you do not wish to use the extension's URI-handling capabilities, \nremove /opt/rt3/local/lib/RT/URI/svn.pm\n\nMost svn:// URIs look like\nsvn://svn.example.com/path/to/repository/@1234\n\nThis extension will assume that this means the Web view of the revision \nlives at:\nhttp://svn.example.com/cgi-bin/index.cgi/path/to/repository/?rev=1234\n(this is where SVN::Web puts it).\n\nIf you aren't using SVN::Web or if your view lives elsewhere, you need\nto add the following line to RT::SiteConfig:\n\nSet( $SvnRepositoryWebView, 'http://svn.example.com/path/to/?rev=');\n\nThe correct revision number will be appended.\n\n\nYou also need to add a \"post-commit\" hook to your svn repository\nso that it knows how to talk to RT. Basically, it does a simple\nHTTP \"GET\" request to tell RT to query the svn server for an update.\nWe use this provoked poll method so that RT doesn't need to trust\narbitrary incoming pings.  RT is careful to only apply each commit\nonce.\n\nCreate a _privileged_ RT user for the svn integration to use. It doesn't matter\nif that user has no specific rights; they just need to be able to log into RT's\nweb interface.\n\nAdd the following line (assuming you use curl) to your repository's \nhooks/post-commit script:\n\ncurl \"http://rt.example.org/SVN/PullUpdate.html?user=guest\u0026pass=guest\u0026rev=$REV\" \u0026\n\n\nTo tell RT which ticket a commit is associated with, put an RT-Ticket:\nline in your commit message. if there's no RT-Ticket: line, rt will\nignore the commit message.  If you put \"rtname#\" before the ticket id, RT\ninstances whose rtnames don't match what you've put in will act as if they\nhaven't seen a ticket id.  This can be useful if you use svk to move subversion\ncommits between repositories and want to track commit history across multiple\nRT instances.\n\nThe other recognized commands are RT-Status and RT-Update.  RT-Action\nis an alias for RT-Update, if preferred.  Commands are\ncase-insensitive and may occur in any order, at any point in the\ncommit message.\n\nA couple simple examples:\n\n=====cut here======\n\nRT-Ticket: fsck.com#123 \nRT-Ticket: elixus.org#1525\nRT-Ticket: openfoundry.org#2113\nRT-Status: resolved\nRT-Update: comment\n\nThis is a simple comment.\n\n======cut here=======\n\n    OR \n\n======cut here=======\n\nRT-Ticket: 123 \nRT-Status: open\nRT-Update: correspond\n\nWe've commmited a fix to your problem. Is it fixed in -HEAD?\n\n======cut here=======\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Frt-integration-versioncontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestpractical%2Frt-integration-versioncontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Frt-integration-versioncontrol/lists"}