[Zope-dev] Zope tests: 8 OK

2006-01-18 Thread Zope tests summarizer
Summary of messages to the zope-tests list.
Period Tue Jan 17 12:01:01 2006 UTC to Wed Jan 18 12:01:01 2006 UTC.
There were 8 messages: 8 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:03:32 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004034.html

Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:05:03 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004035.html

Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:06:33 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004036.html

Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:08:03 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004037.html

Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:09:33 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004038.html

Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:11:03 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004039.html

Subject: OK : Zope-2_9-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:12:33 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004040.html

Subject: OK : Zope-trunk Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Tue Jan 17 21:14:03 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-January/004041.html

___
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] December release post-mortem

2006-01-18 Thread Jim Fulton

Now that I've had a week or so to recover from making the Zope 3
releases, I'd like to look at how we did on our first timed releases.

Of course, the releases didn't happen in December.  In fact, the Zope 2
Windows release still hasn't happened.

That we were late isn't a great surprise, given that this was
our first timed release.  The beginning of the release cycle was delayed
because people didn't really realize/remember that we needed to freeze by
November 1.

The release was delayed past December in large part due to problems
found with the Zope 3 Twisted server.  In retrospect, I should have accepted
these, made ZServer the default and marked the twisted server experimental.
Instead, I spent 2 weeks thinking the resolution only needed a few more hours
of work.  I should have known better.  I'm disappointed that the people
pushing the Twisted server didn't provide more help during this period, but
it was a holiday time and one of the main drivers, Stephan, warned way
in advance that we shouldn't be finishing a release during a holiday period.
Of course, we should have been finishing the release in early December.

In the future, if someone introduces a major change, they *must* be
committed to be available to deal with issues that arise during the
release cycle.  Perhaps we need to pick different release dates to
avoid holidays.  Stephan has suggested moving the dates up to
November/May rather than December/June.

And then there are the Windows releases.  Making Zope 2 windows releases
is very painful and there don't seem to be many people willing to help.
We've avoided the pain for Zope 3 by being less ambitious.  We let distutils
do most of the work.  The result is that making a windows release takes minutes
and is highly automated, but the experience for the end user is less than
ideal,  Many would rightfully argue that it is inadequate.  What we need
is a release process that is as easy as the Zope 3 windows release process
and produces a result as usable as the Zope 2 windows release.  I'm not sure
exactly what the answer is, but I am sure we need to take a fresh approach.
Whatever approach we take needs to be highly automated and must not require
a lot of specialized Windows expertise.

I think that packaging is a significant challenge to our release process.
The Zope 2 release was complicated by the use of zpkg.  The zpkg system
was developed to allow us to decouple the Zope 3 repository and releases.
It was too painful to mold the repository to fleeting release decisions.
We wanted people to put experimental and add-on applications in the
repository so that they would be tested as we rapidly evolved things.  While
zpkg was crucial for the last 3 releases, I don't think it provides the best
long-term approach.  Rather than extracting a release from a larger repository
tree, I think it would be better, going forward, to assemble a release from
smaller individual repository trees or from releases.  This is feasible because:

- Python is finally growing a packaging system with eggs,

- buildbot provides a mechanism for getting things tested without
  putting everything in a single repository, and

- the new test runner's layer makes it feasible to define independent
  functional tests for packages.

We have begun to see Zope 3 decomposed into separate projects knit together
via svn:externals.  I'd like to see that trend continue and to perhaps
switch to making the knitting process use eggs,  I'd like to leverage
eggs to make the release process much simpler.  It should be easy for people
to make releases so that there could easily be multiple distributions
aimed at different needs and expectations.

As part of this decomposition, we need to make zope.app much smaller.
Early in Zope 3 development, I proposed a simple rule for organization of
the repository: Anything that depended on zope.app went in zope.app. Anything
else went in zope.  If there was doubt, put it in zope.app.  I think that
served us well at the time, but I think we've moved beyond that,  I'd like
to migrate most of zope.app elsewhere.  Zope 2.10 should not include zope.app.

Note that I'm banking heavily on eggs without personally having worked with
them much.  I'm very hopeful that we can make them work for us.

In the end, I consider the December release to be largely successful, given
the challenges.

These were some of my reactions to this first attempt at time-based releases.
What do other folks think?

