Radu Cotescu created SLING-9083:
-----------------------------------

             Summary: Add support for authenticated requests when checking a 
release's build status
                 Key: SLING-9083
                 URL: https://issues.apache.org/jira/browse/SLING-9083
             Project: Sling
          Issue Type: Improvement
          Components: Tooling
            Reporter: Radu Cotescu
             Fix For: Committer CLI 1.0.0


The {{CIValidator}} checks if a release's build status is valid, when verifying 
a release. Depending on the network from which the requests originate, GitHub 
might enforce its API rate limiting, leading to a failure in the validator - 
the {{success}} JSON key is missing from the response. On one hand, the 
validator's JSON parsing could be improved to not fail if this key is missing. 
However if a request is authenticated (usually with a GitHub access token), the 
rate limiting is not enforced (or better said the limit is so high that it 
should not be reached).

This issue should implement both suggestions from above:
# make the JSON parsing more resilient
# optionally use a GitHub access token, if provided in the environment, top 
perform authenticated requests against the GitHub API



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to