Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Jim Fulton

On Mar 29, 2009, at 4:10 PM, Wichert Akkerman wrote:
...
 You can compare this with dpkg and apt on Debian and Ubuntu systems:
 dpkg is the lower level install that installs one or more packages. It
 only checks if the packages you install break any package conflicts
 and if their dependencies are met. It is simpler than easy_install: it
 will not look for or download packages itself. Python does not have a
 such a low level tool

Yes it does, the setup install command.

Jim

--
Jim Fulton
Zope Corporation


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Wichert Akkerman
On 3/30/09 4:04 PM, Jim Fulton wrote:

 On Mar 29, 2009, at 4:10 PM, Wichert Akkerman wrote:
 ...
 You can compare this with dpkg and apt on Debian and Ubuntu systems:
 dpkg is the lower level install that installs one or more packages. It
 only checks if the packages you install break any package conflicts
 and if their dependencies are met. It is simpler than easy_install: it
 will not look for or download packages itself. Python does not have a
 such a low level tool

 Yes it does, the setup install command.

That's not quite the same. If you give someone a .egg, .zip or a .tar.gz 
file they can't install it with a single command. For an egg you will 
need easy_install, for the other two it is a two step process of 
unpacking and calling setup.py.

Wichert.

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] ZEO for Zope 2.12.0a1 from buildout with no funky recipes ; -)

2009-03-30 Thread Chris Withers
Hi,

Well, I made some progress in that ZEO instances are just fine to get going.

Here's the buildout.cfg:

[buildout]
parts = zeoinstance
extends = versions2.cfg

[zeoinstance]
recipe = zc.recipe.egg
eggs =
   ZODB3
entry-points=
   runzeo=ZEO.runzeo:main
   zeoctl=ZEO.zeoctl:main
   zdrun=zdaemon.zdrun:main
scripts = runzeo zeoctl zdrun
initialization =
   import sys
   sys.argv[1:1] = ['-C','${buildout:directory}/etc/zeo.conf']

... with versions2.cfg and versions3.cfg coming from the same source as 
my previous zope instance attempt, and here's the zeo.conf:

%define INSTANCE .

zeo
   address 2000
/zeo

filestorage 1
   path $INSTANCE/var/Data.fs
/filestorage

eventlog
   level info
   logfile
 path $INSTANCE/log/zeo.log
   /logfile
/eventlog

runner
   program $INSTANCE/bin/runzeo
   daemon true
   forever false
   backoff-limit 10
   exit-codes 0, 2
   directory $INSTANCE
   default-to-interactive true
   zdrun $INSTANCE/bin/zdrun
   logfile $INSTANCE/log/zdrun.log
/runner

Now, one question I had was how to get $INSTANCE to be set to where the 
buildout.cfg is, rather than having it hardcoded to '.'?

'.' works just fine, provided you run the control scripts from within 
the buildout directory, but I don't know how to do that from cron.

So, two ideas:

- can ZConfig take stuff from the environment?
   (who maintains ZConfig now?)

- Hanno, what was that stuff you mentioned?

cheers,

Chris
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Paul Winkler
On Sun, Mar 29, 2009 at 11:47:14AM -0400, Jim Fulton wrote:
 I think an implementation of a better dependency resolution strategy in
 buildout would be a good place to start.  I think some limited  
 backtracking could go a long way. Anyone interested in working on this?

Ian's Pip tool tries to download everything and work out the complete
graph before doing any installation; I've no idea if any of that work
could be ported to buildout, but it might be worth a look?
https://svn.openplans.org/svn/pip/

(If you guys are both still at Pycon, might be worth a face-to-face
chat...)

-- 

Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.03.2009 11:08 Uhr, Paul Winkler wrote:
 On Sun, Mar 29, 2009 at 11:47:14AM -0400, Jim Fulton wrote:
 I think an implementation of a better dependency resolution strategy in
 buildout would be a good place to start.  I think some limited  
 backtracking could go a long way. Anyone interested in working on this?
 
 Ian's Pip tool tries to download everything and work out the complete
 graph before doing any installation; I've no idea if any of that work
 could be ported to buildout, but it might be worth a look?
 https://svn.openplans.org/svn/pip/
 
 (If you guys are both still at Pycon, might be worth a face-to-face
 chat...)


