Re: Packaging Plone for Debian and other distribution systems

Alex Clark <[email protected]>
Newsgroups gmane.comp.web.zope.plone.installers
Organization ACLARK.NET, LLC
Message-ID <[email protected]>
On 2010-02-05, Michael Mulich <[email protected]> wrote:
> Erik Rose and I are working on packaging Plone for Debian for the next 
> version of WebLion Hosting here at Penn State University. I know the 
> basics of the Debian packaging system, but Erik will be handling the 
> majority of that. For the moment I am focusing on package Plone so that 
> it may easily be used outside of a zc.buildout configuration (aka 
> buildout). 
> I personally want to be able to install Plone from the 
> command line in a virtual environment (virtualenv). A perfect example is 
> the way repoze.plone is installed (ref 
> http://repoze.org/quickstart.html#repoze.plone ).
> The reason I want to install Plone from the command line is because it 
> gets me closer to the problem at hand, rather than worrying about how to 
> build the package before I've even started it. I've been developing 
> other projects like this: 1) create a virtualenv 2) easy_install or 
> include a requirement in my project's egg 3) easy_install myproject. 
> Works great! Repeatable... well, depends on the project.

You can do that now (with Plone 4), but you won't get a Zope 2 instance with 
it (which is what we use recipe plone.recipe.zope2instance for). repoze.plone
(which has been deprecated since Plone was converted to eggs) and running 
Plone w/WSGI in general, has the luxury of not requiring Zope 2.

> Sidnei da Silva <dreamcatcher@us...> wrote:
> That is a lot of deb files... A base Plone instance is made up of about 
> 190 eggs. To maintain all those eggs as Debian packages would be hell. 

+1

> What I am proposing is the use of the known-good-set (KGS) -- which 
> Sidnei also mentions -- that is provided by the versions.cfg to produce 
> a single deb that contains all the eggs that make up Plone.
> I've already written my thoughts down in the WebLion wiki at 
> http://weblion.psu.edu/trac/weblion/wiki/PackagingPlone . Additionally, 
> I will be periodically updating the wiki page as I develop a solution. 
> Rather than rewrite all of that here, I figure you can read about it 
> there. :)
> What's not in the wiki page yet is about the current progress that I've 
> made towards actually creating a solution. So in summary... My short 
> term goal is to create an egg/package called plonelibs, which is similar 
> to repoze.plone's plonelibs. I'm working on creating this egg 
> dynamically using a buildout. I've got the build process working. Now 
> I'm working on a fork of collective.recipe.omelette that will actually 
> copy the contents of eggs rather than simply creating symbolic links. 
> After this, I believe I will be able to tag a release of plonelibs for a 
> particular version specified via command line options in the build 
> command. Furthermore, this plonelibs package will be used to create a 
> single Debian package for Plone.
…
> Let me know what you think of my thoughts. Thanks.

OK so you want to create a Plone libs tarball and package it as a .deb,
sounds good to me. I like the omelette hack too (why not just make
that an option for collective.recipe.omellette proper though, instead of forking?)

Note (as I explained to Erik, on IRC) my goals are somewhat different in that
I only really care about providing multi-platform installers for people to use,
to get more people using Plone. I'm not *as* interested in using the packages
myself (i.e. I don't have to run WebLion).

> -Michael Mulich (pumazi)
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com


-- 
Alex Clark · http://aclark.net
Plone 3.3 Site Admin · http://aclark.net/plone-site-admin


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Plone-installers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-installers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.