{"id":19588622,"url":"https://github.com/fpietka/github-labels-copy","last_synced_at":"2025-04-27T12:31:53.470Z","repository":{"id":45529256,"uuid":"53856661","full_name":"fpietka/github-labels-copy","owner":"fpietka","description":"Copy any Github project labels onto your repositories","archived":false,"fork":false,"pushed_at":"2021-12-09T22:06:52.000Z","size":30,"stargazers_count":8,"open_issues_count":4,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-04T23:47:34.422Z","etag":null,"topics":["github","python"],"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/fpietka.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","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":"2016-03-14T13:03:43.000Z","updated_at":"2023-05-06T23:35:15.000Z","dependencies_parsed_at":"2022-09-09T20:31:45.518Z","dependency_job_id":null,"html_url":"https://github.com/fpietka/github-labels-copy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpietka%2Fgithub-labels-copy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpietka%2Fgithub-labels-copy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpietka%2Fgithub-labels-copy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpietka%2Fgithub-labels-copy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fpietka","download_url":"https://codeload.github.com/fpietka/github-labels-copy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224069394,"owners_count":17250456,"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":["github","python"],"created_at":"2024-11-11T08:14:37.793Z","updated_at":"2024-11-11T08:14:39.165Z","avatar_url":"https://github.com/fpietka.png","language":"Python","readme":".. image:: https://landscape.io/github/fpietka/github-labels-copy/master/landscape.svg?style=flat\n   :target: https://landscape.io/github/fpietka/github-labels-copy/master\n   :alt: Code Health\n.. image:: https://img.shields.io/pypi/v/githublabelscopy.svg\n   :target: https://pypi.python.org/pypi/githublabelscopy\n   :alt: Version\n.. image:: https://img.shields.io/pypi/pyversions/githublabelscopy.svg\n   :target: https://pypi.python.org/pypi/githublabelscopy\n   :alt: Python versions supported\n.. image:: https://img.shields.io/pypi/l/githublabelscopy.svg\n   :target: https://pypi.python.org/pypi/githublabelscopy\n   :alt: License\n\n==================\nGithub Labels Copy\n==================\n\nA tool to copy labels between repositories using Github API\n\nHere are the actions done by this tool:\n\n- Add missing labels\n- Modify color for existing labels\n- Delete labels not availlable in source repository\n\nIt can be used with either login/password or API Key.\n\nInstallation\n------------\n\nYou can install it using ``pip``::\n\n $ pip install githublabelscopy\n\nUsage\n-----\n\nTo copy labels between two repositories::\n\n $ github-labels-copy myuser/source-repo myuser/target-repo\n\nThere is also two identification modes:\n\n* --login : using your Github username, you will be prompted for your password\n* --token : provide your Github token\n\nAlternatively you can set an environment variable called ``GITHUB_API_TOKEN``. Without any identification mode specified,\nit will automatically fallback on it.\n\nYou can also dump/load labels:\n\n* --load : load labels from a previous dump (yaml file)\n* --dump : dump labels into a yaml file\n\nOptions\n-------\n\nThere are 3 non exclusive modes:\n\n* -c : creates labels which don't exist on target repository\n* -r : remove labels on target repository  which don't exists on source repository\n* -m : modify labels which don't have the right color code on target repository\n\nDefault is full mode, which execute all those actions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffpietka%2Fgithub-labels-copy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffpietka%2Fgithub-labels-copy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffpietka%2Fgithub-labels-copy/lists"}