You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "B. W. Fitzpatrick" <fi...@red-bean.com> on 2003/08/23 17:05:36 UTC
Focusing on 1.0 (was Re: Feature Ideas)
Kumaran Santhanam <ku...@tigris.org> writes:
> The features I propose are intended to be very minor code changes
> that can make a big difference to the user experience. The
> easier SVN is to setup and use, the more acceptance it will gain.
> Average users are generally resistant to creating custom wrappers
> for their favorite tools or functionality. The fewer times they
> have to ask "Why can't I do ... ?", the better their perceived
> experience will be.
>
> I'd love to hear what others on the list think.
I think that the road to hell is paved with good intentions. :-)
Let me explain that.
I think that you've got some excellent ideas, and they've actually
been brought up on the list several times in the past. I *completely*
agree with your sentiments that the earlier we can get them into
Subversion, the better. However, I can go through the issue tracker
and find at least 15 other features that I feel the same way about.
My point here is this: Subversion has been in development for three
and a half years now and has not yet gotten to 1.0. Every feature we
add, however small, takes time from the committers". It doesn't
matter if someone submits a perfect patch complete with tests,
documentation, etc--each new feature takes time to review and apply.
Most importantly, edge cases come up, new bugs are discovered at a
later date, and a million other small things happen that push 1.0
further away, one minute at a time.
Designing and writing new features is a lot of fun. Hunting down and
fixing arcane bugs and edge cases is considerably less entertaining.
It's frustrating to say the least when you're head down fixing
annoying little bugs and people keep showing up with new features to
add--features that you'd *love* to be designing and writing yourself,
but you can't because you're pushing for 1.0. Heck, most people would
rather write 10 new features than fix 1 bug, and 90% of the projects
on SourceForge are damning proof of that.
If you really want to see some new features added to Subversion sooner
rather than later, grab an unassigned pre-1.0 bug and help out. Once
we hit 1.0, then I'm sure people will be much more amenable to adding
new features. Certainly, we can't stop you from working on whatever
you like, but be aware that patches for new features will most likely
be filed away for post 1.0 review instead of being processed right
away.
In any case, my intention here isn't to scare you away, and I do hope
you stick around to contribute--you asked what "others on the list
think", and this is exactly what I think. :-)
-Fitz speaking only for himself
--
Brian W. Fitzpatrick <fi...@red-bean.com> http://www.red-bean.com/fitz/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Focusing on 1.0 (was Re: Feature Ideas)
Posted by kf...@collab.net.
*Thank you*, Fitz, for saying it.
-K
"B. W. Fitzpatrick" <fi...@red-bean.com> writes:
> I think that the road to hell is paved with good intentions. :-)
>
> Let me explain that.
>
> I think that you've got some excellent ideas, and they've actually
> been brought up on the list several times in the past. I *completely*
> agree with your sentiments that the earlier we can get them into
> Subversion, the better. However, I can go through the issue tracker
> and find at least 15 other features that I feel the same way about.
>
> My point here is this: Subversion has been in development for three
> and a half years now and has not yet gotten to 1.0. Every feature we
> add, however small, takes time from the committers". It doesn't
> matter if someone submits a perfect patch complete with tests,
> documentation, etc--each new feature takes time to review and apply.
> Most importantly, edge cases come up, new bugs are discovered at a
> later date, and a million other small things happen that push 1.0
> further away, one minute at a time.
>
> Designing and writing new features is a lot of fun. Hunting down and
> fixing arcane bugs and edge cases is considerably less entertaining.
> It's frustrating to say the least when you're head down fixing
> annoying little bugs and people keep showing up with new features to
> add--features that you'd *love* to be designing and writing yourself,
> but you can't because you're pushing for 1.0. Heck, most people would
> rather write 10 new features than fix 1 bug, and 90% of the projects
> on SourceForge are damning proof of that.
>
> If you really want to see some new features added to Subversion sooner
> rather than later, grab an unassigned pre-1.0 bug and help out. Once
> we hit 1.0, then I'm sure people will be much more amenable to adding
> new features. Certainly, we can't stop you from working on whatever
> you like, but be aware that patches for new features will most likely
> be filed away for post 1.0 review instead of being processed right
> away.
>
> In any case, my intention here isn't to scare you away, and I do hope
> you stick around to contribute--you asked what "others on the list
> think", and this is exactly what I think. :-)
>
> -Fitz speaking only for himself
>
> --
> Brian W. Fitzpatrick <fi...@red-bean.com> http://www.red-bean.com/fitz/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Focusing on 1.0 (was Re: Feature Ideas)
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Kumaran Santhanam wrote:
> To summarize, these were the four features I proposed:
>
> 1) Separate .svn/ meta data directories
> 2) Explicit file edit
> 3) Commit list editing
> 4) Flexible external diff support
>
> As others pointed out on the list, #2, #3, #4 are solved using a
> variety of external scripting methods. I can agree with these
> solutions in the short-term, and given your thoughts on getting
> to v1.0, I can certainly live with workarounds until post-v1.0.
>
> However, I feel more strongly about #1, and I respectfully ask
> everyone to take this into consideration for v1.0. The feature
> is not easily scripted around (unless somebody can think of an
> idea for a solution). Also, unless I'm missing something, it
> should be relatively straightforward to implement and test in the
> client.
And we're telling you, as the people who have actually worked with this
codebase that adding such a feature to libsvn_wc (hell, adding almost
any feature to libsvn_wc at this point) will be non-trivial. It's not
impossible, but it's not going to be easy. There are a ridiculous
number of edge cases in that code, and that kind of change will likely
run into most of them. You're welcome to try, but I suspect that people
will not exactly jump at the chance to review and apply such patches
when they could be spending the same time fixing the existing problems
we have. The bug list is long enough, we don't need to destabalize
things more by adding features that , while they might be nice, the vast
majority of us do not believe should block a 1.0 release.
We welcome your efforts, and the last thing I want to do is to
discourage a new contributor, but please do not be surprised if this
kind of feature work does not get much attention from the current
developers.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Focusing on 1.0 (was Re: Feature Ideas)
Posted by mark benedetto king <mb...@lowlatency.com>.
On Sat, Aug 23, 2003 at 11:22:01PM -0700, Justin Erenkrantz wrote:
>
> And, if you really want #1 *right now*, mount the SVN repository via some
> WebDAV interface. The contents of the files may change as other people
> make changes (as it'd reflect HEAD), and every file change results in a
> commit, but there won't be any .svn directories for you to worry about. --
> justin
So make a branch, mount the branch, do all your editing on the branch,
then merge from the branch to the trunk. Rinse. Repeat as necessary.
--ben
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Focusing on 1.0 (was Re: Feature Ideas)
Posted by Kumaran Santhanam <ku...@tigris.org>.
> No, it's not straightforward because your approach doesn't scale and isn't
> user-friendly. Imagine a working copy with one million files in it, but
> spread out amongst several directories. Imagine trying to read that large
> .svn/entries file on 'svn st' in a sub-directory (nevermind that you have to
> walk up directories looking for your .svn parent). How do you deal with
> partial checkouts? Imagine trying to move a sub-directory and still have SVN
> deal with that gracefully.
I'm not sure I understand. Here's a comparison of the current
and proposed approaches:
current:
workspace/dir1
workspace/dir1/.svn
workspace/dir1/subdir1
workspace/dir1/subdir1/.svn
workspace/dir2
workspace/dir2/.svn
workspace/dir2/subdir1
workspace/dir2/subdir1/.svn
proposed
workspace/dir1
~/.subversion/adm/HASH/dir1/.svn
workspace/dir1/subdir1
~/.subversion/adm/HASH/dir1/subdir1/.svn
workspace/dir2
~/.subversion/adm/HASH/dir2/.svn
workspace/dir2/subdir1
~/.subversion/adm/HASH/dir2/subdir1/.svn
index file -> ~/.subversion/adm/index
As far as I can see, these are equivalent. In fact, it requires
only a minor change in adm_files.c [v_extend_with_adm_name() +
some support functions].
The only difference is if you did:
mv workspace foobar
In the current approach, this would work seamlessly. In the
proposed approach, the ~/.subversion/adm/index file would have to
be updated (either by hand, or through a svn command).
You don't have to walk the path back to find the parent - you
simply do a prefix search through the index, which goes O(n) as
the number of projects you are working on. Presumably, this
wouldn't be more than a few hundred for any single user, so such
a search would take negligible time.
If I'm missing something obvious or obscure, a further
explanation would be much appreciated.
> CVS takes the one-metadir-per-directory approach, and I think it's the right
> one to take in the general case. 'Opaque collection' support would be nice
> (and I'm a Mac user and hate that I can't store Keynote files in SVN), but
> they aren't a general purpose solution to anyone's problem. I think CVS got
> the right balance here for the general case.
There are commercial SCM tools that do not take the metadir
approach, and they scale quite well. Metadirs are just one
particular implementation of client state. The metadir adds
files to the workspace that aren't actually being tracked. I
suppose that the degree to which this concerns you would depend
upon your particular outlook on version control.
Regards,
Kumaran
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Focusing on 1.0 (was Re: Feature Ideas)
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Saturday, August 23, 2003 5:34 PM -0700 Kumaran Santhanam
<ku...@tigris.org> wrote:
> However, I feel more strongly about #1, and I respectfully ask
> everyone to take this into consideration for v1.0. The feature
> is not easily scripted around (unless somebody can think of an
> idea for a solution). Also, unless I'm missing something, it
> should be relatively straightforward to implement and test in the
> client.
No, it's not straightforward because your approach doesn't scale and isn't
user-friendly. Imagine a working copy with one million files in it, but
spread out amongst several directories. Imagine trying to read that large
.svn/entries file on 'svn st' in a sub-directory (nevermind that you have to
walk up directories looking for your .svn parent). How do you deal with
partial checkouts? Imagine trying to move a sub-directory and still have SVN
deal with that gracefully.
There are lots of pitfalls in your #1 that I don't think you realize that have
nothing to do with libsvn_wc's state.
CVS takes the one-metadir-per-directory approach, and I think it's the right
one to take in the general case. 'Opaque collection' support would be nice
(and I'm a Mac user and hate that I can't store Keynote files in SVN), but
they aren't a general purpose solution to anyone's problem. I think CVS got
the right balance here for the general case.
And, if you really want #1 *right now*, mount the SVN repository via some
WebDAV interface. The contents of the files may change as other people make
changes (as it'd reflect HEAD), and every file change results in a commit, but
there won't be any .svn directories for you to worry about. -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Focusing on 1.0 (was Re: Feature Ideas)
Posted by Kumaran Santhanam <ku...@tigris.org>.
B. W. Fitzpatrick <fi...@red-bean.com> writes:
> I think that you've got some excellent ideas, and they've
> actually been brought up on the list several times in the past.
> I *completely* agree with your sentiments that the earlier we
> can get them into Subversion, the better. However, I can go
> through the issue tracker and find at least 15 other features
> that I feel the same way about.
>
> My point here is this: Subversion has been in development for
> three and a half years now and has not yet gotten to 1.0.
> Every feature we add, however small, takes time from the
> committers". It doesn't matter if someone submits a perfect
> patch complete with tests, documentation, etc--each new feature
> takes time to review and apply. Most importantly, edge cases
> come up, new bugs are discovered at a later date, and a million
> other small things happen that push 1.0 further away, one
> minute at a time.
You make a very good point. I certainly appreciate how delays
get introduced into the software development process and agree
with you 100%.
> Designing and writing new features is a lot of fun. Hunting
> down and fixing arcane bugs and edge cases is considerably less
> entertaining. It's frustrating to say the least when you're
> head down fixing annoying little bugs and people keep showing
> up with new features to add--features that you'd *love* to be
> designing and writing yourself, but you can't because you're
> pushing for 1.0. Heck, most people would rather write 10 new
> features than fix 1 bug, and 90% of the projects on SourceForge
> are damning proof of that.
Although I agree with you that new features are fun, my
motivation for proposing those ideas is more of a practical
nature. In other words, I brought up issues that I saw as
impediments to adoption. I have in mind many fun features that
I think are best left to post-v1.0. Of course, as always, your
mileage may vary.
> If you really want to see some new features added to Subversion
> sooner rather than later, grab an unassigned pre-1.0 bug and
> help out. Once we hit 1.0, then I'm sure people will be much
> more amenable to adding new features.
I think this is an excellent idea. I will take a look at the bug
list and see where I can lend a hand. However, please do
consider what I'm about to say:
To summarize, these were the four features I proposed:
1) Separate .svn/ meta data directories
2) Explicit file edit
3) Commit list editing
4) Flexible external diff support
As others pointed out on the list, #2, #3, #4 are solved using a
variety of external scripting methods. I can agree with these
solutions in the short-term, and given your thoughts on getting
to v1.0, I can certainly live with workarounds until post-v1.0.
However, I feel more strongly about #1, and I respectfully ask
everyone to take this into consideration for v1.0. The feature
is not easily scripted around (unless somebody can think of an
idea for a solution). Also, unless I'm missing something, it
should be relatively straightforward to implement and test in the
client.
It takes extra effort to work with a workspace that has
directories and files that don't belong to the project. In my
opinion, I would rather aggregate that extra effort and solve the
problem once in SVN. After this is done, all of the popular text
and data processing tools (find, grep, awk, sed, perl, tar, etc)
can be run without having to explicitly exclude the .svn/
directories. In my experience, there is great value in working
within a pristine workspace.
In any case, in deference to your points, I am happy to pick up
some pending tasks and try to resolve them to the best of my
ability. Before that, I do need to implement #1 for myself at
the very least. If my patch cannot be reviewed and accepted, I
suppose I can maintain a private patch for myself to apply
against new releases. Having said that, however, I would most
appreciate if the patch could be reviewed for inclusion into the
trunk.
Best Regards,
Kumaran
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org