extends from a URL does not respect "newest = false"

Bug #717730 reported by Rafael Monnerat
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The option "newest = false", has no effect when extends a URL is used, URLs are downloaded and extends are updated for every buildout run. Considering the followed buildout.cfg:

newest = false
extends =
extends-cache = extends-cache

And the followed steps:

$ python bootstrap.py # All extends are downloaded into extends-cache folder.
$ bin/buildout # All extends are downloaded again into extends folder and use offline is not an option available.

The extends files should be not downloaded again during "bin/buildout" due "newest = false", and only new files should be downloaded.

I'm attaching proposal patch to fix this problem.

Revision history for this message
Rafael Monnerat (rafael-nexedi) wrote :

I'm attaching a patch.

In the patch, we provide to zc.buildout.download.Download, the appropriate fallback argument, which makes it avoid download again already downloaded files, present in extends-cache.

Revision history for this message
Rafael Monnerat (rafael-nexedi) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers