[Zope-dev] Re: [Zope3-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-27 Thread Martijn Faassen
Kapil Thangavelu wrote:

sigh.. debating over what the book says isn't very productive.  my
conclusions at the end of my previous email, namely that what this
layout will accomplish for the zopeorg repository in terms of avoiding
renames of checkouts will likely be fairly limited in pratice, still win
me out against deviating from the standard layouts.
I tried to understand this sentence a few, but I don't get it yet.

So, are you saying you think we *shouldn't* use a custom layout and thus 
stick with the 'default' svn layout, or are you saying you think we 
should deviate from the default svn layout?

Regards,

Martijn

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] RE: [ZODB-Dev] Subversion repository layout

2004-04-27 Thread Tim Peters
[Kapil Thangavelu]

[snip debating over what the book says]

 sigh.. debating over what the book says isn't very productive.

That's for sure wink.

 my conclusions at the end of my previous email, namely that what this
 layout will accomplish for the zopeorg repository in terms of avoiding
 renames of checkouts will likely be fairly limited in pratice, still
 win me out against deviating from the standard layouts.

I think your points about stitching stuff together are crucial, since a lot
of that indeed occurs in the Zope world.  You have svn experience too, while
I don't, so I'm happy to yield to that.

The other crucial thing is that we document clearly what we're doing.  I
said before that newcomers to svn won't understand the alternative
structures, and I still believe that.  By sheer coincidence, someone on
comp.lang.python today posted this:


I'm experimenting with svn.  What is the best way to set up the
original project, anticipating importing to a truck-and-branch
world?

When I start I have:
  myproject/
doc/
mypackage/
  stable.py
  changing.py
test/
  go_test

To do branches, I think I'm supposed to get to end up with:

myproject/
  trunk/
doc/
mypackage/
  stable.py
test/
  go_test
  branches/
branch1/
  mypackage/
changing.py
  test/
go_test

...



If that demonstrates a lack of understanding of how svn truly works, what
that really demonstrates is that *of course* newcomers to svn don't
understand how it truly works, and I think it's hard to come away from a
first pass over the svn book without believing this specific directory
structure is more magical than it really is.

monkey-see-monkey-do-is-a-tough-default-to-overcome-ly y'rs  - tim


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] RE: [ZODB-Dev] Subversion repository layout

2004-04-27 Thread Kapil Thangavelu
On Tue, 2004-04-27 at 10:27, Martijn Faassen wrote:
 Kapil Thangavelu wrote:
 
  sigh.. debating over what the book says isn't very productive.  my
  conclusions at the end of my previous email, namely that what this
  layout will accomplish for the zopeorg repository in terms of avoiding
  renames of checkouts will likely be fairly limited in pratice, still win
  me out against deviating from the standard layouts.
 
 I tried to understand this sentence a few, but I don't get it yet.
 
 So, are you saying you think we *shouldn't* use a custom layout and thus 
 stick with the 'default' svn layout, or are you saying you think we 
 should deviate from the default svn layout?

i'm saying we should probably stick with the default layout. why?
because the primary benefit of the alternative layout is to avoid having
to do a rename while checking out the trunk of a project, on checking
out from branches or tags, this is required anyways. and in my
experience most of the checkouts will likely be on release branches, and
tags anyways. iotw. its of little benefit considering the disadvantages
of moving from the default layout.

cheers,

-kapil


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] RE: [ZODB-Dev] Subversion repository layout

2004-04-26 Thread Martijn Faassen
Tim Peters wrote:
I read some subversion docs over the weekend, and so am sufficiently
prepared to live with the oddities of a standard subversion layout.  I
think that if you make a non-standard layout, then everyone coming to, or
going from, Zope from/to other subversion projects will be forever tripping
over the uniqueness of Zope's setup.
IOW, the existing subversion docs cover the standard layout quite well.
If we do something unique, I'm afraid it becomes another piece of folklore
that will be impossible to guess and difficult to find out about.
I don't know much about subversion, but this strikes me as a good 
argument for sticking with the standard layout.

Regards,

Martijn

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] RE: [ZODB-Dev] Subversion repository layout

2004-04-26 Thread Tim Peters
[Tim Peters]
 ...
 IOW, the existing subversion docs cover the standard layout quite
 well. If we do something unique, I'm afraid it becomes another piece
 of folklore that will be impossible to guess and difficult to find
 out about.

[Martijn Faassen]
 I don't know much about subversion, but this strikes me as a good
 argument for sticking with the standard layout.

The I don't know part is exactly why I would prefer a standard layout.  I
didn't know anything about subversion, but the online book looks very good:

http://svnbook.red-bean.com/

After reading (parts of) that, I thought I knew what the standard layout
looked like, and why.  Appendix A is especially for CVS users, and has a
giant warning box saying:

Warning

Since Subversion treats branches and tags as ordinary directories,
always remember to check out the trunk
http://svn.example.com/repos/calc/trunk/) of your project, and not
the project itself (http://svn.example.com/repos/calc/). If you make
the mistake of checking out the project itself, you'll wind up with a
working copy that contains a copy of your project for every branch
and tag you have [That is, providing you don't run out of disk space
before your checkout finishes.]

The standard layout is assumed, like it is there, all over the book.

Now if we change it to something we like better, the people doing the
change will understand it completely, but few others will, and those relying
on the svnbook docs to get up to speed will discover (probably the hard way)
that all the examples in the book are wrong for Zope's unique layout.

So I think it would do more harm than good, unless it does a lot more good
than just saving me from typing an extra trunk/ now  again.  In the
standard layout, each project has a trunk, branches, and tags
subdirectory, containing what you already think they contain -- it's quite
logical and elegant.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )