{"id":20323917,"url":"https://github.com/buildbot/trac2gh","last_synced_at":"2025-09-09T06:52:25.512Z","repository":{"id":137835587,"uuid":"70655425","full_name":"buildbot/trac2gh","owner":"buildbot","description":"migrate trac tickets to GitHub issues","archived":false,"fork":false,"pushed_at":"2018-08-23T16:53:53.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-27T14:04:16.251Z","etag":null,"topics":[],"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/buildbot.png","metadata":{"files":{"readme":"README.rst","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-12T02:39:15.000Z","updated_at":"2023-03-12T14:51:07.000Z","dependencies_parsed_at":"2023-04-17T05:30:30.291Z","dependency_job_id":null,"html_url":"https://github.com/buildbot/trac2gh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buildbot/trac2gh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildbot%2Ftrac2gh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildbot%2Ftrac2gh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildbot%2Ftrac2gh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildbot%2Ftrac2gh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildbot","download_url":"https://codeload.github.com/buildbot/trac2gh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildbot%2Ftrac2gh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267368928,"owners_count":24076092,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-11-14T19:30:41.991Z","updated_at":"2025-07-27T14:07:29.075Z","avatar_url":"https://github.com/buildbot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\ntrac2gh\n=======\n\ntools and sandbox (tools will stay in a separate repo)\n\n\nUsage\n~~~~~\n\nThis tools uses the real trac parser, and github3.py\nYou can download the deps by using pipenv\n\n.. code-block:: bash\n\n    # (sudo pip install pipenv)\n    pipenv install\n    . ./.venv/bin/activate\n\nYou will need to download the full trac working directory, so that trac is happy, and make the config file point to that copy\n\n.. code-block:: bash\n\n    cp config.sample ~/trac2gh-config\n    # edit config to match your needs\n    trac2gh trac2gh ~/trac2gh-config\n\nIn this form, the script can take a long time, and probably is not the best suited, you can also run it in three runs\n\n\nFirst script will dump the database to a json file.\nThis can take a long time especially if your mysql database is not in the same network\n\n.. code-block:: bash\n\n    trac2gh trac2json ~/trac2gh-config dump.json\n\nSecond script can be used to make sure the users are correctly mapped to github.\nIn the end the list of unmapped users is printed, with the number of contributions.\nThis allows you to manually find out the mapping for relevent contributors only\n\n.. code-block:: bash\n\n    trac2gh build-user-mapping ~/trac2gh-config dump.json\n\nThird script is creating the issues in Github, and marking the tickets as migrated.\n\n.. code-block:: bash\n\n    trac2gh json2gh ~/trac2gh-config dump.json\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildbot%2Ftrac2gh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildbot%2Ftrac2gh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildbot%2Ftrac2gh/lists"}