[Pkg-zope-developers] po-debconf transition and zope packages

Fabio Tranchitella kobold at debian.org
Mon Sep 18 07:12:17 UTC 2006


Il giorno dom, 17/09/2006 alle 15.16 +0200, Thomas Huriaux ha scritto:
> Hi,
> 
> I'm currently tracking packages which are still not using po-debconf for
> debconf l10n, and 5 zope packages still appear on the list:
>   zope-cmfplone, zope-cps, zope2.8, zope2.9 and zope3
> 
> These 5 packages are only using internal templates. It is therefore
> pointless to switch to po-debconf. However, I couldn't find how these
> internal templates are used, and I'm wondering if they can simply be
> removed (maybe they were needed only before using zope-common). Please
> note that I have no knowledge at all about zope packaging, so I may be
> mistaking.
> It would be nice if you could just give me a very short explanation about
> these templates (only if they are still being used or if they can be
> removed).

Those internal templates are required (AFAICK) for registering templates
from the zope-common package. Zope packages that provide pre-packaged
instances register the template from zope-common as follow:

db_register zope-common/remove-instance-without-data \
    $PKG/remove-instance-without-data || true
db_subst $PKG/remove-instance-without-data instance "$INSTANCE" || true
db_subst $PKG/remove-instance-without-data zver "$ZVER" || true
if db_go; then
...

These snippets of code are added in the  maintainer scripts by
zope-debhelper.

If you think it is possible to register common templates for multiple
packages without using internal templates, please provide a patch: when
I tried, it failed and adding them was the only way to fix it. I suspect
that if the package doesn't have templates at all, debconf fails to work
as I would expect.

Have a nice day,

-- 
Fabio Tranchitella <kobold at debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20060918/ac1f1861/attachment.pgp


More information about the Pkg-zope-developers mailing list