As discussed in collective/Collective#583, the ability to authenticate via OAuth should be added. My thoughts are to allow configuration via both command line option and environment variable (mentioned by @miohtama) for the OAuth token for the github-collective script.
As for actually creating this authorisation token, is there a need to have say another script to help create/manage it -- or is it going to be easy enough to give someone some curl commands to run? My thoughts are the latter since it's simple and avoids needing to store the client ID and secret as they can be looked up in the GitHub web interface when required.
As discussed in collective/Collective#583, the ability to authenticate via OAuth should be added. My thoughts are to allow configuration via both command line option and environment variable (mentioned by @miohtama) for the OAuth token for the github-collective script.
As for actually creating this authorisation token, is there a need to have say another script to help create/manage it -- or is it going to be easy enough to give someone some
curlcommands to run? My thoughts are the latter since it's simple and avoids needing to store the client ID and secret as they can be looked up in the GitHub web interface when required.