Given that the Zope Foudation will be formed during this next release cycle,
I think this is a good time to take stock and think about how to move
forward,

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or 

[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Sidnei da Silva
On Wed, Jan 18, 2006 at 07:36:35AM -0500, Jim Fulton wrote:
| And then there are the Windows releases.  Making Zope 2 windows releases
| is very painful and there don't seem to be many people willing to help.
| We've avoided the pain for Zope 3 by being less ambitious.  We let distutils
| do most of the work.  The result is that making a windows release takes 
| minutes
| and is highly automated, but the experience for the end user is less than
| ideal,  Many would rightfully argue that it is inadequate.  What we need
| is a release process that is as easy as the Zope 3 windows release process
| and produces a result as usable as the Zope 2 windows release.  I'm not sure
| exactly what the answer is, but I am sure we need to take a fresh approach.
| Whatever approach we take needs to be highly automated and must not require
| a lot of specialized Windows expertise.

The installers do not require much Windows expertise. In fact, they
require a lot of 'makefile' expertise right now, and some Inno Setup
expertise, not much else.

At Enfold Systems we are using our own home-grown python-based process
to cobble together all the dependencies for building installers. We
haven't switched to Zope 2.9 though.

When the time comes around for a switch, our goal is to switch from
Inno Setup to Wix [1], at which point we hope to contribute this work
to Zope. That might take another 6 months though and sure we don't
want to hold back the Zope Windows installers that long.

[1] http://blogs.msdn.com/robmen/archive/2004/04/05/107709.aspx

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Lennart Regebro
On 1/18/06, Jim Fulton [EMAIL PROTECTED] wrote:
 These were some of my reactions to this first attempt at time-based releases.
 What do other folks think?

I think early January is an understandable delay, considering that
midwinter celebrations came in the way. Great work everyone!

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
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] December release post-mortem

2006-01-18 Thread Andreas Jung



--On 18. Januar 2006 07:36:35 -0500 Jim Fulton [EMAIL PROTECTED] wrote:



In the future, if someone introduces a major change, they *must* be
committed to be available to deal with issues that arise during the
release cycle.  Perhaps we need to pick different release dates to
avoid holidays.  Stephan has suggested moving the dates up to
November/May rather than December/June.


+1 for moving the dates. Speaking for the Zope 2 release:

- the zpkg chances were introduced very late and it was somewhat annoying
  to deal with this almost untested changes during the betas (not blaming
  Philipp here,  he has done a tremendous lot of work)

In addition such major changes should happen on a branch and not on the 
trunk and such changes should be started early before the next release (not 
week or two before the first beta).




And then there are the Windows releases.  Making Zope 2 windows releases
is very painful and there don't seem to be many people willing to help.
We've avoided the pain for Zope 3 by being less ambitious.  We let
distutils
do most of the work.  The result is that making a windows release takes
minutes
and is highly automated, but the experience for the end user is less than
ideal,  Many would rightfully argue that it is inadequate.  What we need
is a release process that is as easy as the Zope 3 windows release process
and produces a result as usable as the Zope 2 windows release.  I'm not
sure
exactly what the answer is, but I am sure we need to take a fresh
approach.
Whatever approach we take needs to be highly automated and must not
require
a lot of specialized Windows expertise.


The basic problem with the windows release is that there is currently
nobody in charge for the windows release (although Tim is again doing 
working on the Windows side, ALL HAIL TIM).






Note that I'm banking heavily on eggs without personally having worked
with
them much.  I'm very hopeful that we can make them work for us.

In the end, I consider the December release to be largely successful,
given
the challenges.


It was basically a birth with some pain :-)



These were some of my reactions to this first attempt at time-based
releases.
What do other folks think?


I think 2.9.0 is the _real_ 2.9 beta which will be widely used by ppl :-)


-aj

pgp82mUIHWcDt.pgp
Description: 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 )


[Zope-dev] Re: December release post-mortem

2006-01-18 Thread Rocky Burt
Andreas Jung wrote:
 I think 2.9.0 is the _real_ 2.9 beta which will be widely used by ppl :-)

Isn't this always the case? :)(ie with all 2.x.0 releses)

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
ServerZen Hosting -- http://www.serverzenhosting.net
News About The Server -- http://www.serverzen.net

