[Erp5-dev] Buildout API
rafael at nexedi.com
rafael at nexedi.com
Mon Jan 10 01:51:03 CET 2011
Hi,
We would like to have it distributed and not only for eggs but for ALL
kind of downloads that should be done by the buildout. For example
haproxy setup [1]:
[haproxy]
recipe = hexagonit.recipe.cmmi
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.9.tar.gz
md5sum = 2cbcc95b54c0d803edaa13e7b4aeec25
This recipe uses zc.buildout.download (standard buildout API) and
requires this that url be online when you run buildout for the first
time.
Considering that we get files from multiple source, we increase the
changes that some service be offline, breaking the buildout setup.
Move all dependencies for a central server is not so good idea,
because this makes dependencies update quite hard and requires someone
copy all dependencies to this server. The good approach for all
downloads should be:
1st: Try Local cache (buildout download API already do this) which are
not available in the first run.
2nd: Try original URL (buildout download API already do this)
3rd: Try a cache server or "network cache" (what we want to do or know
if someone already did it)
This will guarantee that buildout could still running even original
source is offline. It is also preferred that ALL recipes can use this
network cache and be unified (or available) to download eggs too.
[1]
https://svn.erp5.org/repos/public/erp5/trunk/buildout/software-profiles/haproxy.cfg
Regards,
Rafael Monnerat
Quoting "Sascha Gresk" <sascha.gresk at opensource-consult.com>:
> Well as a first step you could provide a simple repository as seen
> on
>
> http://dist.plone.org
>
> as a fallback resource.
>
>
> regards,
> Sascha
>
> --
>
> creativity is based on your neighbourhood.
>
>
>
> Opensource-Consult ist:
> Kleingewerbebetrieb Sascha Gresk (Inhaber)
> Mobil : +4915124102341
> E-Mail: sascha.gresk at opensource-consult.de
> USt-IdNr: DE209886748
> Scharnhorststrasse 58
> 44147 Dortmund
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> https://mail.tiolive.com/mailman/listinfo/erp5-dev
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Erp5-dev
mailing list