mr.sisyphus
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mr.sisyphus-1.0.zip | 10.0 kB | Without provenance | Details for mr.sisyphus-1.0.zip |
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 |
Security for mr.sisyphus 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.