diff options
| author | Wladimir J. van der Laan <[email protected]> | 2019-01-16 12:12:02 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2019-01-16 12:12:14 +0100 |
| commit | bcdd31f26569f8472d12a794900bc109d6d7964b (patch) | |
| tree | 3e9303d8bcad46f3568822eba4931e631d0e45d4 /src/httpserver.cpp | |
| parent | Merge #15170: refactor/lint: Add ignored shellcheck suggestions to an array (diff) | |
| parent | contrib: Allow use of github API authentication in github-merge (diff) | |
| download | discoin-bcdd31f26569f8472d12a794900bc109d6d7964b.tar.xz discoin-bcdd31f26569f8472d12a794900bc109d6d7964b.zip | |
Merge #15165: contrib: Allow use of github API authentication in github-merge
f1bd219a5b318e4bea361e1247a233e4f251f517 contrib: Allow use of github API authentication in github-merge (Wladimir J. van der Laan)
a4c5bbfcd3a12f310b26cccc78ded32dd3f32ebb contrib: Add support for http[s] URLs in github-merge (Wladimir J. van der Laan)
059a3cffdfa596aa3adaace3f57fa86fdd3f80fc contrib: Detailed reporting for http errors in github-merge (Wladimir J. van der Laan)
Pull request description:
Three commits I had locally for `github-merge.py`:
- *Detailed reporting for http errors in github-merge*: Print detailed error, this makes it easier to diagnose github API issues.
- *Add support for http[s] URLs in github-merge*: Sometimes it can be useful to use github-merge with read-only access (say, for reviewing and testing from untrusted VMs).
- *Allow use of github API authentication in github-merge*: The API request limit for unauthenticated requests is quite low. I started running into rate limiting errors. The limit for authenticated requests is much higher. This patch adds an optional configuration setting `user.ghtoken` that, when set, is used to authenticate requests to the API.
Tree-SHA512: ca8ae1874a787263e49d915d7cf31c0c0f50aba229c9440265bf1fda69f7e00641d1492512b93d76c17ff1766859283d640d37770acb120898736ad97efbd5c2
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions