[Zope-dev] allow-picked-versions=false in ztk.cfg?

Martijn Faassen faassen at startifact.com
Thu Oct 8 08:59:22 EDT 2009


Martin Aspeli wrote:
> Hanno Schlichting wrote:
>> On Wed, Oct 7, 2009 at 10:29 PM, Martijn Faassen <faassen at startifact.com> wrote:
>>>  > [ztk.cfg] contains a line
>>>
>>>  > allow-picked-versions = false
>>>
>>> I agree with Thomas that we should remove this from ztk.cfg, as if we
>>> publish this for reuse we don't want to impose this policy on everybody
>>> who builds on it.
>>>
>>> The question though is why this is in there in the first place.
>>> Presumably it is to ensure that the *ZTK* locks down all versions. I
>>> think we can reasonably ensure this by moving the
>>> 'allow-picked-versions' to the ZTK's "buildout.cfg" instead, right?
>> Yes, +1 for moving it to the buildout.cfg.
> 
> If we do that, I'd also suggest we use the 'buildout.dumppickedversions' 
>   extension. This prints the picked versions with some explanation about 
> what required them, either to a file or to the console. This is a useful 
> sanity check: if you see a package in there that looks spurious you may 
> ask whether it should've been pinned somewhere.

Does that make sense? After all, if we say allow-picked-version is 
false, there never will *be* any picked versions to dump. Or am I 
misunderstanding something?

Regards,

Martijn




More information about the Zope-Dev mailing list