{"id":16653929,"url":"https://github.com/mixih/github-tool","last_synced_at":"2025-10-23T19:17:15.364Z","repository":{"id":183880932,"uuid":"292467236","full_name":"Mixih/Github-Tool","owner":"Mixih","description":"Synchronize all the things!","archived":false,"fork":false,"pushed_at":"2020-09-03T05:27:26.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T17:50:02.958Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mixih.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-03T04:35:39.000Z","updated_at":"2022-01-07T05:23:37.000Z","dependencies_parsed_at":"2023-07-26T07:38:54.514Z","dependency_job_id":"e1a33c8d-75d0-485b-9764-ac9f497fb199","html_url":"https://github.com/Mixih/Github-Tool","commit_stats":null,"previous_names":["mixih/github-tool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mixih/Github-Tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixih%2FGithub-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixih%2FGithub-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixih%2FGithub-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixih%2FGithub-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mixih","download_url":"https://codeload.github.com/Mixih/Github-Tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixih%2FGithub-Tool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264719240,"owners_count":23653542,"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-10-12T09:48:03.014Z","updated_at":"2025-10-23T19:17:15.267Z","avatar_url":"https://github.com/Mixih.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitbot\n\nA very simple and hacky datasource to github organization synchronization tool.\n\n## Supported Datasources/git hosts\n\n**Data Sources**\n- CSV spreadsheet\n\n**Git Hosts**\n- Github\n\n## Installation\n\n1. Download/clone this repo\n2. Initialize new python 3 venv (replace python3 with python if the system python\n   is python 3): `python3 -m venv [name of venv]`\n3. Activate venv by using `. [name of venv]/bin/activate` (on windows, use\n   powershell, install python3 to path, and type `. [name of\n   venv]/Scripts/activate.ps1`\n4. Install dependencies with `pip3 install -r requirements.txt`\n\n## Usage\n\n`python3 gitbot.py -c [name of username column] -t [github apikey] [CSV datafile] [organization]`\n\nAdditional options include:\n- `--help` : print integrated help message\n- `--name-fmt` : set the basename that the variable name column will be applied\n    to (i.e. `my-basename{}-year` will replace the `{}` with the values of the\n    specified name column\n- `--name-col` : set the column that will be used to populate the repo names'\n    format strings\n- `--user-col` : set the columns of usernames that will be synced to the org\n- `--team` : set the team that all users will be added to if they are not\n    members already\n- `--interactive` : forces the script to confirm all chagnes it will make before\n    executing them\n\nThe git apikey supported  is a personal access token, which can be generated from\n`Settings\u003eDeveloper settings\u003ePersonal access tokens`. It can be passed from an\nenvironment variable instead of being directly pasted on the command line to\nprevent leaving it shell history. Just specify a variable of the form `$VARNAME`\nand the script will automatically pull the value of that variable if it is\nvalid.\n\nNote that the Github API key must have the following scopes:\n- `repo` (whole scope)\n- `admin:org` (whole scope)\nAdditionally the account where the token is generated must have `owner` or\n`admin` permission on the organization to be managed for all features to work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixih%2Fgithub-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmixih%2Fgithub-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixih%2Fgithub-tool/lists"}