[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Web 2.0 meets Source Control

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2006-04-01 19:25:23 CEST

Please avoid top-posting!

Noam Tamim wrote:
> On 4/1/06, Noam Tamim <noamtm@gmail.com> wrote:
>>
>> It seems like there are hundreds, if not thousands, of new startups
>> that develop so called AJAX applications. It also seems like more
>> and more organizations are adopting Subversion as the source control
>> system.
>>
>> In my mind, there's an open source AJAX web application that
>> provides read/write access to a Subversion repository. Think
>> TortoiseSVN, but in your browser. The UI shows the entire source
>> tree, allowing you to check out and then commit files (a supporting
>> Firefox extension comes to mind).
Fx extensions *are* slow...
What do you do without Fx extension?
(no, without Fx - we are simply not discussing :-)

>> Perhaps, you can check out a Word document from the repository, open
>> it directly in Word, edit and commit.
OK, that will be slow by all means. Not to mention that you need Word
most of the times. And just thinking about the overhead of:

1. checkout the *directory* where this Word file is (imagine 2K files :-)
2. fork Word to edit this file
3. edit & save & quit Word
4. commit
5. delete the whole tree (those 2K files)

No, unless subversion implements a single file checkout (not in the near
future) that will be too much overhead.

>> Text files you can edit inside the browser. Either the extension or
>> the web app will provide the programmer's equivalent of a WYSIWYG
>> editor: a text editor with syntax highlighting and smart indentation.

Subversion cannot work without a working copy. So you'll need one any
way.
Do you keep it on the server (imagine 2K people trying to edit one
text file each at the same time)?
Or on the client (imagine those 2K AJAX sessions)?

>> In the second phase, this system might allow to even build and run
>> the software under source control (on the server?). The options are
>> unlimited...
Well actually that might be easier and you don't need AJAX for that
usually.

>> Does this idea make sense to anyone here? I'm a full-time C/C++
>> programmer and software engineer, not a web developer, so I'm
>> unlikely to do it, but I'd like to know if anyone but me thinks it's
>> a good idea, and perhaps willing to work on it.
As it seems - not to me. At least not in its current state.

> Maybe it will help if I'll explain the motive for this idea. There are a
> few SVN browsers, like WebSVN and ViewVC. They are nice, but they only
> allow read access. What they miss is an easy way to download a file,
> edit it (in an external application) and then commit the changes.

So you want everything, the kitchen sink included?
May not be that good of an idea. Make simple tools that interoperate
cleanly, one tool - one task, every tool the best for its task.

> The simple solution is adding a file upload control in HTML, but
> that's very inconvenient. Because of security limitations, an
> extension is probably needed to facilitate automatic or semi-automatic
> upload (commit).
Upload and commit are two very different things. When you commit in
subversion, the client calculates the diff and sends only it (the delta)
to the server.

Or you plan to implement a subversion client in AJAX and/or Fx
extension? Good luck then, it'll need some time.

And what will be the good thing after we have that? Instead of
downloading TSVN (for windoze people) you'll have to download Fx (ok,
*you* have it), then an extenstion. See a difference?

> So it's quite likely that all that's needed is an extension on top of
> ViewVC. Ideas?
You can work on improving ViewVC with some AJAX if you think it will be
useful. But so far, such c00l usage has not been shown effective. Yes,
it may turn good for some complete n00bs, but that will be just in the
beginning - then they'll hate it because it is too slow, too limited or
just too shiny. If they spend a bit of time to learn the base facts
about subversion, then it will be a no-pain few days of actually using
any client and be productive.

This above may seem too harsh, but my belief is that all users should be
certified before ever touching a networked PC (and nowadays all are
networked :^) It is no less dangerous than driving a car without a
license if you think about it.

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 1 19:27:07 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.