phar-io / phive

The Phar Installation and Verification Environment (PHIVE)
https://phar.io
BSD 3-Clause "New" or "Revised" License
579 stars 43 forks source link

Travis fails with 403 #126

Closed jaapio closed 6 years ago

jaapio commented 6 years ago

For some reason my travis build fails with an 403 error. I can't repoduce this on my machine. Do you know a reason why this might happen?

The specific job: https://travis-ci.org/phpDocumentor/phpDocumentor2/jobs/316622580

theseer commented 6 years ago

Github usually replies with a 403 if their API-Rate-Limit has been hit.

Interesting to have that happen on travis. One would expect travis' IPs to be white listed. We do have a ticket pending to allow custom github api tokens to not rely on that.

jaapio commented 6 years ago

It might be that this beta build stages machines are not whitelisted...

theseer commented 6 years ago

We might also add explicit support for Github's Rate-Limit to show a more helpful error message. I think we might open a ticket for that as well.

theseer commented 6 years ago

You might also add phive's home directory to the cache to reduce downloads/api calls.

I think there is nothing left for us to do here, so I'll close the ticket. Feel free to keep commenting :)

theseer commented 6 years ago

Short heads up: As of version 0.9.0 phive supports github auth tokens.

jaapio commented 6 years ago

Thanks for the heads up!