[Zope-dev] [Checkins] SVN: zope.file/trunk/ Update package mailing list address. Remove zpkg stuff.

Tres Seaver tseaver at palladion.com
Wed Mar 4 18:36:54 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martijn Faassen wrote:
> Baiju M wrote:
>> On Tue, Mar 3, 2009 at 2:35 PM, Dan Korostelev <nadako at gmail.com> wrote:
>>> 2009/3/2 Tres Seaver <tseaver at palladion.com>:
>>>>>> -<include package="zope.file"/>
>>>>> I believe people still use the ZCML "slug" files like the above.
>>>> They certainly aren't related to 'zpkg'.  The intent of the slugs was to
>>>> allow for something like 'sites-available' / 'sites-enabled' (the
>>>> pattern in a stock Debian Apache2 install).
>>>>
>>>> I think it is particularly unfortunate to remove support for explicit,
>>>> granular configuration at the same time as folks seem to be jumping to
>>>> implicit (aka "majyk") tools.
>>>>
>>>> Please revert this part of the change.
>>> I just reverted the change, however, I don't think that the "slug"
>>> files are useful anymore.
>> I cannot see similar slugs in other packages either.
> 
> Agreed. I don't understand Tres's or Benji's point either; thanks to 
> buildout we've left such slugs long behind us I thought. Typically 
> people would symlink these into an old old installation of Zope 3 (or 
> copy them over).
> 
> Explicit granular configuration isn't broken at all; if you want to 
> explicitly include zope.file, you include its configure.zcml, not its 
> "zope.file-configure.zcml".
> 
> Unless Tres comes back with some convincing explanation soon, please do 
> get rid of this stuff.

Those files exist to allow for a use case we may have abandoned, which
is allowing packages to be installed in such a way that a tool could
help users enable / disable their configurations, without mutating
something like 'site.zcml'.  The folks who might have that usecase are
those who package zope3 components for deployment outside buildout (as
.deb / .rpm, etc.)

I don't know if there is such an audience;  Benji also pointed out that
he thought there were such folks.  My initial reaction to Dan's removal
was that the checkin message ("remove zpkg stuff") had nothing to do
with that particular change:  'zpkg' was entirely separate from slugs.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJrxCW+gerLs4ltQ4RAlKOAJ4iMu+SQUceUq0w5Fh9+bmBNeALlACfTPAG
N2Uc9sTzSBFXvy2Vh5LGw/g=
=13vt
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list