mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 05:58:04 +00:00
Move tool as part of static checks migration. Fixes #8187 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com> Signed-off-by: Derek Lee <derlee@redhat.com> Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com> Signed-off-by: Graham Whaley <graham.whaley@intel.com> Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Marco Vedovati <mvedovati@suse.com> Signed-off-by: Peng Tao <bergwolf@hyper.sh> Signed-off-by: Shiming Zhang <wzshiming@foxmail.com> Signed-off-by: Snir Sheriber <ssheribe@redhat.com> Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> |
||
---|---|---|
.. | ||
labeler-original-labels-kata-containers-ci.yaml | ||
labeler-original-labels-kata-containers-community.yaml | ||
labeler-original-labels-kata-containers-kata-containers.yaml | ||
labeler-original-labels-kata-containers-tests.yaml | ||
README.md |
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