lovelysystems / lovely.buildouthttp

zc.buildout extension to add http authentication for find-links and download recipies
Other
4 stars 9 forks source link

Add github repo whitelisting via github-repos buildout config #10

Closed 1stvamp closed 11 years ago

1stvamp commented 11 years ago

Github recently changed their API so that authentication details added to public repos, even though they're public, will still 401 if the details aren't correct.

Some projects use Github downloads (either static or auto-tarball based) as their canonical URLs, with no PyPi hosted version of the egg either, which has started breaking our builds (one of the high profile examples of this is bit.ly's asyncmongo MongoDB library for Tornado) as lovely.builtouthttp adds auth details to all Github URLs.

To get around this I've added a completely optional buildout.github-repos config option that takes a list of repos in the form <gituser>/<repos> and whitelists these URLs for auth details but otherwise skips them.

jukart commented 11 years ago

Great extension thanks

jukart commented 11 years ago

new version 0.4.6 is published on PyPi