Support for GitHub API tokens added (fixes Hexxeh/rpi-update#151) (#237)

* Support for GitHub API tokens added (fixes Hexxeh/rpi-update#151)

Use it like this:

$ sudo GITHUB_API_TOKEN=“<my-api-token”> rpi-update

* Added details about the GITHUB_API_TOKEN option to README

* Corrected headline level
This commit is contained in:
Alexander Graf
2017-03-15 15:16:18 +01:00
committed by popcornmix
parent d74ace7328
commit cabadf0b91
2 changed files with 23 additions and 9 deletions

View File

@@ -130,7 +130,13 @@ To just get a list of commits contained in rpi-update since you last updated, ru
This won't update your firmware
#### Troubleshooting
#### `GITHUB_API_TOKEN`
By default, `rpi-update` will not use a custom GitHub API token. If you run into rate limiting issues, you can supply an API token on the command line:
sudo GITHUB_API_TOKEN=<your API token> rpi-update
## Troubleshooting
There are two possible problems related to SSL certificates that may prevent
this tool from working.