Skip to main content

A zc.builout extension that allows you to specify and enforce md5 checksums for all downloads

Project description

:Author: `Filip Noetzel <http://filip.noetzel.co.uk/>`_
:Web: http://github.com/peritus/buildout-md5sums/
:Git: ``git clone git://github.com/peritus/buildout-md5sums.git``
(`browse source <http://github.com/peritus/buildout-md5sums/>`_)
:Download: `Downloads page on GitHub <https://github.com/peritus/buildout-md5sums/downloads>`_

Simple usage
++++++++++++

Use a buildout.cfg like this and the md5sum for the download-python target will be checked:

[buildout]
extensions = buildout-md5sums
md5sums =
http://python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2 = 376df294ae16e9601da989f8c4d8d432
http://python.org/ftp/python/2.7/Python-2.7.tar.bz2 = 0e8c9ec32abf5b732bea7d91b38c3339
parts = download-python

[versions]
python = 2.6.6

[download-python]
recipe = hexagonit.recipe.download
url = http://python.org/ftp/python/${versions:python}/Python-${versions:python}.tar.bz2

Using this setup, you can switch the downloaded version of python on the
command line while keeping the cryptographic checking alive:

$ ./bin/buildout versions:python=2.7 install download-python

Disallowing downloads without md5sums
+++++++++++++++++++++++++++++++++++++

If your buildout.cfg like this, the extension will make the buildout fail if
there is a download using zc.buildout.download without a md5sum specified:

[buildout]
extensions = buildout-md5sums
allow-picked-downloads = false

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

buildout-md5sums-0.1.a1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file buildout-md5sums-0.1.a1.tar.gz.

File metadata

File hashes

Hashes for buildout-md5sums-0.1.a1.tar.gz
Algorithm Hash digest
SHA256 4749d29417c5373a5af6cd8973851d16fc1386597cda353f8e59d8849ccbcff4
MD5 44aff2bc610d65490b34276eeb013235
BLAKE2b-256 f3ad5ac873e022e191950e90c6f456baa331ac3b2d3c95275f1b8d72ea3e6cb4

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