-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hey @hackebrot
I would like to propose the following changes
-
Remove
-u | --usernameoption and use token via HTTP headers.
It is not necessary and github will soon stop supporting password based authentication to its APIs. username is not necessary if HTTP headers are used, see this. -
This might be better suited under bugs. Because how
clickargs are defined,--helpis useless
forfetchandsyncwithout specifying-t | --tokenas it gives an error.Usage: labels [OPTIONS] COMMAND [ARGS]... Try "labels --help" for help. Error: Missing option "-t" / "--token".
-
Support GitHub enterprise
I think adding an optional argument which defaults toapi.github.comshould be sufficient. (for SSL system certs should be used, as its the most sane option) -
for option above, and for the token I would like to propose that we use
GITHUB_URLandGITHUB_TOKENas env variables as they are better in my opinion thanLABELS_TOKEN -
Because above changes are breaking changes we need to bump minor version
-
Docker

I am not proposing that you provide docker images. because I already do it anyway and will be happy to maintain the images on GitHub and DockerHub. -
May be I am spoiled by Go. Use Pyinstaller for packaging it into a binary? its always nice to have a self contained static binary.(I know about libc requirements) Though, I am not too keen on this one.
-
This one may be my peeve,
isortandblackfor formatting?
I have already completed work on most of them, (needs a bit more testing for GitHub Enterprise) and will be happy to submit PR(s) if you are willing to accept any of these.