Github Labels Copy
A tool to copy labels between repositories using Github API
Here are the actions done by this tool:
Add missing labels
Modify color for existing labels
Delete labels not availlable in source repository
It can be used with either login/password or API Key.
Installation
You can install it using pip:
$ pip install githublabelscopy
Usage
To copy labels between two repositories:
$ github-labels-copy myuser/source-repo myuser/target-repo
There is also two identification modes:
–login : using your Github username, you will be prompted for your password
–token : provide your Github token
Alternatively you can set an environment variable called GITHUB_API_TOKEN. Without any identification mode specified, it will automatically fallback on it.
You can also dump/load labels:
–load : load labels from a previous dump (yaml file)
–dump : dump labels into a yaml file
Options
There are 3 non exclusive modes:
-c : creates labels which don’t exist on target repository
-r : remove labels on target repository which don’t exists on source repository
-m : modify labels which don’t have the right color code on target repository
Default is full mode, which execute all those actions.
Metadata
Release files for githublabelscopy 1.1.1
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 |
|---|---|---|---|---|
| githublabelscopy-1.1.1.tar.gz | 4.0 kB | Without provenance | Details for githublabelscopy-1.1.1.tar.gz |
Release files / githublabelscopy-1.1.1.tar.gz
| Download URL | githublabelscopy-1.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dbe91da82fbccd20dc029dda4679b0d9bb61100f73748f347998ac0555830af
|
|
BLAKE2b-256 checksum How to use checksums |
3e806598c645a989c7bd5cf735b1800bb55a07a1d9044949624ea032e8f5d9ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for githublabelscopy 1.1.1
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.