Skip to content

Latest commit

 

History

History
 
 

archive

GitHub labels archive

Overview

This directory contains one YAML file per repository containing the original set of GitHub labels before the new ones were applied on 2019-06-04.

How the YAML files were created

This section explains how the YAML files were created.

The labeler tool was used to read the labels and write them to a YAML file.

Install and patch the labeler tool

This isn't ideal but our labels database mandates descriptions for every label. However, at the time of writing, the labeler tool does not support descriptions. But, there is a PR to add in description support.

To enable description support:

$ go get -u github.com/tonglil/labeler
$ cd $GOPATH/src/github.com/tonglil/labeler
$ pr=37
$ pr_branch="PR${pr}"
$ git fetch origin "refs/pull/${pr}/head:{pr_branch}"
$ git checkout "${pr_branch}"
$ go install -v ./...

Save GitHub labels for a repository

Run the following for reach repository:

$ labeler scan -r ${github_repo_slug} ${output_file}

For example, to save the labels for the tests repository:

$ labeler scan -r kata-containers/tests tests.yaml