___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Sidnei da Silva wrote:

On Wed, Jan 18, 2006 at 07:36:35AM -0500, Jim Fulton wrote:
| And then there are the Windows releases.  Making Zope 2 windows releases
| is very painful and there don't seem to be many people willing to help.
| We've avoided the pain for Zope 3 by being less ambitious.  We let distutils
| do most of the work.  The result is that making a windows release takes 
| minutes

| and is highly automated, but the experience for the end user is less than
| ideal,  Many would rightfully argue that it is inadequate.  What we need
| is a release process that is as easy as the Zope 3 windows release process
| and produces a result as usable as the Zope 2 windows release.  I'm not sure
| exactly what the answer is, but I am sure we need to take a fresh approach.
| Whatever approach we take needs to be highly automated and must not require
| a lot of specialized Windows expertise.

The installers do not require much Windows expertise. In fact, they
require a lot of 'makefile' expertise right now, and some Inno Setup
expertise, not much else.


Sorry, Inno Setup is a windows installation builder.  I consider this
windows expertise.


At Enfold Systems we are using our own home-grown python-based process
to cobble together all the dependencies for building installers. We
haven't switched to Zope 2.9 though.


I consider switching build languages from make to Python a definate
step forward.


When the time comes around for a switch, our goal is to switch from
Inno Setup to Wix [1], at which point we hope to contribute this work
to Zope. That might take another 6 months though and sure we don't
want to hold back the Zope Windows installers that long.


Unless the process is automated enough that *I* can do it,
whoever suggests a new system needs to be prepared to
operate it reliably as well.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] December release post-mortem

2006-01-18 Thread Jim Fulton

Andreas Jung wrote:



...

The basic problem with the windows release is that there is currently
nobody in charge for the windows release (although Tim is again doing 
working on the Windows side, ALL HAIL TIM).


I'll repeat or emphasis that the windows release process needs to
be simple enough that *I* can do it.  This means that the process should
be simple and well documented enough that someone like me can follow it
without thinking. Thinking is hard.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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: [Zope3-dev] Re: [Zope-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Andreas Jung wrote:
...

I think 2.9.0 is the _real_ 2.9 beta which will be widely used by ppl :-)


I could be wrong, but if we stick to a 6-month release cycle for feature
releases, I don't think there is going to be much appetite for bug-fix
releases, except in extreme cases, and I think it will be more important
to get the feature releases right.

Of course, this required commitment from the community.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] December release post-mortem

2006-01-18 Thread Andreas Jung



--On 18. Januar 2006 10:31:03 -0500 Jim Fulton [EMAIL PROTECTED] wrote:


Andreas Jung wrote:



...

The basic problem with the windows release is that there is currently
nobody in charge for the windows release (although Tim is again doing
working on the Windows side, ALL HAIL TIM).


I'll repeat or emphasis that the windows release process needs to
be simple enough that *I* can do it.


Well, that's a perfect goal :-) But my experience with doing slightly 
simple programming tasks on Windows is that Windows will slap you wherever 
possible - even when you're trying to solve simple problems. I stopped 
dreaming that anything on Windows works as it should.


just-being-a-frustrated-windows-hacker-(sometimes),
Andreas



pgp18hbgLuPnZ.pgp
Description: 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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Sidnei da Silva
On Wed, Jan 18, 2006 at 10:27:25AM -0500, Jim Fulton wrote:
| The installers do not require much Windows expertise. In fact, they
| require a lot of 'makefile' expertise right now, and some Inno Setup
| expertise, not much else.
| 
| Sorry, Inno Setup is a windows installation builder.  I consider this
| windows expertise.

You don't have to know how to operate Inno Setup for building a
installer though. It pretty much boils down to editing the makefiles
to contain the proper version number and typing 'make'. I would
consider that automated enough. What about adding a target that does
this into the buildbot so we get nightly installers?

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Sidnei da Silva wrote:

On Wed, Jan 18, 2006 at 10:27:25AM -0500, Jim Fulton wrote:
| The installers do not require much Windows expertise. In fact, they
| require a lot of 'makefile' expertise right now, and some Inno Setup
| expertise, not much else.
| 
| Sorry, Inno Setup is a windows installation builder.  I consider this

| windows expertise.

