https://github.com/azavea/github-labeller
A CLI tool which allows you to manage GitHub labels consistently across many repositories
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.0%) to scientific vocabulary
Repository
A CLI tool which allows you to manage GitHub labels consistently across many repositories
Basic Info
- Host: GitHub
- Owner: azavea
- Language: Go
- Default Branch: develop
- Size: 6.06 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
- Releases: 0
Metadata Files
README.md
GitHub Labeller
This is a CLI tool which allows you to manage GitHub labels consistently across many repositories.
Supported actions: - Ensure a label exists on all configured repositories - Delete a label, keyed by label text, on all configured repositories
Getting Started
Go to the releases page and download the zip for the most recent release. Extract it and copy the binary for your platform from the ./bin directory to a location on your $PATH. Consider renaming the binary to remove the platform postfix.
Configure the application by creating a .github-labeller file in your HOME dir:
touch ~/.github-labeller
Copy the following template into ~/.github-labeller and configure as appropriate:
```toml
token = "your github access token here"
[orgs]
Multiple [org.foo] blocks can be provided under the [orgs] section
Replace foo with the name of your GitHub org or account
[orgs.foo] repositories = [ "repo-one", "repo-two" ]
```
Getting your GitHub access token
You can create an API token for use with this app by logging into GitHub with your user and going to https://github.com/settings/tokens --> "Personal Access Token". Create a new token with the "repo" permission and give it a helpful name. Once you have your token, copy it into the Token field of the .github-labeller config file.
Running the tool
Once configured with your list of repositories and GitHub token, you're all set!
Examples: ``` // Create the specified label in all repos if it doesn't exist, or update the color if it does github-labeller create "backlog" "#AEAEAE"
// Delete a label in all configured repos github-labeller delete "todo" ```
Developing
Checkout to ${GOPATH}/src/github.com/azavea/github-labeller. Build by running make. After building, run with ./github-labeller. Additional commands are available in the Makefile.
Building a release
Follow these steps when creating a new release:
- Create a new release branch via git flow
- Update the CHANGELOG.md
- Update the version string in github-labeller.go, following SEMVER
- Run make release
- Commit the changes and create a new git tag using the same version string
- Finish the release branch via git flow
- Push the develop and master branches, along with the new release tag
Owner
- Name: Azavea
- Login: azavea
- Kind: organization
- Location: Philadelphia, PA
- Website: https://www.azavea.com
- Repositories: 383
- Profile: https://github.com/azavea
Geospatial software engineering for good
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 13
- Total pull requests: 1
- Average time to close issues: 25 days
- Average time to close pull requests: less than a minute
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- CloudNiner (12)
Pull Request Authors
- CloudNiner (1)