[Product-Developers] Re: buildout with developing eggs without using svn:external
Tim Knapp
duffyd at kokorice.org
Sun Apr 13 07:34:01 UTC 2008
Hi,
On Sun, 2008-04-13 at 10:39 +1000, Dylan Jay wrote:
> Raphael Ritz wrote:
> > Dylan Jay wrote:
> >> Hi,
> >>
> >> I have a setup with where I have multiple plone sites on a single zope
> >> instance. I control this with two buildout .cfg files, devel.cfg and
> >> production.cfg.
> >> I keep this under svn and for each site I create a theme as an egg
> >> link that into the buildout in svn via svn:externals. This works great
> >> for production and testing as a single svn update brings in all the
> >> correct code for each of the themes.
> >> However during development I have several checkouts of this
> >> arrangement, one for each site I'm developing. svn update is
> >> site1_devel dir brings in all the themes and other eggs I've developed
> >> which aren't needed during development. This is a bit of a pain as its
> >> extra space and time.
> >>
> >> My question is, is there a better way of bring in eggs being
> >> developed? esp one I can use inside a buildout.cnf so I can make if
> >> different between production and development.
> >>
> >
> > If you had stopped here I would have recommended you to look at
> > infrae.subversion but ...
> >
> >> Infrae.subversion recipe might have been good put it only checks out
> >> in the parts dir rather than src dir.
> >>
> >
> > ... what's wrong with this?
>
> I want to check out code I'm working on. parts is not the place for code
> I'm working on as it can get nuked by buildout at any time right?
I use something like this when developing egg-based packages:
[nonzero]
recipe = z3c.recipe.egg:editable
find-links =
https://svn.plone.org/svn/collective/plonetheme.nonzero/trunk#egg=plonetheme.nonzero-dev
eggs =
plonetheme.nonzero
build-directory = src
develop = true
Only problem is, it doesn't update automatically when issuing the
bin/buildout command. I have to manually go into the packages directory
(in src) and issue svn update - unsure if there's a better way to do
this automagically?
HTH,
Tim
>
>
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
More information about the Product-Developers
mailing list