You don't have to know how to operate Inno Setup for building a
installer though. It pretty much boils down to editing the makefiles
to contain the proper version number and typing 'make'. I would
consider that automated enough. What about adding a target that does
this into the buildbot so we get nightly installers?


People up to now have come up with systems like this that they thought were
automated enough.  That's why we don't have a 2.9 release for windows.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Christian Theune
Hi,

On Wed, 2006-01-18 at 13:40 -0200, Sidnei da Silva wrote:
 On Wed, Jan 18, 2006 at 10:27:25AM -0500, Jim Fulton wrote:
 | The installers do not require much Windows expertise. In fact, they
 | require a lot of 'makefile' expertise right now, and some Inno Setup
 | expertise, not much else.
 | 
 | Sorry, Inno Setup is a windows installation builder.  I consider this
 | windows expertise.
 
 You don't have to know how to operate Inno Setup for building a
 installer though. It pretty much boils down to editing the makefiles
 to contain the proper version number and typing 'make'. I would
 consider that automated enough. What about adding a target that does
 this into the buildbot so we get nightly installers?

You have to know Inno. I took care for the Windows builds for a while
and it was a large pain to get it started. I'm not a natural windows
hacker, although I was developing on windows some years ago and know my
way around. Additionally the whole cludge (was/is) very fragile so that
new releases pretty reliably required tweaking the build environment.

As Tim said one day: You need to work/develop on windows on a daily
basis to be able to cut releases for it.

I'd second this for any platform actually.

Christian

-- 
gocept gmbh  co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


signature.asc
Description: This is a digitally signed message part
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Sidnei da Silva
On Wed, Jan 18, 2006 at 10:45:20AM -0500, Jim Fulton wrote:
| People up to now have come up with systems like this that they thought were
| automated enough.  That's why we don't have a 2.9 release for windows.

What about we turn that around. How would you describe a 'automated
enough' build environment? I suspect you consider:

  python setup.py bdist_wininst

to be pretty close to that. How does it differ from:

  make installer

once all dependencies are in place?

I agree that the procedure for building the current Windows installer,
though documented (yes, it is documented), has more steps than
required. One place where it could be streamlined is that it expects
you to download the Python 2.3 Windows Installer and tarball manually
and put them into a specific directory. That could certainly be done
by the makefile.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.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: [Zope3-dev] Re: [Zope-dev] December release post-mortem

2006-01-18 Thread Sidnei da Silva
On Wed, Jan 18, 2006 at 04:37:12PM +0100, Andreas Jung wrote:
| I'll repeat or emphasis that the windows release process needs to
| be simple enough that *I* can do it.
| 
| Well, that's a perfect goal :-) But my experience with doing slightly 
| simple programming tasks on Windows is that Windows will slap you wherever 
| possible - even when you're trying to solve simple problems. I stopped 
| dreaming that anything on Windows works as it should.

I'll add to that that I used to think this way, too, but Mark Hammond
slowly convinced me otherwise.

Today I have the opinion that no matter what other people say, Windows
is actually superior to *anything* I've seen in Linux or OS X, except
for the networking stack and process management. COM, for example, is
very cool stuff.

You should see some of the stuff Mark has done that allows one to call
pretty much any Python object via COM from any language that supports
COM as long as the Python object has a interface declaration using
'zope.interface'. I'm still waiting to see something like COM on the
Linux world.

Over with the bashing, back to the topic now.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


signature.asc
Description: Digital 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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Sidnei da Silva wrote:

On Wed, Jan 18, 2006 at 10:45:20AM -0500, Jim Fulton wrote:
| People up to now have come up with systems like this that they thought were
| automated enough.  That's why we don't have a 2.9 release for windows.

What about we turn that around. How would you describe a 'automated
enough' build environment? I suspect you consider:

  python setup.py bdist_wininst

to be pretty close to that.


I think

http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ZopeWindowsRelease

Is pretty close.  Note that this has a number os steps, but there are few
and they are well documented, so I don't have to think.

 How does it differ from:


  make installer


It uses a real language.


once all dependencies are in place?


The process has to include getting al of the dependencies in place.


I agree that the procedure for building the current Windows installer,
though documented (yes, it is documented), has more steps than
required. One place where it could be streamlined is that it expects
you to download the Python 2.3 Windows Installer and tarball manually
and put them into a specific directory. That could certainly be done
by the makefile.


