[Checkins] SVN: zopetoolkit/trunk/ Move the allow-picked-versionsfrom ztk.cfg to buildout.cfg. It's a policy decision thatshouldn't apply to the ZTK itself.
Roger Ineichen
dev at projekt01.ch
Fri Nov 13 10:57:25 EST 2009
Hi Hanno
> Betreff: [Checkins] SVN: zopetoolkit/trunk/ Move the
> allow-picked-versionsfrom ztk.cfg to buildout.cfg. It's a
> policy decision thatshouldn't apply to the ZTK itself.
>
> Log message for revision 105599:
> Move the allow-picked-versions from ztk.cfg to
> buildout.cfg. It's a policy decision that shouldn't apply to
> the ZTK itself.
please corret me if I'm wrong,
as far as I understand you can allways override
package versions in a buildout.cfg file which will extend the
kgs.cfg which uses allowed-picked-versions=false flag.
What you can't do is, using a KGS file with allowed-picked-versions=false
and use a package which defines another versions for other controlled
packages then defined in the KGS without to re-define the newer versions
for the "other" packages too in your custom buildout.cfg.
The goal of using a KGS is to fix versions at a central place
and prevent using versions which get defined in packages
(different then in KGS).
I guess what you like to get is the option to define a new
version for a specific package and this package pulls in other
package versions. And then the allowed-pciked-versions flag
forces buildout to raise an error till you define all new versions
in your buildout.cfg (explicit override)
If you remove the allowed-picked-versions flag, you will make
the KGS concept unstable but at the same time there will no
error get raised.
The only goal of removing the allowed-picked-version flag
is if someone does not like to re-define the different package
versions which get pulled in if you change s single new
package version because this new package uses other new packages.
But then we don't talk about a "known good set" that's more a
"known starter set".
My summary,
as far as I understand removing allow-picked-versions
delegates the version control to the packages. right?
anyway,
it doesn't really matter to me since we define allow-picked-version=false
in our projects. I just like to know everybody that this is not
a simple change.
Regards
Roger Ineichen
> Changed:
> U zopetoolkit/trunk/buildout.cfg
> U zopetoolkit/trunk/ztk.cfg
>
> -=-
> Modified: zopetoolkit/trunk/buildout.cfg
> ===================================================================
> --- zopetoolkit/trunk/buildout.cfg 2009-11-13 13:01:25 UTC
> (rev 105598)
> +++ zopetoolkit/trunk/buildout.cfg 2009-11-13 13:05:20 UTC
> (rev 105599)
> @@ -2,6 +2,7 @@
> parts = test-ztk depgraph
> extends = ztk.cfg
> versions = versions
> +allow-picked-versions = false
>
> [versions]
> z3c.recipe.compattest = 0.9
>
> Modified: zopetoolkit/trunk/ztk.cfg
> ===================================================================
> --- zopetoolkit/trunk/ztk.cfg 2009-11-13 13:01:25 UTC (rev 105598)
> +++ zopetoolkit/trunk/ztk.cfg 2009-11-13 13:05:20 UTC (rev 105599)
> @@ -128,7 +128,6 @@
>
> [buildout]
> versions = versions
> -allow-picked-versions = false
>
> [versions]
> z3c.recipe.compattest = 0.8.0
>
> _______________________________________________
> checkins mailing list
> checkins at zope.org
> https://mail.zope.org/mailman/listinfo/checkins
>
More information about the checkins
mailing list