[Zope-dev] Changing and migrating persistence structure

2010-08-04 Thread Martin Aspeli
Hi, [I posted this to zodb-dev, but it seems that list isn't working at the moment(?) so I thought I'd try here too] I have a package (plone.registry) that currently has a persistent structure like this: Registry(Persistent) | +--> Records(Persistent) | +--> BTree of Record(Persist

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/5/10 00:16 , Willi Langenberger wrote: > According to Jens Vagelpohl: >> before=$(svn info $ROOT | grep "^Last Changed Rev:" | cut -d " " -f 4) >> svn up -q $ROOT >> after=$(svn info $ROOT | grep "^Last Changed Rev:" | cut -d " " -f 4) > > I thin

Re: [Zope-dev] Developer meeting 2010-08-02 at 15:00 UTC

2010-08-04 Thread Christian Theune
Hi, there notes from this weeks meeting should appear in a few minutes: http://docs.zope.org/zopetoolkit/zope-dev/zope-dev-20100803.html In short: Documentation improvements are making progress with Jens leading on making stuff accessible on doc.zope.org. Getting the packages in shape needs su

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Marius Gedminas
On Wed, Aug 04, 2010 at 05:41:08PM +0200, Wichert Akkerman wrote: > On 8/4/10 17:38 , Jens Vagelpohl wrote: > > IMHO trying to come up with some kind of programmatic algorithm to judge > > a bit of documentation as "good enough to show" is insane. I'm not > > going to attempt it. > > Fair enough.

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/10 17:41 , Wichert Akkerman wrote: > On 8/4/10 17:38 , Jens Vagelpohl wrote: >> Maybe "shitty" (for some definition of "shitty", as someone else would >> say) package docs will compel the maintainers to improve them. > > I doubt it, considering

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Wichert Akkerman
On 8/4/10 17:38 , Jens Vagelpohl wrote: > IMHO trying to come up with some kind of programmatic algorithm to judge > a bit of documentation as "good enough to show" is insane. I'm not > going to attempt it. Fair enough. > Maybe "shitty" (for some definition of "shitty", as someone else would > s

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/10 17:26 , Wichert Akkerman wrote: > I'm wondering: can it be made to skip useless docs such as > http://docs.zope.org/zope.hookable/index.html, perhaps by checking for > linecount? > > There are also a lot of packages that only have a change

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Wichert Akkerman
On 8/4/10 16:29 , Jens Vagelpohl wrote: > The script (see below) sits at the root of the documentation buildout > (such as the buildout at http://svn.zope.org/zopetoolkit/), which > precreates the necessary sphinx-build script (that's why I am modifying > $PATH). It's run every 15 minutes to detect

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/10 14:55 , Marius Gedminas wrote: > On Wed, Aug 04, 2010 at 11:09:58AM +0200, Jens Vagelpohl wrote: >> On 8/4/10 10:57 , Adam GROSZER wrote: >>> Hello Jens, >>> >>> Something is wrong with the automatic update of >>> http://docs.zope.org/zop

[Zope-dev] z3c.blobfile release and PyPI ownership

2010-08-04 Thread Martin Aspeli
Hi, I'd like to make a new z3c.blobfile release. Can I please have PyPI access? The current owners are uoestermeier, nadako. Cheers, Martin ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts o

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Marius Gedminas
On Wed, Aug 04, 2010 at 11:09:58AM +0200, Jens Vagelpohl wrote: > On 8/4/10 10:57 , Adam GROSZER wrote: > > Hello Jens, > > > > Something is wrong with the automatic update of > > http://docs.zope.org/zopetoolkit/ > > > > Recent changes don't seem to show up. > > I rebuilt it now. There's

[Zope-dev] Zope Tests: 32 OK, 9 Failed, 1 Unknown

2010-08-04 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Aug 3 12:00:00 2010 UTC to Wed Aug 4 12:00:00 2010 UTC. There were 42 messages: 6 from Zope Tests, 1 from buildbot at enfoldsystems.com, 4 from buildbot at pov.lt, 13 from buildbot at winbot.zope.org, 8 from ccomb at free.fr, 10 from jdries

Re: [Zope-dev] docs.zope.org automation

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/10 11:33 , Chris Withers wrote: > Jens Vagelpohl wrote: >>> I've just been doing some build and release tools for a customer that >>> involve this sort of stuff, I resorted to: >> >> >> Yikes. Maybe the subshell isn't so bad after all :-P > >

Re: [Zope-dev] docs.zope.org automation

2010-08-04 Thread Chris Withers
Jens Vagelpohl wrote: >> I've just been doing some build and release tools for a customer that >> involve this sort of stuff, I resorted to: > > > Yikes. Maybe the subshell isn't so bad after all :-P Yeah ;-) Although getting the right python path set up can be a pain... Here's the actual versi

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Chris Withers
Charlie Clark wrote: > As you know, I don't use Plone either. I'm also evil but in a different > way! The recipe just sets up a Zope 2 instance, which I believe is a bit > tricky to work on all platforms. It's a piece of piss and needs no special recipes: http://docs.zope.org/zope2/releases/

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Charlie Clark
Am 04.08.2010, 11:15 Uhr, schrieb Chris Withers : > yes, which it isn't for me, since it's evil and I'm not using Plone Well, I said it was the idiot's guide... As you know, I don't use Plone either. I'm also evil but in a different way! The recipe just sets up a Zope 2 instance, which I belie

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Chris Withers
Hanno Schlichting wrote: > If you have a package, which isn't in the "Products" namespace and > still want its initialize to be called, you need to add some bits to > your configure.zcml: > > Right, that's the bit I was after :-) Chris -- Simplistix - Content Management, Batch Processing & Py

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Hanno Schlichting
On Wed, Aug 4, 2010 at 11:13 AM, Chris Withers wrote: > Okay, but what about: > > > > ...causes Whatever/__init__.py's initialize method to get called? Yes. Eggified products behave in the same way as code dumped into one of the "products" directories. If you have a package, which isn't in the

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Baiju M
On Wed, Aug 4, 2010 at 2:45 PM, Chris Withers wrote: > Baiju M wrote: >>> >>> zcml = simplistix.MailTemplates to your instance configuration and you're >>> good. >> >> There is an assumption that plone.recipe.zope2instance [1] is used >> to create instances from Buildout. > > yes, which it isn't f

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Chris Withers
Baiju M wrote: >> zcml = simplistix.MailTemplates to your instance configuration and you're >> good. > > There is an assumption that plone.recipe.zope2instance [1] is used > to create instances from Buildout. yes, which it isn't for me, since it's evil and I'm not using Plone ;-) Chris -- Simp

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Chris Withers
Hanno Schlichting wrote: > On Wed, Aug 4, 2010 at 10:55 AM, Chris Withers wrote: >> What does a "regular ZCML slug" look like? > > My first Google hit is this > http://worldcookery.com/files/ploneconf05-five/step2.html :) yeah yeah... Okay, but what about: ...causes Whatever/__init__.py's in

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Baiju M
On Wed, Aug 4, 2010 at 2:33 PM, Charlie Clark wrote: > Am 04.08.2010, 10:56 Uhr, schrieb Jens Vagelpohl : > >> In essence: If your egg is in the "Products" namespace you don't need to >> do anything after adding it e.g. to the list of eggs for a Zope instance >> in your buildout.cfg. The product w