As I said before, the fact that we don't have a windows release
is proof that the process isn't automated enough.  I also know
for a fact that Tim did a *lot* of work to get the installer that
he asked people to review.  This might be inevitable, given the
changes in Python, but I don't think it needs to be as bad as it is.

And, as I said before, we shouldn't be inventing this ourselves
if we can possibly avoid it.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Martijn Faassen

Hey,

First, I'd like to thank you and everyone involved in the Zope 2 and
Zope 3 releases for making this time-based release in what I consider to
be a smashing success. Thanks for all the hard work! Things were late a 
bit, some things are imperfect, but we in the community are already 
feeling the positive effects of being able to plan for releases. I want 
Jim to be sure he realizes it's a success from other's perspective as well.


Several great features are probably in Zope 2 now in part due to the
time-based release system. I want to point out for special attention
Florent's great work on making Zope 3 style events work with Zope 2.
This is no less than fantastic. This kind of work might've lingered for 
a long time if release dates were uncertain.



Jim Fulton wrote:

Now that I've had a week or so to recover from making the Zope 3 
releases, I'd like to look at how we did on our first timed releases.


Thanks for doing the post-mortem. Very valuable.


Of course, the releases didn't happen in December.  In fact, the Zope
2 Windows release still hasn't happened.

That we were late isn't a great surprise, given that this was our
first timed release.  The beginning of the release cycle was delayed 
because people didn't really realize/remember that we needed to

freeze by November 1.


[snip]

In the future, if someone introduces a major change, they *must* be 
committed to be available to deal with issues that arise during the 
release cycle.  Perhaps we need to pick different release dates to 
avoid holidays.  Stephan has suggested moving the dates up to 
November/May rather than December/June.


+1 to moving the dates to be further away from holiday seasons.


And then there are the Windows releases.  Making Zope 2 windows
releases is very painful and there don't seem to be many people
willing to help.

[snip]

Getting a dedicated volunteer to work on Windows releases seems to be
hard. I've tried with lxml and while several people have successfully
compiled it on Windows, and several people volunteered to help with
releases, it still hasn't gotten off the ground.

I'm glad the decision was made to let Windows not be a release blocker.
We're not the only one with this problem. A few months ago I was reading
the Apache HTTP server mailing lists and to my surprise found a thread
talking about how their process was failing. The Apache HTTP server has
a very strict policy concerning changes to the codebase; they have to be
vetted by other programmers before they can go in. There were some 
problems pointed out about this procedure slowing things down, but 
interestingly enough one of the blockers for making new releases of 
Apache was the volunteers not knowing how to do a Windows release. :)



I think that packaging is a significant challenge to our release
process. The Zope 2 release was complicated by the use of zpkg.  The
zpkg system was developed to allow us to decouple the Zope 3
repository and releases. It was too painful to mold the repository to
fleeting release decisions. We wanted people to put experimental and
add-on applications in the repository so that they would be tested as
we rapidly evolved things. While zpkg was crucial for the last 3
releases, I don't think it provides the best long-term approach.
Rather than extracting a release from a larger repository tree, I
think it would be better, going forward, to assemble a release from 
smaller individual repository trees or from releases. 


I'm glad this is being given a re-think.

How do you assemble releases 'from releases'? I'm not sure I understand 
that. You mean make a Zope 2 release using a Zope 3 release?


You know my position concerning the repository and the release; I'd 
prefer them to be kept as similar as possible to simplify the release 
process. I hope we can go in that direction. It also makes things more 
predictable to developers. We noticed that some Zope 3 packages weren't 
packaged into Zope 2 after the release, even though in a developer's 
sandbox of Zope 2 they were there.


As a side issue: From the perspective of Five, it is beneficial to have 
as much Zope 3 code included into Zope 2 releases, as that gives us an 
opportunity to start using this functionality right away, exposing it to 
Zope 2, without waiting for a new release.


[snip]

We have begun to see Zope 3 decomposed into separate projects knit
together via svn:externals.  I'd like to see that trend continue and
to perhaps switch to making the knitting process use eggs,  I'd like
to leverage eggs to make the release process much simpler.  It should
be easy for people to make releases so that there could easily be
multiple distributions aimed at different needs and expectations.


