Skip to main content

Specialized zc.buildout plugin to add http authentication support.

Project description

HTTP plugins for buildout

HTTP Basic-Authenication

Whith this extension it is possible to define password protected package directories without specifying the password and user in the url.

Example: protected location http://www.example.com/dist

File buildout.cfg: [buildout] find-links=http://www.example.com/dist extensions=lovely.buildouthttp

Create the password file, this file contains all authentication information. Each row consists of realm, uri, username, password.

file ~/.buildout/.httpauth: Example com realm, http://www.example.com, username, secret

Note that basic auth also works with any recipe using zc.buildout.download (e.g. hexagonit.recipe.download) because this extension also overwrites the url opener of zc.buildout.

Github Private Downloads

Private downloads on http://github.com/ are protected by a user token (see: http://github.com/blog/170-token-authentication). This extension allows to use such urls too. It uses the global git configuration for github.user and github.token. For setting up this config see http://github.com/blog/180-local-github-config.

Credits

Thanks to Tarek Ziade for bugfixes and extensions.

Changes for lovely.buildouthttp

2010/08/28 0.3.2:

  • silently ignore failing git credential lookups

2010/05/28 0.3.1:

  • python2.4 comptibility fix (thanks to Godefroid Chapelle)

2010/05/27 0.3.0:

  • added support for zc.buildout.download, this allows various download recipes to work with this credential extension. Requires at least zc.buildout version 1.5.0b2

2010/03/24 0.3.0a1:

  • added github authentication, which now allows to download from private github repositories

2009/09/22 0.2.3:

  • added tests for the installer

  • fixed error when url can’t be retrieved: AttributeError: ‘NoneType’ object has no attribute ‘url’ [naro]

2008/03/22 0.2.2:

  • added try/except around the retry section protection against weird URLs

2007/12/08 0.2.1:

  • avoid an error when the realm is wrong or the file on bad realms and a few other controls. Thanks to Tarek Ziade.

2007/08/06 0.2.0a1:

  • don’t overwrite handlers in case a handler already exists. (e.g. in paramiko) thanks to Aaron Lehmann

2007/07/23 0.1.0a3:

  • added information to setup.py, moved to cheeseshop

2007/06/21 0.1.0a2:

  • Log download failures

  • Fixed license header

  • Log connections on debug.

2007/06/14 0.1.0a1:

  • initial release

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lovely.buildouthttp-0.3.2.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file lovely.buildouthttp-0.3.2.tar.gz.

File metadata

File hashes

Hashes for lovely.buildouthttp-0.3.2.tar.gz
Algorithm Hash digest
SHA256 2ecaa2611f075eefdd37667d4352eb933d1f799fc8cec0a12e92cf4ff687e1a6
MD5 3d1ca0a19893c261006fd90d517baeea
BLAKE2b-256 81c9e4db02627672f8513ec135fe9b94e316634229c28c5d0c2b0bad10e9aa14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page