{"id":21567320,"url":"https://github.com/ug0/copy_github_labels","last_synced_at":"2025-07-04T19:08:10.504Z","repository":{"id":48743357,"uuid":"199602158","full_name":"ug0/copy_github_labels","owner":"ug0","description":"Copy labels from one GitHub repository to another.","archived":false,"fork":false,"pushed_at":"2021-07-13T05:59:54.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T18:54:18.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ug0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-30T07:47:49.000Z","updated_at":"2021-07-13T05:59:53.000Z","dependencies_parsed_at":"2022-09-19T13:41:41.654Z","dependency_job_id":null,"html_url":"https://github.com/ug0/copy_github_labels","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ug0/copy_github_labels","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ug0%2Fcopy_github_labels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ug0%2Fcopy_github_labels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ug0%2Fcopy_github_labels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ug0%2Fcopy_github_labels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ug0","download_url":"https://codeload.github.com/ug0/copy_github_labels/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ug0%2Fcopy_github_labels/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263603993,"owners_count":23487221,"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-24T10:29:52.696Z","updated_at":"2025-07-04T19:08:10.467Z","avatar_url":"https://github.com/ug0.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CopyGithubLabels\n[![Gem Version](https://badge.fury.io/rb/copy_github_labels.svg)](https://badge.fury.io/rb/copy_github_labels)\n\n\nCopy labels from one GitHub repository to another.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'copy_github_labels'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install copy_github_labels\n\n## Usage\n\nUse command-line:\n```bash\n# Use access token\n$ copy_github_labels -t \u003caccess_token\u003e \u003csource_repo\u003e \u003ctarget_repo\u003e\n\n# Use username \u0026 password\n$ copy_github_labels -u \u003cusername\u003e \u003csource_repo\u003e \u003ctarget_repo\u003e\n\n# Override existing labels\n$ copy_github_labels -t \u003caccess_token\u003e -f \u003csource_repo\u003e \u003ctarget_repo\u003e\n\n```\n\nUse in code:\n```ruby\nclient = CopyGithubLabels::Client.new(access_token: 'YOUR-ACCESSTOKEN')\nclient.copy_labels('source-repo', 'target-repo', options = { override: false })\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/copy_github_labels. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the CopyGithubLabels project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/copy_github_labels/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fug0%2Fcopy_github_labels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fug0%2Fcopy_github_labels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fug0%2Fcopy_github_labels/lists"}