I'll repeat here that I think there's much value in trying to keep the 
mapping of the SVN repository very similar to what is actually released. 
  (If you're interested I can try to explain some of my thinking a bit 
deeply.) Eggs are a nice distribution mechanism, but 

Re: [Zope3-dev] Re: [Zope-dev] December release post-mortem

2006-01-18 Thread Martijn Faassen

Sidnei da Silva wrote:

[snip OS flamewar in the bud] :)

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 )


Re: [Zope3-dev] Re: [Zope-dev] December release post-mortem

2006-01-18 Thread Martijn Faassen

Jim Fulton wrote:

Andreas Jung wrote:
...

I think 2.9.0 is the _real_ 2.9 beta which will be widely used by ppl :-)


I could be wrong, but if we stick to a 6-month release cycle for feature
releases, I don't think there is going to be much appetite for bug-fix
releases, except in extreme cases, and I think it will be more important
to get the feature releases right.


I expect a fairly normal progression of bugfix releases myself, except 
that hopefully less features will sneak in as has been the case with 
older Zope 2.x releases. So we'll see less bugfix releases, but only 
because we're not fixing features in them. :)


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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Sidnei da Silva
On Wed, Jan 18, 2006 at 11:24:20AM -0500, Jim Fulton wrote:
| Sidnei da Silva wrote:
| On Wed, Jan 18, 2006 at 10:45:20AM -0500, Jim Fulton wrote:
| | People up to now have come up with systems like this that they thought 
| were
| | automated enough.  That's why we don't have a 2.9 release for windows.
| 
| What about we turn that around. How would you describe a 'automated
| enough' build environment? I suspect you consider:
| 
|   python setup.py bdist_wininst
| 
| to be pretty close to that.
| 
| I think
| 
| 
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ZopeWindowsRelease
| 
| Is pretty close.  Note that this has a number os steps, but there are few
| and they are well documented, so I don't have to think.

Not that much different from what already exists for Zope 2:

http://svn.zope.org/Zope/trunk/inst/WinBuilders/README.txt?rev=39675view=auto

| As I said before, the fact that we don't have a windows release
| is proof that the process isn't automated enough.

That's not a proof that the process is not automated enough. The
transition from python2.3 to 2.4 *is* non-trivial because python
changed from distutils to MSI.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Sidnei da Silva wrote:
...

| As I said before, the fact that we don't have a windows release
| is proof that the process isn't automated enough.

That's not a proof that the process is not automated enough. The
transition from python2.3 to 2.4 *is* non-trivial because python
changed from distutils to MSI.


Except that the same sort of problems occurred with 2.8.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Sidnei da Silva
On Wed, Jan 18, 2006 at 11:46:33AM -0500, Jim Fulton wrote:
| Sidnei da Silva wrote:
| ...
| | As I said before, the fact that we don't have a windows release
| | is proof that the process isn't automated enough.
| 
| That's not a proof that the process is not automated enough. The
| transition from python2.3 to 2.4 *is* non-trivial because python
| changed from distutils to MSI.
| 
| Except that the same sort of problems occurred with 2.8.

I would describe the problems with the Windows installers as lack of
interest by the developers, not problems with installer building
automation.

One way or another, the best I can propose right now is to integrate
the building of the Windows installer into a buildbot, either ZC's or
Enfold Systems'.

We already build the nightly Windows Installer for Plone, so it
wouldn't be a big deal to do the same for Zope.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.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 )


[Zope-dev] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Sidnei da Silva wrote:

On Wed, Jan 18, 2006 at 11:46:33AM -0500, Jim Fulton wrote:
| Sidnei da Silva wrote:
| ...
| | As I said before, the fact that we don't have a windows release
| | is proof that the process isn't automated enough.
| 
| That's not a proof that the process is not automated enough. The
| transition from python2.3 to 2.4 *is* non-trivial because python
| changed from distutils to MSI.
| 
| Except that the same sort of problems occurred with 2.8.


I would describe the problems with the Windows installers as lack of
interest by the developers, not problems with installer building
automation.


We don't have any more Windows interest for Zope 3, but we have no
problem creating windows releases. That's because we made the barrier
very low.


One way or another, the best I can propose right now is to integrate
the building of the Windows installer into a buildbot, either ZC's or
Enfold Systems'.

