[Zope-dev] Zope 2 from buildout?

2009-02-13 Thread Chris Withers
Hanno Schlichting wrote:
 I had time to work on this on our Berlinale Sprint and this is now done!
 
 I marked the old Zope2.buildout area as retired after moving the code,
 so we don't confuse people anymore with two locations doing the same.

Out of interest, where can I learn more about Zope 2 from buildout?

It's something I'd certainly like to get involved in...

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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 2 from buildout?

2009-02-13 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13.02.2009 9:49 Uhr, Chris Withers wrote:
 Hanno Schlichting wrote:
 I had time to work on this on our Berlinale Sprint and this is now done!

 I marked the old Zope2.buildout area as retired after moving the code,
 so we don't confuse people anymore with two locations doing the same.
 
 Out of interest, where can I learn more about Zope 2 from buildout?
 
 It's something I'd certainly like to get involved in...

Related recipes:

plone.recipe.zope2install
plone.recipe.zope2instance

Andreas

- -- 
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- 
E-Publishing, Python, Zope  Plone development, Consulting

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

iEYEARECAAYFAkmVOfUACgkQCJIWIbr9KYylqACfZaJR0GuuWUa33Tus8KeMCOhx
zSYAoNNPKNyWMNIUxM/a5m/6iKIOC0mi
=HJwa
-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] Zope 2 from buildout?

2009-02-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Hanno Schlichting wrote:
 I had time to work on this on our Berlinale Sprint and this is now done!

 I marked the old Zope2.buildout area as retired after moving the code,
 so we don't confuse people anymore with two locations doing the same.
 
 Out of interest, where can I learn more about Zope 2 from buildout?
 
 It's something I'd certainly like to get involved in...
 

At this point, the SVN trunk *is* a buildout:

 $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk Zope-trunk
 ...
 $ cd Zope-trunk
 $ /oath/to/python2.5 bootstrap.py
 ...
 $ bin/buildout
 ...

Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJlWqt+gerLs4ltQ4RAo3XAJ9B+VP3j8ePwkKB5pA8WJQPh88KwwCguudD
VTpAVraTmY8o36Jw6nhdDv0=
=nUw6
-END PGP SIGNATURE-
___
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 2 from buildout?

2009-02-13 Thread Chris Withers
Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Chris Withers wrote:
 Hanno Schlichting wrote:
 I had time to work on this on our Berlinale Sprint and this is now done!

 I marked the old Zope2.buildout area as retired after moving the code,
 so we don't confuse people anymore with two locations doing the same.
 Out of interest, where can I learn more about Zope 2 from buildout?

 It's something I'd certainly like to get involved in...

 
 At this point, the SVN trunk *is* a buildout:
 
  $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk Zope-trunk
  ...
  $ cd Zope-trunk
  $ /oath/to/python2.5 bootstrap.py
  ...
  $ bin/buildout

Wow, I didn't know that...

I'll definitely have to give it a go. Anyone tried it on Windows?

With this model, how would I go about making changes to one of the eggs 
that make up the buildout and then run all the tests?

cheers,

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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 2 from buildout?

2009-02-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Chris Withers wrote:
 Hanno Schlichting wrote:
 I had time to work on this on our Berlinale Sprint and this is now done!

 I marked the old Zope2.buildout area as retired after moving the code,
 so we don't confuse people anymore with two locations doing the same.
 Out of interest, where can I learn more about Zope 2 from buildout?

 It's something I'd certainly like to get involved in...

 At this point, the SVN trunk *is* a buildout:

  $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk Zope-trunk
  ...
  $ cd Zope-trunk
  $ /oath/to/python2.5 bootstrap.py
  ...
  $ bin/buildout
 
 Wow, I didn't know that...
 
 I'll definitely have to give it a go. Anyone tried it on Windows?
 
 With this model, how would I go about making changes to one of the eggs 
 that make up the buildout and then run all the tests?

Same as any other buildout:  Check out the egg, make it a 'develop'
entry in your buildout.cfg, re-run buildout, then run tests.  Lather,
rinse, repeat...


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJlWwe+gerLs4ltQ4RAreqAKCBG2TBnu7nY8t/mastoJY6klgfwQCg0Yp5
E3/iKR4c3+/hYKyudc43Yps=
=Ppzu
-END PGP SIGNATURE-
___
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 2 from buildout?

2009-02-13 Thread Chris Withers
Tres Seaver wrote:
 At this point, the SVN trunk *is* a buildout:
 
  $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk Zope-trunk
  ...
  $ cd Zope-trunk
  $ /oath/to/python2.5 bootstrap.py
  ...
  $ bin/buildout

Another question...

If I have a project that's Zope 2 based, how do I specify Zope 2 as a 
dependency? How do I specify a specific version of Zope 2?

I guess this equates to what does a Zope 2 instance look like now that 
we're buildout-based?

cheers,

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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 2 from buildout?

2009-02-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Tres Seaver wrote:
 At this point, the SVN trunk *is* a buildout:

  $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk Zope-trunk
  ...
  $ cd Zope-trunk
  $ /oath/to/python2.5 bootstrap.py
  ...
  $ bin/buildout
 
 Another question...
 
 If I have a project that's Zope 2 based, how do I specify Zope 2 as a 
 dependency? How do I specify a specific version of Zope 2?
 
 I guess this equates to what does a Zope 2 instance look like now that 
 we're buildout-based?

  install_requires=['Zope2=2.12dev'],


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJlW7D+gerLs4ltQ4RAgoNAJ9HgcodthVx13Wh/Xvxsz4/Pmif3ACfR84I
gb/mU0eU+ETOL7b6AKiJ1c8=
=mhS9
-END PGP SIGNATURE-
___
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 2 from buildout?

2009-02-13 Thread Chris Withers
Tres Seaver wrote:
 I guess this equates to what does a Zope 2 instance look like now that 
 we're buildout-based?
 
   install_requires=['Zope2=2.12dev'],

Okay, how do I get zopectl and runzope?
Where do I put my zope.conf?
Where do I put old-school products?

What would the following buildout.cfg give me:

[buildout]
parts = zope2instance
versions = versions

[version]
Zope2 = 2.12dev

[zope2instance]
recipe = zc.recipe.egg
eggs = Zope2

cheers,

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
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 2 from buildout?

2009-02-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Tres Seaver wrote:
 I guess this equates to what does a Zope 2 instance look like now that 
 we're buildout-based?
   install_requires=['Zope2=2.12dev'],
 
 Okay, how do I get zopectl and runzope?
 Where do I put my zope.conf?
 Where do I put old-school products?
 
 What would the following buildout.cfg give me:

Dude, run it and find out.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJlXCa+gerLs4ltQ4RAoDRAJwIVpeUbVI3Lv87lfU2Eiuz+Um2rQCgh+qX
ijxdMg5iUQc55CZs2RRvBK8=
=Kbm4
-END PGP SIGNATURE-
___
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 2 from buildout?

2009-02-13 Thread Stefan H. Holek
For the time being Zope2 must be used as a develop egg. Like e.g. so:
http://svn.zope.org/CMF.buildout/trunk/

Stefan


On 13.02.2009, at 13:49, Chris Withers wrote:

 I guess this equates to what does a Zope 2 instance look like now  
 that
 we're buildout-based?

___
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 )