[Distutils] buildout in offline mode - install receipts also from cache?

Jim Fulton jim at zope.com
Mon Jan 21 15:12:53 CET 2013


On Mon, Jan 21, 2013 at 8:36 AM, Philippe Ombredanne
<pombredanne at nexb.com> wrote:
> On Sun, Jan 13, 2013 at 3:49 PM, Jim Fulton <jim at zope.com> wrote:
...
>> - Do nothing.  And just document the somewhat weird semantics
>>   of the name.
>
> Leaving this ambiguity in offline longer would be unfortunate IMHO

It is, but some recipes check this option.  I'm just not up for
changing this now.

>> - Add a new option: install, such that install=false has the same
>> meaning as offline=true.
>>   Deprecate the offline option and accompanying command-line option.
>
> That would be the preferred approach IMHO
> Do you want a patch?

No. I decided to use the other option.  I now error
if install-from-cache is used with offline, and I've improved
the error message when requirements aren't satisfied in
offline mode (for buildout 2).

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm


More information about the Distutils-SIG mailing list