CPS now on Mercurial

Georges Racinet <[email protected]> Thu, 14 Jan 2010 20:06:13 +0100
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============2091613668==
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig67E4F8DC51A988511AFB9FF6"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig67E4F8DC51A988511AFB9FF6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello everyone.

First of all, best wishes for this new year and decade !

The switch of version control system from Subversion to Mercurial is now
complete. All suspended work can be resumed.

All CPS products and dependencies that were living in
http://svn.nuxeo.org/pub are now available as Mercurial repositories at
http://hgcps.nuxeo.org, with full history. We'll provide details about
the conversion process, the resulting hierarchy and push rules in
separate posts.

Versioning at the product level has always been the tradition in the
development of CPS. Products directories for custom or generic packaging
were assembled through svn externals in so-called "bundles".

For an example, you can check
https://svn.nuxeo.org/trac/pub/browse/CPS3/bundles/CPS-3-full

We used a dedicated tool, called "bundleman" (written by B. Delbosc) to
handle automatically tags creation, switching the externals to said
tags, creating tags of the bundle, producing the tarball, etc.
This allowed for a great reproductibility of installations and for clean
packaging much less error-prone than manual approaches.

Mercurial will allow for even more flexibility with those assemblies,
but does not come with the equivalent of svn externals
(hgforest is not powerful enough). To address these immediate needs as
long as we can't leverage zc.buildout in CPS, I've started to develop a
set of simple utilities (hgutils), the main one being "hgbundler".

Hgbundler could and probably will be the subject of a whole thread.
Here's just an example of how to get the CPS-3-full bundle from a
bash-like shell and read the documentation about hgutils:

$ hg clone http://hgcps.nuxeo.org/hgutils
$ less hgutils/specs.txt              # that's the current doc
$ export PATH=3D$PWD/hgutils:$PATH      # do whatever suits you of course=

$ hg clone http://hgcps.nuxeo.org/bundles
$ cd bundles/CPS-3-full
$ hgbundler.py make-clones

Have fun,

--=20
Georges Racinet, http://www.racinet.fr
Zope/CPS/Plone expertise, assistance & development
GPG: 0x4862FFF7



--------------enig67E4F8DC51A988511AFB9FF6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLT2slAAoJEOAffZJiF+Z4hvsIAL9qARsis+4fOHqkjbs4Ng2k
o9wiiICNeTSBdwBrfd0U04Z2qHPOyHL5woTIIDgYNaIS2XndFDE0vcFXzdd3UsGD
WPILMeKUA790MdjXqiGXCcGfK5aVYThvuWIP5b8bXeM/LbQdfCsz/i9TCAuEz0NR
lGbSGE5TWXPcIIRrQiyZNpWRQH9lVISKFnohHsOd7wPA+a02fX25mo4Zs4XqWxxw
dn6BuZPlf3zjHxGiRaMpcxcwytoSYxvQWHNZ08LrMACVp8KBh8z8ro4dDvrmyYC7
Z66rBIStRSwmMogK2oTzUWKMhddfiLDffaXsgRqsbmJEOBU5W7CVxSfIdAqQKds=
=sI1J
-----END PGP SIGNATURE-----

--------------enig67E4F8DC51A988511AFB9FF6--

--===============2091613668==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

--===============2091613668==--