Re: [Zope-dev] docs.zope.org

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/10 10:57 , Adam GROSZER wrote: > Hello Jens, > > Something is wrong with the automatic update of > http://docs.zope.org/zopetoolkit/ > > Recent changes don't seem to show up. I rebuilt it now. There's a check in a shell script to see if

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Hanno Schlichting
On Wed, Aug 4, 2010 at 10:55 AM, Chris Withers wrote: > What does a "regular ZCML slug" look like? My first Google hit is this http://worldcookery.com/files/ploneconf05-five/step2.html :) > Is this setuptools namespace package magic making things work or is there > explicit code in Zope that doe

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Charlie Clark
Am 04.08.2010, 10:56 Uhr, schrieb Jens Vagelpohl : > In essence: If your egg is in the "Products" namespace you don't need to > do anything after adding it e.g. to the list of eggs for a Zope instance > in your buildout.cfg. The product will be recognized, installed, and any > configure.zcml in th

[Zope-dev] docs.zope.org

2010-08-04 Thread Adam GROSZER
Hello Jens, Something is wrong with the automatic update of http://docs.zope.org/zopetoolkit/ Recent changes don't seem to show up. -- Best regards, Adam GROSZER mailto:agros...@gmail.com -- Quote of the day: For happiness one needs security, but joy can spring l

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/10 10:52 , Hanno Schlichting wrote: > Hi. > > On Wed, Aug 4, 2010 at 10:31 AM, Chris Withers wrote: >> I'm in the process of egg-ifying some Zope 2 Products of mine (first up >> is MailTemplates) and I'm curious as to how add-in products work

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Chris Withers
Hanno Schlichting wrote: > For a general Python package to be picked up, you would need to add a > regular ZCML slug into the etc/package-includes directory of your > instance. What does a "regular ZCML slug" look like? > If your package is a namespace package in the 'Products' namespace, > then

Re: [Zope-dev] docs.zope.org automation

2010-08-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, > I've just been doing some build and release tools for a customer that > involve this sort of stuff, I resorted to: Yikes. Maybe the subshell isn't so bad after all :-P jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin)

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Hanno Schlichting
Hi. On Wed, Aug 4, 2010 at 10:31 AM, Chris Withers wrote: > I'm in the process of egg-ifying some Zope 2 Products of mine (first up > is MailTemplates) and I'm curious as to how add-in products work in an > egg-based Zope setup. > > Do I need to include anything in zope.conf or some zcml somewher

Re: [Zope-dev] docs.zope.org automation

2010-08-04 Thread Chris Withers
Jens Vagelpohl wrote: > I understand that. But it must be possible to do that programatically in > my code. I mean, "setup.py --long-description" obviously executes Python > code, which I may be able to execute myself in my current interpreter > session by importing and executing stuff from setupto

[Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Chris Withers
Hi All, I'm in the process of egg-ifying some Zope 2 Products of mine (first up is MailTemplates) and I'm curious as to how add-in products work in an egg-based Zope setup. Do I need to include anything in zope.conf or some zcml somewhere? If not how are products picked up? Where can I find th