github-org-manager


Namegithub-org-manager JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://github.com/OpenRailAssociation/github-org-manager
SummaryManage a GitHub Organization, its teams, repository permissions, and more
upload_time2024-05-02 09:14:49
maintainerNone
docs_urlNone
authorMax Mehl
requires_python<4.0,>=3.10
licenseApache-2.0
keywords github github-management permissions access-control
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!--
SPDX-FileCopyrightText: 2024 DB Systel GmbH

SPDX-License-Identifier: Apache-2.0
-->

# GitHub Organization Manager

[![Test suites](https://github.com/OpenRailAssociation/github-org-manager/actions/workflows/test.yaml/badge.svg)](https://github.com/OpenRailAssociation/github-org-manager/actions/workflows/test.yaml)
[![REUSE status](https://api.reuse.software/badge/github.com/OpenRailAssociation/github-org-manager)](https://api.reuse.software/info/github.com/OpenRailAssociation/github-org-manager)
[![The latest version of GitHub Org Manager can be found on PyPI.](https://img.shields.io/pypi/v/github-org-manager.svg)](https://pypi.org/project/github-org-manager/)
[![Information on what versions of Python GitHub Org Manager supports can be found on PyPI.](https://img.shields.io/pypi/pyversions/github-org-manager.svg)](https://pypi.org/project/github-org-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](https://github.com/OpenRailAssociation/github-org-manager/issues), 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`](https://pipx.pypa.io/) 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`](./config/example), you can find an example configuration that shall help you to understand the structure:

* `app.yaml`: Configuration necessary to run this tool
* `org.yaml`: Organization-wide configuration
* `teams/*.yaml`: Configuration concerning the teams of your organization.

You may also be interested in the [live configuration of the OpenRail Association's organization](https://github.com/OpenRailAssociation/openrail-org-config).

## 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](https://www.apache.org/licenses/LICENSE-2.0).

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](./LICENSES/) directory.

The project is has been started by the [OpenRail Association](https://openrailassociation.org). You are welcome to [contribute](./CONTRIBUTING.md)!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OpenRailAssociation/github-org-manager",
    "name": "github-org-manager",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "github, github-management, permissions, access-control",
    "author": "Max Mehl",
    "author_email": "max.mehl@deutschebahn.com",
    "download_url": null,
    "platform": null,
    "description": "<!--\nSPDX-FileCopyrightText: 2024 DB Systel GmbH\n\nSPDX-License-Identifier: Apache-2.0\n-->\n\n# GitHub Organization Manager\n\n[![Test suites](https://github.com/OpenRailAssociation/github-org-manager/actions/workflows/test.yaml/badge.svg)](https://github.com/OpenRailAssociation/github-org-manager/actions/workflows/test.yaml)\n[![REUSE status](https://api.reuse.software/badge/github.com/OpenRailAssociation/github-org-manager)](https://api.reuse.software/info/github.com/OpenRailAssociation/github-org-manager)\n[![The latest version of GitHub Org Manager can be found on PyPI.](https://img.shields.io/pypi/v/github-org-manager.svg)](https://pypi.org/project/github-org-manager/)\n[![Information on what versions of Python GitHub Org Manager supports can be found on PyPI.](https://img.shields.io/pypi/pyversions/github-org-manager.svg)](https://pypi.org/project/github-org-manager/)\n\nA lightweight tool that helps with managing a GitHub organization, its members, teams, repository permissions and more.\n\nThe basic principle: all settings reside in YAML configuration files which will be made effective during a run of this tool.\n\n## Features\n\n* Manage GitHub teams and their members and maintainers\n* Support of sub-teams\n* Manage teams' permissions on organizations' repositories\n* Invite members to the organization if they aren't part of it yet\n* Warn about unmanaged teams\n* Warn about organization members who are not part of any team\n\nAre you missing a feature? Please check whether it's [already posted as an issue](https://github.com/OpenRailAssociation/github-org-manager/issues), and create one of this isn't the case.\n\n## Install\n\nDependencies: Python 3.10 or newer\n\nTo install: `pip3 install github-org-manager`\n\nYou may also want to consider using helpers such as [`pipx`](https://pipx.pypa.io/) to avoid a dependency mess on your system.\n\nAfterwards, the tool is executable with the command `gh-org-mgr`. The `--help` flag informs you about the required and available commands.\n\n## Configuration\n\nInside [`config/example`](./config/example), you can find an example configuration that shall help you to understand the structure:\n\n* `app.yaml`: Configuration necessary to run this tool\n* `org.yaml`: Organization-wide configuration\n* `teams/*.yaml`: Configuration concerning the teams of your organization.\n\nYou may also be interested in the [live configuration of the OpenRail Association's organization](https://github.com/OpenRailAssociation/openrail-org-config).\n\n## Run the program\n\nYou can execute the program using the command `gh-org-mgr`. `gh-org-mgr --help` shows all available arguments and options.\n\nSome examples:\n\n* `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.\n* `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.\n* `gh-org-mgr -c myorgconf --debug`: the first example, but show full debugging information.\n\n## License\n\nThe content of this repository is licensed under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0).\n\nThere 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](./LICENSES/) directory.\n\nThe project is has been started by the [OpenRail Association](https://openrailassociation.org). You are welcome to [contribute](./CONTRIBUTING.md)!\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Manage a GitHub Organization, its teams, repository permissions, and more",
    "version": "0.2.2",
    "project_urls": {
        "Homepage": "https://github.com/OpenRailAssociation/github-org-manager",
        "Repository": "https://github.com/OpenRailAssociation/github-org-manager"
    },
    "split_keywords": [
        "github",
        " github-management",
        " permissions",
        " access-control"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0635cb055e0b4d01806ee3724a08d5a985429c754964772a64b2dca25d0b628",
                "md5": "31a241898c46fb2ad7fb9aec06db56a3",
                "sha256": "02e94b07dfd6047d77ef9df89c7d0ace9c5126648a8dbac3cce1129e6ace86cf"
            },
            "downloads": -1,
            "filename": "github_org_manager-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "31a241898c46fb2ad7fb9aec06db56a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 28736,
            "upload_time": "2024-05-02T09:14:49",
            "upload_time_iso_8601": "2024-05-02T09:14:49.865695Z",
            "url": "https://files.pythonhosted.org/packages/f0/63/5cb055e0b4d01806ee3724a08d5a985429c754964772a64b2dca25d0b628/github_org_manager-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-02 09:14:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OpenRailAssociation",
    "github_project": "github-org-manager",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "github-org-manager"
}
        
Elapsed time: 0.24679s