We already build the nightly Windows Installer for Plone, so it
wouldn't be a big deal to do the same for Zope.


Cool. Then we can just pick up tomorrows output and ship that. ;)

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Stephan Richter
On Wednesday 18 January 2006 11:27, Martijn Faassen wrote:
 How do you assemble releases 'from releases'? I'm not sure I understand
 that. You mean make a Zope 2 release using a Zope 3 release?

I'll note that SchoolTool greatly benefits from the current release building. 
We simply include all the Zope 3 dependencies in our dependency list and 
build the release. We can decide to include Zope 3 dependencies or not. 
Overall I think zpkg is a great win and whatever we do next should not remove 
those features.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Tim Peters
We should distinguish between authoring the Windows
build-the-installer code, and running that code.  Making a Zope 2
Windows release consists of _running_ the build-the-installer code,
and is easy.  It's actually easier than building a Zope 3 Windows
release:  once the Python tarball, Zope 2 tarball, and pywin32
installer are downloaded, building a Zope 2 release consists of typing
one command in a Cygwin shell:

WinBuilders/buildout zope

That's it.

_Authoring_ the Zope 2 build-the-installer code has been a royal PITA,
but work is needed there only when packaging gimmicks change.  Like
moving to zpkgtools, or moving away from them again, or moving to a
different packaging system for one of the components (like Python
moving from a Wise installer to an MSI installer for 2.4, or pywin32
earlier moving from a Wise installer to a distutils installer). 
Across the long life of Zope 2.7, those things changed very little,
and as a result very little needed to change in the
build-the-installer code across 2.7's life.  2.7 Windows releases
remained easy to build across that time (granting that Mark Hammond
did the work to adjust to pywin32's packaging changes).

2.8 Windows releases were/are similarly easy to build.

A lot of new work was needed for 2.9, due to Python and zpkgtools
changes.  I also took the opportunity to upgrade from InnoSetup 4 to
version 5, which introduced a much easier scheme for managing the
custom dialog screens in the Zope installer.

All of that ended up making the build-the-installer code substantially
simpler, to the point where it now seems kinda goofy to use makefiles
at all in the process.  Makefile mazes are inscrutable, and are
particularly ill-suited to the true nature of this task:  unpack
various tarballs, and rearrange them like so.

Finishing a Windows release of Zope 2 or Zope 3 takes much longer than
just minutes, unless you skip testing.  If you do skip testing, then
it's minutes for both.  Testing Zope as a Windows service is harder
for Zope 3, because the Zope 3 installer doesn't (but the Zope 2
installer does) install or start the service, or auto-stop and remove
the service when Zope is uninstalled.  BTW, Zope3 _could_ do that too
with a suitable post-install/pre-uninstall script, which is something
InnoSetup automates for Zope2.

It can take a Windows expert some days to author Zope2
build-the-installer changes when packaging fashions change (whether
Zope's or the repackaged components').  InnoSetup is the least of the
problems there, and while MSI is the coming fashion, slinging MSI code
appears to require much more knowledge than slinging InnoSetup
declarations.

The idea that it takes Windows expertise to write an InnoSetup
declaration is wrong:  such lines merely say take the files you find
_here_ now, and put them _there_ when the installer runs.  For
example, this is the entire Inno code needed to install Zope 2's lib/
directory:

Source:lib\*.*; DestDir: {app}\lib; Flags: ignoreversion recursesubdirs

That kind of stuff is truly trivial.  It does take Inno expertise to
create and manage the installer's dialog screens (manage == e.g., if
the user chooses not to have the installer create an instance home,
then the dialog asking for the instance home's directory shouldn't be
shown), but those typically don't change across releases.
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Martijn Faassen wrote:
...

How do you assemble releases 'from releases'? I'm not sure I understand 
that. You mean make a Zope 2 release using a Zope 3 release?


No, I mean using eggs.  Zope should be broken into separate projects
with their own eggs.  A Zope release might just be an egg with dependencies.
Or it might just be a collection of eggs.

You know my position concerning the repository and the release; I'd 
prefer them to be kept as similar as possible to simplify the release 
process. I hope we can go in that direction. It also makes things more 
predictable to developers. We noticed that some Zope 3 packages weren't 
packaged into Zope 2 after the release, even though in a developer's 
sandbox of Zope 2 they were there.


