Skip to main content

His pointless toil will never end.

Mr. Sisyphus is a tool to improve the permissions for github organisations. It will allow users to create repositories without having to made admins of repositories. It requires an organisation in GitHub with three teams.

  • The Owners team is created by default

  • A team that holds all the developers in the organisation, with Push and Pull rights set

  • A new team for this package that has Push, Pull and Admin rights set.

This new team should not be administered by the organisation admins, they should just administer the Owners and Developers teams.

Usage

You will need to customise the mr.sisyphus.cfg file with information about your organisation. A default is provided for the organisation collective. In this organisation the teams listed above are named, respectively:

  • Owners

  • –auto-contributors

  • CanAdd

therefore the configuration file looks like:

[sisyphus]
organization = collective
developer_team = --auto-contributors
stub_team = CanAdd

The first time you run the script it will prompt for your GitHub username and password. The user you authenticate as must be a member of the Owners team in the organisation you want to administer. It will then create an OAuth token and store it in the mr.sisyphus.cfg file. From this point on the configuration file should be considered secret, as there is no way to get an OAuth token that applies just to one organisation. If someone finds this token they’d gain admin access to your private repos. The OAuth token can be disabled from your GitHub user profile, but you won’t be prompted to log in again unless you delete it from the config file.

From this point on the script can be run in non-interactive mode

Dry Run

To see what mr.sisyphus is planning to do invoke it as ./bin/mr.sisyphus.cfg -n and it will skip making the actual calls to github.

Release files for mr.sisyphus 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mr.sisyphus 1.0
File Size Uploaded
mr.sisyphus-1.0.zip 10.0 kB Details

Release files / mr.sisyphus-1.0.zip

Download URL mr.sisyphus-1.0.zip
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
70840b762fc2b8dbf47026980e233e17bb0c8434c204ec932fe49e93e244c289
BLAKE2b-256 checksum
How to use checksums
5a6cf6f70edee93d3d44eac8760fdc2b57bc461576fc446fb3c19388e4d580de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page