https://github.com/ami-iit/github-labels
The repo contains the all the GitHub issue labels we use within our organisation
Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
The repo contains the all the GitHub issue labels we use within our organisation
Basic Info
- Host: GitHub
- Owner: ami-iit
- Default Branch: master
- Size: 12.7 KB
Statistics
- Stars: 1
- Watchers: 17
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
github-labels
The repo contains all the GitHub issue labels we use within our organisation. The labels are stored in allgithublabels.json and also stored in .json files for specific categories.
NOTE: If you feel any general useful labels are missing kindly add them to the .json file and also to the labels of this repository.
How-to
A github token provides API access to npm packages that help to manage github issue labels. You can generate a personal token follow this guide. Create a token by selecting all the scopes. You can delete the token after importing the labels to your repository.
Once a token is generated add the following lines to the .bashrc
export GITHUB_USER="<USERNAME>"
export GITHUB_TOKEN="<TOKEN>"
Then source it!
$ source ~/.bashrc
you need to first install npm package manager
$ sudo apt-get install nodejs npm
NOTE: You may get the following error while installing npm
``` Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed E: Unable to correct problems, you have held broken packages. ``` In this case use the following steps:
- Install the nvm (node version manager)
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
$ nvm install node
Then you need to install the following two packages * github-labels * copy-github-labels-cli
NOTE: You can manage the labels of repositories to which you have write access! Please ensure it before proceeding further.
The package github-labels lets you to add labels to your github repository from .json file directly using
$ labels -c <file> -f <github_user>/<repo_name> -t <token>
e.g. $ labels -c github-labels.json -f loc2/my-new-awesome-repo -t ${GITHUB_TOKEN}
NOTE:
The option
-fis force option which will delete all existing labels. A newly created repo contains some default labels and using this option will delete them!If some of the labels in the
.jsonfile are already used in your new repo, the above command will throw an error. Do not worry about it, the rest of the labels will be copied correctly. Please double check this!
The package copy-github-labels-cli lets you to copy the labels from one repository to another repository.
To copy the labels from one repository to another repository use
$ copy-github-labels -t <token> <source-repo> <destination-repo>
e.g. $ copy-github-labels -t ${GITHUB_TOKEN} loc2/github-labels loc2/my-awesome-new-repo
NOTE:
If the above command gives
/usr/bin/env: node: No such file or directoryerror run the following command. This is to create a symlink to the package installed throughnpmpackage managersudo ln -fs /usr/bin/nodejs /usr/local/bin/nodeIf you are following this method the new labels are created alongside the existing labels.
If some of the labels in the
.jsonfile are already used in your new repo, the above command will throwUnknown label: failed (Validation Failed)error for all the conflicting labels. Do not worry about it, the rest of the labels will be copied correctly. Please double check this!
Owner
- Name: Artificial and Mechanical Intelligence
- Login: ami-iit
- Kind: organization
- Location: Italy
- Website: https://ami.iit.it/
- Repositories: 111
- Profile: https://github.com/ami-iit
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Yeshasvi Tirupachuri | y****s@g****m | 10 |
| Yeshasvi TVS | y****i@g****m | 3 |
| Daniele Pucci | d****5@g****m | 2 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: 1 day
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 2.0
- Average comments per pull request: 0
- Merged pull requests: 0
- 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
- traversaro (2)