{"id":18641482,"url":"https://github.com/mkumatag/github-adm","last_synced_at":"2025-11-04T22:30:27.039Z","repository":{"id":105063044,"uuid":"315712374","full_name":"mkumatag/github-adm","owner":"mkumatag","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T13:32:24.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-17T14:30:52.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkumatag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-11-24T17:56:53.000Z","updated_at":"2025-02-17T13:32:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d40ce15-40b5-4c09-965c-c6a3a4b797ae","html_url":"https://github.com/mkumatag/github-adm","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkumatag%2Fgithub-adm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkumatag%2Fgithub-adm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkumatag%2Fgithub-adm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkumatag%2Fgithub-adm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkumatag","download_url":"https://codeload.github.com/mkumatag/github-adm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239441991,"owners_count":19639178,"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-07T05:58:54.096Z","updated_at":"2025-11-04T22:30:26.996Z","avatar_url":"https://github.com/mkumatag.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-adm\n\ngithub-adm is a command-line tool written in Go that helps you manage and synchronize labels in your GitHub repositories.\n\n## Installation\n\nTo install github-adm, you'll need to have Go installed. You can install it using Go's package manager, `go get`:\n\n```bash\ngo get -u github.com/mkumatag/github-adm\n```\n\n## Usage\n\n### `sync-labels`\n\nThe `sync-labels` command allows you to synchronize GitHub labels with labels defined in a JSON file. This can be useful for maintaining a consistent set of labels across multiple repositories or simply ensuring that your labels are in sync with a predefined set.\n\n#### Usage\n\n```bash\ngithub-adm sync-labels [options]\n```\n\n#### Options\n`github-adm sync-labels --help` can be used to list all the options.\n\n\n#### Example\n\nTo synchronize labels for the repository \"example/repo\" with labels defined in a JSON file and remove any labels not in the JSON file:\n\n```bash\nGH_TOKEN=\u003cGH_TOKEN\u003e github-adm sync-labels --base-url https://github.ibm.com/api/v3 --upload-url https://uploads.github.ibm.com/ --org org --repo repo --manifest labels.json --delete-out-of-sync`\n```\n\nThe `labels.json` file should contain label definitions in the following format:\n\n```json\n[\n  {\n    \"name\": \"bug\",\n    \"color\": \"d73a4a\"\n  },\n  {\n    \"name\": \"enhancement\",\n    \"color\": \"a2eeef\"\n  },\n  {\n    \"name\": \"documentation\",\n    \"color\": \"0075ca\"\n  }\n  // Add more labels as needed\n]\n```\n\n## Building from Source\n\nIf you prefer to build github-adm from source, you can use the following steps:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/mkumatag/github-adm.git\n```\n\n2. Build the project:\n\n```bash\ncd github-adm\ngo build\n```\n\n3. Install the binary:\n\n```bash\ngo install\n```\n\n## Contributing\n\nIf you'd like to contribute to this project, please check out the [CONTRIBUTING.md](CONTRIBUTING.md) file for guidelines.\n\n## License\n\nThis project is licensed under the Apache-2.0 License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nIf you have any questions or need assistance, feel free to contact us at [manjunath.cse@gmail.com](mailto:manjunath.cse@gmail.com).\n\nHappy labeling with github-adm!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkumatag%2Fgithub-adm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkumatag%2Fgithub-adm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkumatag%2Fgithub-adm/lists"}