[Pkg-zope-developers] packaging decision
martin f krafft
madduck@debian.org
Sun, 24 Apr 2005 15:33:01 +0200
--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
How will we be packaging products and other zope addons in the
future. I am currently working on zope-psycopg, which does not exist
for 2.7 yet.
=46rom what I know, the future will have products installed into
/usr/share/zope/Foo, so that /usr/share/zope and then tree-linked
into an instance's Products directory.
As long as we do not have dzhandle, we must still install products
to /usr/lib/zope or /usr/lib/zope2.7. This calls for extra packages,
since the existing 2.6 packages cannot always just include code for
both. For instance, zope-psycopgda would have to depend on
zope2.7 | zope, python2.3-psycopg | python2.2-psycopg
People with zope 2.6 installed who pull in the package will get the
2.3 version. This will break things.
Thus, the short-term solution is to provide zope-psycopgda and
zope2.7-psycopgda, which both tree-link into /usr/lib from the files
installed by zope-psycopgda-common, and which then pre-compile the
modules. Of course, zope-psycopgda-common could be dropped and code
duplicated between zope2.7-psycopgda and zope-psycopgda, which is
what my patch in #292247 does. That's ugly though.
In the long run, zope-psycopgda-common and zope2.7-psycopgda will
then be dropped again, and zope-psycopgda will install to
/usr/share, expecting people to use dzhandle for instances. This is
still a while into the future and will require a challenging
migration path to be developed.
Do people have thoughts on the issue? Or are there better
suggestions?
Thanks,
--=20
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
=20
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
=20
"in matters of grave importance, style, not sincerity is the vital
thing."
-- oscar wilde
--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCa6ANIgvIgzMMSnURAsXEAJ9CKa6yo/0jyn/8VZNo35fm1mctygCeJgXT
j8g7+h/ShcjiW2+CfOal3J4=
=PNls
-----END PGP SIGNATURE-----
--8t9RHnE3ZwKMSgU+--