We resolved parts of the problem at PyCon yesterday but we need to
follow the Zope 3 approach and provide dedicated index page with
links to the pinned packages for use with easy_install.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknQ7vsACgkQCJIWIbr9KYz0IgCgwfy5K/r/wNYZnr9TMEaCr0V3
RQwAn0lQER/OFLnTApOtF1E85+6UcKrw
=AuCI
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Jim Fulton

On Mar 30, 2009, at 12:08 PM, Paul Winkler wrote:

 On Sun, Mar 29, 2009 at 11:47:14AM -0400, Jim Fulton wrote:
 I think an implementation of a better dependency resolution  
 strategy in
 buildout would be a good place to start.  I think some limited
 backtracking could go a long way. Anyone interested in working on  
 this?

 Ian's Pip tool tries to download everything and work out the complete
 graph before doing any installation; I've no idea if any of that work
 could be ported to buildout, but it might be worth a look?
 https://svn.openplans.org/svn/pip/

But this is about determining the complete graph.

Jim

--
Jim Fulton
Zope Corporation


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-30 Thread Paul Winkler
On Mon, Mar 30, 2009 at 12:29:16PM -0400, Jim Fulton wrote:
 On Mar 30, 2009, at 12:08 PM, Paul Winkler wrote:
 Ian's Pip tool tries to download everything and work out the complete
 graph before doing any installation; I've no idea if any of that work
 could be ported to buildout, but it might be worth a look?
 https://svn.openplans.org/svn/pip/

 But this is about determining the complete graph.

I don't understand. What did I say that wasn't relevant to that?

-- 

Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope and Cygwin

2009-03-30 Thread Cesar Canassa
It would be possible to modify the plonectl script in order to make it run
without using the zdaemon? Similar to way that the runzope used to work.

I am using the Plone unified installer, it doesn't comes with the runzope
script.

Thanks,
Cesar

2009/3/29 Dieter Maurer die...@handshake.de

 Cesar Canassa wrote at 2009-3-27 19:56 -0300:
 Does Zope requires that a root user should exist on system in order to
 run
 properly? I am asking this because when I try to run Zope as a daemon I
 got
 this:
 
 $ ./plonectl start
 instance: . . . . . . . . . . . . . . . . . . . Unlinking stale socket
 /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
 sleep 1
 
 No handlers could be found for logger root
 . Unlinking stale socket
 /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
 sleep 1
 . Unlinking stale socket

 The continued Unlinking stale socket means that your zdaemon is dieing.


 zdaemon is not supposed to work under Windows.

 I am unsure whether this also includes Cygwin on Windows.
 Your observation may indicate that it actually does


 Try to configure logging for your zdaemon and look into its logfile.
 If this does not reveal hints, modify the zdaemon code to ensure
 that problems are logged to a file you know.


 --
 Dieter

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Buildbot for Zope 3

2009-03-30 Thread Sebastien Douche
Hi,
sad time for zope 3:
http://zope.buildbot.securactive.org/waterfall

Tell me if you other things (I want repoze, python and Tarek's distutils).

-- 
Sebastien Douche sdou...@gmail.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] snakebite

2009-03-30 Thread Martijn Faassen
Hey,

On Mon, Mar 23, 2009 at 4:46 AM, Adam GROSZER agros...@gmail.com wrote:
 Any chance on beating on this? Or somewhere else to have a buildbot
 slave on win32?

 Just touched zc.buildout trunk and it seems to fail miserably on
 win32.

Hey, I'd be very happy is someone took the initiative of contacting
the snakebite people and getting it going. Please volunteer and get
talking on the snakebite mailing list.

If you need to contact Titus Brown who I believe is involved in this,
I know him a little, and I can involve him in the discussion.

But we need one or more volunteers to push this.

Regards,

Martijn
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )