Skip to content

Commit

Permalink
click+requests task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Oct 25, 2017
1 parent 5e20d9e commit 94b8686
Show file tree
Hide file tree
Showing 4 changed files with 475 additions and 28 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# labelord

Global multi-project management of GitHub labels (MI-PYT@FIT CTU project)

----

This Python app allows user to do via CLI:

* List repositories
* List labels for given repository
* Run update/replace labels for multiple projects (labels are specified in configuration file or by template repo)

For more information please use `--help`.

This project is reference solution for Labelord tasks series in [cvut/MI-PYT](https://github.com/cvut/MI-PYT).

## Config

See included config file what are the options. You will need a personal GitHub token for using this application. You can get your token at https://github.com/settings/tokens. But be careful where you place it!


## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for more details.
28 changes: 28 additions & 0 deletions config.example.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Example config file for labelord

[github]
# GitHub personal token
# can be acquired https://github.com/settings/tokens
# you need "repo" scope
#
# !!! SECURE YOUR TOKEN !!!
#
# optionally you can provide token via
# GITHUB_TOKEN env variable
token = MY_GITHUB_TOKEN

# Specify labels with list:
[labels]
Bug = FF0000
Idea = 23FB89
Help wanted = 138499
# or with template repository:
[others]
template-repo = MarekSuchanek/myLabels

# Specify repositories for label management:
# (only those with true value are applied)
[repos]
MarekSuchanek/repo1 = on
MarekSuchanek/repo2 = on
CVUT/MI-PYT = off
Loading

0 comments on commit 94b8686

Please sign in to comment.