[Cubicweb] CW app distribution with a not brand new cw version

Florent Cayré florent at secondweb.fr
Mon Apr 19 10:39:01 CEST 2010

Hi there,

the high rate of cubicweb versions delivery raises a problem : how to
distribute an application that uses not the latest logilab debian repo
published cw version, but say, the latest of the 3.6 series ?

Until now I was very happy to tell my customers they could install my
applications using a very simple "apt-get install cubicweb-MYCUBE" command,
but apt will fetch the latest cw version, ignoring dependency instructions
like "Depends: cubicweb-common (= 3.6.3-1)" present in my application's
debian control file. The only solution I found is to ask the customer to
specify ALL cw and related packages versions (logilab-common, rql, indexer,
yams, etc.) but the corresponding apt-get command becomes ugly. Is there
something I miss regarding apt-get usage? I am aware of pinning
capabilities, but can not figure out how it could help in this situation
(first requirement being the solution must be simpler than specifying all
package versions on the apt-get command line).

Once installed, this is no more a problem because upgrading your application
does not imply upgrading cw as well. Note however that the customer can not
"apt-get dist-upgrade" either. Is the only solution to this (more debian-
than cubicweb- related) problem to have all needed cw packages in the same
debian repo than the application itself? If so, is there a simple solution
to distribute them myself without rebuilding them all (I use logilab debian
dedicated tools)?

Thanks for your help.

Ce message est la propriété de SecondWeb et peut contenir des informations
confidentielles. Si vous n'êtes pas le destinataire désigné, nous vous
remercions de bien vouloir nous en aviser immédiatement et de nous retourner
ce message ou de le détruire, sans faire un quelconque usage de son contenu,
ni le communiquer ou le diffuser, ni en prendre copie, électronique ou non.

This message is the property of SecondWeb and may contain confidential
information. If you are not the designated recipient, please notify us
immediately and return the message to us or destroy it, without making any
use whatsoever of the contents thereof. Furthermore you should not forward
or copy the message by electronic or other means.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100419/fafdb8e2/attachment-0186.html>

More information about the Cubicweb mailing list