Right. If eggs work out, then a respository check out will be a lot smaller,
but will download needed eggs.  This would be a replacement of the
use of externals we have now.

As a side issue: From the perspective of Five, it is beneficial to have 
as much Zope 3 code included into Zope 2 releases, as that gives us an 
opportunity to start using this functionality right away, exposing it to 
Zope 2, without waiting for a new release.


Understand though that there is nothing like a backward compatibility
promise for something that hasn't been released.


[snip]


We have begun to see Zope 3 decomposed into separate projects knit
together via svn:externals.  I'd like to see that trend continue and
to perhaps switch to making the knitting process use eggs,  I'd like
to leverage eggs to make the release process much simpler.  It should
be easy for people to make releases so that there could easily be
multiple distributions aimed at different needs and expectations.



I'll repeat here that I think there's much value in trying to keep the 
mapping of the SVN repository very similar to what is actually released. 


I think I understand where you are coming from.

  (If you're interested I can try to explain some of my thinking a bit 
deeply.) Eggs are a nice distribution mechanism, but I'd also want the 
knitting process to work for a SVN checkout -- developers working with 
SVN need to be very easily work with a 'knitted' version, so perhaps 
svn:externals will remain a valuable tool.


Assuming that eggs fullfill their promise, I think I'd
rather use eggs than externals.


As part of this decomposition, we need to make zope.app much smaller.
 Early in Zope 3 development, I proposed a simple rule for
organization of the repository: Anything that depended on zope.app
went in zope.app. Anything else went in zope.  If there was doubt,
put it in zope.app.  I think that served us well at the time, but I
think we've moved beyond that,  I'd like to migrate most of zope.app
elsewhere.  Zope 2.10 should not include zope.app.



This worries me; Five is currently using massive quantities of code in 
zope.app, and as expressed above, I value Five having access to 
potentially all Zope 3 code that's in a Zope 3 release.


The code that Five is using will still be available, but it will be
somewhere else (with necessary backward compatibility hacks).

Jim
--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Jim Fulton

Stephan Richter wrote:

On Wednesday 18 January 2006 11:27, Martijn Faassen wrote:


How do you assemble releases 'from releases'? I'm not sure I understand
that. You mean make a Zope 2 release using a Zope 3 release?



I'll note that SchoolTool greatly benefits from the current release building. 
We simply include all the Zope 3 dependencies in our dependency list and 
build the release. We can decide to include Zope 3 dependencies or not. 
Overall I think zpkg is a great win and whatever we do next should not remove 
those features.


I agree that dependency based releases -- and development is great.  I think
eggs are a lot farther along that zpkg. (Eggs weren't around when we started
zpkg.)  If eggs work out, as I hope they will, I'd like to stop work on
zpkg and just use eggs.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Fred Drake
On 1/18/06, Jim Fulton [EMAIL PROTECTED] wrote:
 If eggs work out, as I hope they will, I'd like to stop work on
 zpkg and just use eggs.

+42


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
There is no wealth but life. --John Ruskin
___
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] Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Stephan Richter
On Wednesday 18 January 2006 19:09, Jim Fulton wrote:
  You know my position concerning the repository and the release; I'd
  prefer them to be kept as similar as possible to simplify the release
  process. I hope we can go in that direction. It also makes things more
  predictable to developers. We noticed that some Zope 3 packages weren't
  packaged into Zope 2 after the release, even though in a developer's
  sandbox of Zope 2 they were there.

 Right. If eggs work out, then a respository check out will be a lot
 smaller, but will download needed eggs.  This would be a replacement of the
 use of externals we have now.

Oh, this will make development so much more tedious. Let's say 
zope.testbrowser is an egg and I discover a bug in zope.textbrowser while 
doing some other Zope 3 development, I have to check out zope.testbrowser, 
fix the bug, check it in, download the new egg and hope it fixed my Zope 3 
problem. Honestly this is far too much and I will at most make a bug report.

I have seen you take a similar approach to zope.testing and I found that 
painful just by watching the checkins. I feel like an old record, but please 
let's keep the development process as simple as possible. I rather make some 
concessions to the packaging and dependency system than spending more time 
developing.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
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 )