Manage a GitHub Organization, its teams, repository permissions, and more
Project description
GitHub Organization Manager
A lightweight tool that helps with managing a GitHub organization, its members, teams, repository permissions and more.
The basic principle: all settings reside in YAML configuration files which will be made effective during a run of this tool.
Features
- Manage GitHub teams and their members and maintainers
- Support of sub-teams
- Manage teams' permissions on organizations' repositories
- Invite members to the organization if they aren't part of it yet
- Warn about unmanaged teams
- Warn about organization members who are not part of any team
Are you missing a feature? Please check whether it's already posted as an issue, and create one of this isn't the case.
Install
Dependencies: Python 3.10 or newer
To install: pip3 install github-org-manager
You may also want to consider using helpers such as pipx
to avoid a dependency mess on your system.
Afterwards, the tool is executable with the command gh-org-mgr
. The --help
flag informs you about the required and available commands.
Configuration
Inside config/example
, you can find an example configuration that shall help you to understand the structure:
app.yaml
: Configuration necessary to run this toolorg.yaml
: Organization-wide configurationteams/*.yaml
: Configuration concerning the teams of your organization.
You may also be interested in the live configuration of the OpenRail Association's organization.
Run the program
You can execute the program using the command gh-org-mgr
. gh-org-mgr --help
shows all available arguments and options.
Some examples:
gh-org-mgr -c myorgconf
: synchronize the settings of the GitHub organization with your local configuration in the given configuration path (myorgconf
). This may create new teams, remove/add members, and change permissions.gh-org-mgr -c myorgconf --dry
: as above, but do not make any modification. Perfect for testing your local configuration and see its potential effects.gh-org-mgr -c myorgconf --debug
: the first example, but show full debugging information.
License
The content of this repository is licensed under the Apache 2.0 license.
There may be components under different, but compatible licenses or from different copyright holders. The project is REUSE compliant which makes these portions transparent. You will find all used licenses in the LICENSES directory.
The project is has been started by the OpenRail Association. You are welcome to contribute!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file github_org_manager-0.3.0.tar.gz
.
File metadata
- Download URL: github_org_manager-0.3.0.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fdd9a628debd36fb6f8e2dc58e5fbb3c1d8b8148cf0fd06dbc43ac609e3dd4 |
|
MD5 | 292b7f6bf598369a93f2eb280f8bf24e |
|
BLAKE2b-256 | 933c8f60889620577d132c40b208ebccc2142673c08a4d1f46b1034afe254e51 |
File details
Details for the file github_org_manager-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: github_org_manager-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516ba8d64e2a1735c00d748ae53bfa98ff60e95c7e1aa5ef50fc573966dfdf72 |
|
MD5 | 048a1ac5af708e1068bcf44f7282858a |
|
BLAKE2b-256 | 429f3e3d261d1df09dc35357601d99af6bd57d165cf4cb3fea39ef4bac76e1b1 |