{"id":17043067,"url":"https://github.com/mizzy/gh-tools","last_synced_at":"2025-08-01T19:02:47.702Z","repository":{"id":3260540,"uuid":"4299118","full_name":"mizzy/gh-tools","owner":"mizzy","description":"Tools for GitHub","archived":false,"fork":false,"pushed_at":"2014-02-26T03:45:56.000Z","size":243,"stargazers_count":25,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T15:11:20.824Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizzy.png","metadata":{"files":{"readme":"README.md","changelog":"change-irc-hooks-password.rb","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":"2012-05-11T16:23:06.000Z","updated_at":"2022-01-28T20:36:21.000Z","dependencies_parsed_at":"2022-08-03T02:15:45.351Z","dependency_job_id":null,"html_url":"https://github.com/mizzy/gh-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mizzy/gh-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fgh-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fgh-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fgh-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fgh-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizzy","download_url":"https://codeload.github.com/mizzy/gh-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizzy%2Fgh-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268281485,"owners_count":24225156,"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-08-01T02:00:08.611Z","response_time":67,"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-10-14T09:27:40.471Z","updated_at":"2025-08-01T19:02:47.655Z","avatar_url":"https://github.com/mizzy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-tools\n\nGh-tools are some tiny tools for GitHub.Now support user add/remove/sync function to organization teams.\n\nThis command adds user \"mizzy\" to \"Members\" team of \"paperboy-all\" orgnization and pulicizes it.\n\n```\n$ thor member:add --user=mizzy --organization=paperboy-all --team=Members --public\n```\n\nThis command removes user \"mizzy\" from \"Members\" team of \"paperboy-all\" orgnization.\n\n```\n$ thor member:remove --user=mizzy --organization=paperboy-all --team=Members\n```\n\nThis command adds users in members.txt file to \"Members\" team of \"paperboy-all\" organization.\n\n```\n$ thor member:bulk_add --file=members.txt --organization=paperboy-all --team=Members --public\n```\n\nThis command syncs members of \"Members\" team of \"paperboy-all\" organization to \"paperboy\" team of \"paperboy-sqale\" organization.\n\n```\n$ thor member:sync --srcorg=paperboy-all --srcteam=Members --destorg=paperboy-sqale --destteam=paperboy\n```\n\n----\n\n# ペパボの人向け README\n\n## paperboy-all 入りたい！\n\npaperboy-all に入りたい方は、GitHub アカウント名を mizzy, hsbt, antipop のいずれかへお知らせください。\n\nまたは、[paperboy-all/all](https://github.com/paperboy-all/all) の github/members.txt に GitHub アカウント名を追記して pullreq してください。\n\npaperboy-all に入ると、他のペパボ組織アカウント(paperboy-fanic, paperboy-sqale など)内の情報を参照できるようになります。\n\n## 管理者向け\n\nmembers.txt を pull ＆ メンバー登録スクリプトの実行を cron で定期的（10分間隔）に行っているので、paperboy-all/all の master ブランチ にある github/members.txt を更新すれば、自動でメンバーに追加されます。\n\n手動で行う場合には、\n\n```\n$ ./manage_paperboy.rb members.txt\n```\n\nを実行することで\n\n * members.txt 内のユーザを paperboy-all に追加\n * 各ペパボ組織アカウントにて\n   * paperboy チームがなければ、Pull Only な paperboy チームを追加\n   * 組織内の private repo をすべて、paperboy チームがアクセスできる repo につっこむ\n   * paperboy-all のメンバーを paperboy チームに同期\n\nといった処理ができます。（ただし、各ペパボ組織アカウントに Owner 権限を持ってる必要があります。）\n\nアカウントの追加依頼や、追加 pullreq が来たら、このコマンドで対応してください。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizzy%2Fgh-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizzy%2Fgh-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizzy%2Fgh-tools/lists"}