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=$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,

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


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to