You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Lundquist <lu...@gmail.com> on 2007/02/20 18:03:43 UTC
Crazy idea? Remote SVN client for the Subversion-impaired
Hi,
I have a situation with one of my clients that seems to call for a novel
solution.
I'll give the "BACKGROUND" first for those of you who want to know "what
problem are you trying to solve anyway?" followed by the "DESIDERATA",
which you can skip to and read first if you are the type of person who
would rather know "so where is he going with all this, get to the point
already!" ;-)
BACKGROUND
----------
One of my clients is a tiny Web design/development/hosting company that
maintains a bunch of web sites/applications for their customers. They
do content and graphic design, while I am in charge of all the geekery.
All the web application assets are controlled under Subversion. I set
up Subversion for them and taught the more technically-inclined of this
crew how to do basic things like committing from a "development" working
copy, updating to a "production" working copy, "svn add" (and a few
other things... but those three are really what he ends up being able to
reliably do). Incidentally, this guy is the only one of the bunch who
has any clue what to do with a Unix shell. The other one does HTML
content updates, and she is completely hopeless when it comes to the
command line. These are People Of The GUI, and I'm not going to be able
to change them.
Sometimes they need to delete/copy/move/rename things (including
directory structures). When the less-skilled of the two needs to do
this -- and I suspect the other one too, sometimes -- they just blunder
on ahead using the Mac Finder (GUI file manager), resulting of course in
a total pooch-screw of Subversion at working copy level.
Now, you might say "Just get them a nice GUI Subversion client to use,
like SVNx for Mac OS X". Only one problem — they don't use *local* svn
working copies. The working copies are all on a server, and they mount
the server fs as an AFP share so they can edit (and also use the
accursed Finder) from their own workstations. And actually, it really
has to be that way, for a couple of reasons:
1) These aren't static web-sites, they're served by a Java servlet
framework. So you can't just pull up a page source file in a browser,
you have to be running the servlet application for any of it to work.
Setting these up and starting/stopping them is child's play for someone
with the right skill set (and this is how I work on their projects -- I
have all my own local working copies on my laptop and run the web
applications here), but it's really beyond what these other peeps can
handle, bless their hearts :-). It also has to be on a server so that
when things break, I can access it to witness/debug/fix the problem. If
they were running these on their own machines, they might as well be on
the far side of the Moon.
2) Same goes w.r.t. to Subversion; when they inevitably botch up their
working areas, at least its on a server that I can log in to, so I can
go clean up the mess.
You might also say "maybe you should use a real web-based
content-management system for this kind of thing, instead of a
Subversion repository". But notice that since I have just said, "you
might also say...", nobody need now actually say that... :-)
So then...
DESIDERATA
----------
Suppose there were Subversion client that ran as a server daemon
implementing WebDAV or SMB or NFS or AFP. Its purpose would be to Do
The Right Thing when asked to delete/copy/move/rename elements that are
already under Subversion control. Somebody would still have to go
"under the covers" in order to svn add/commit/update/merge/etc., but I
am already doing that anyway. This would just allow somebody who is
Subversion-blissfully-unaware (and completely command-line-incapable) to
mount a remote Subversion working area and do naive filesystem
manipulations using their GUI of choice, without totally botching up the
working copy metadata.
Does anybody know of such a thing?
Cheers,
—ml—
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Matt Sickler <cr...@gmail.com>.
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Jared Hardy <ja...@gmail.com>.
On 2/20/07, Mark Lundquist <lu...@gmail.com> wrote:
> One of my clients is a tiny Web design/development/hosting company that
> maintains a bunch of web sites/applications for their customers. They
> do content and graphic design, while I am in charge of all the geekery.
I thought I would chime in, because I am in a similar situation. My
users here are pretty savvy, but over half of them are 3D artists of
some sort, who would just rather not deal with working outside the
native GUI file browser for any basic file operations. We have been
using TortoiseSVN successfully in Windows, but I still get complaints
about wedged Working Copy problems, almost daily.
> Suppose there were Subversion client that ran as a server daemon
> implementing WebDAV or SMB or NFS or AFP.
As others have mentioned, Subversion already has you covered here with
WebDAV. From my own experience, I would say putting Subversion Working
Copies on network shares is a very bad idea, *especially* with users
who aren't careful or communicative. Using WebDAV with Autoversioning
on the main repository would be your best bet... just not for most
process considerations.
How I suggest using WebDAV Autoversioning capability may end up
being very controversial, and difficult to set up... but possibly very
rewarding. I say you should set up Subversion 1.4.2+, SVK 2.0+, and
Apache 2.2+ on each client. SVK Mirror the repository holding your
content tree, or possibly just the folder/branch the user is
interested in. Make a local copy of the mirror branch using "svk cp
...". Set up local Apache with local access to the SVK-Subversion
repository, with Autoversioning on. Then use whatever WebDAV FS
mounter your system provides, to map the local Subversion/WebDAV
folder of interest to a local working folder. After that, the user can
manipulate the local copy as if it were a regular folder, in their GUI
of choice, without affecting the central source repository until
"Commit".
All that remains is giving users access to "Update" and "Commit"
equivalent scripts, which would map to "svk pull ..." and "svk push -l
..." commands in the background. In Windows File Explorer, I set up
"Send To" menu shortcuts to these scripts, so that any path(s)
selected in File Explorer would be passed as arguments to these
scripts, when the shortcuts are selected, from the "Send To" R-click
context menu. I don't know what the Mac Finder equivalent to the "Send
To" context menu is.
> Somebody would still have to go "under the covers" in order to svn
> add/commit/update/merge/etc., but I am already doing that anyway.
SVK would handle all this in the background, whenever your user
initiates an "Update" or "Commit" script. The "svk push -l ..."
command would push all the changes as an atomic commit, back to the
SVK Mirrored source repository. You might want to create a GUI to
allow the user a chance to enter commit log messages, since "svk push"
doesn't provide this by default. You may also want to set up SVK so
that it pops up the Merge tool of choice whenever an "Update" hits a
Conflict. Your users will have to be familiar with the merge tool, and
what to do when it appears. Otherwise you'll have to set up some
custom locking system, using lock tokens on the central Subversion
repository as your semaphores.
You may want to give each user their own branch copy on the source
repository, that gets automatically merged from trunk periodically.
That would allow you to set up a verification process before changes
get back to trunk. The verification step may start out as a manual
merge process, but you should be able to automate it eventually. That
verification step would also prevent polluting other user's working
copies with bad changes.
Otherwise, I think to get what you want, you will have to write
your own lib_svn_wc library, or your own Subversion Browser GUI,
sufficiently similar to Mac Finder. While the SVN/SVK/Apache/WebDAV
setup may seem complicated, it may be easier than coding your own
WC/Browser-GUI from scratch.
:) Jared
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Mark Lundquist <lu...@gmail.com>.
On Feb 20, 2007, at 10:18 AM, Andy Levy wrote:
> I admit I haven't used it much beyond the exploratory "does it work?"
> phase, but have you thought about WebDAV & Autoversioning? I don't
> know how the copy/move stuff works (and whether it does the same as an
> svn cp/svn mv under the covers), but it'd let you give the users a
> directory they can mount and use with zero Subversion knowledge so
> they can do their tasks.
>
> http://svnbook.red-bean.com/nightly/en/svn.webdav.html
>
> Maybe you have checked it out already and it doesn't meet your needs;
> if so, I apologize.
Thanks Andy, no need to apologize... actually I'm glad you brought this
up because
it really points out the nub of my issue here.
I'm aware of WebDAV autoversioning + SVN, and it would require a
profoundly different workflow,
as every single file write and every filesytem operation results in its
own commit of a new rev to
the repository. To make this work would require, at the very least,
switching to a system of working based on
individual development branches and merging to/from trunk. I don't
think that's going to work
here.
I think the only thing that can work is a type of file-sharing server
that manages SVN working copies (which are
of course local to the server). It would in fact not deal with the
repository at all... the only Subversion operations
I need it to do are ones that are confined to the working copy.
cheers,
—ml—
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Andy Levy <an...@gmail.com>.
On 2/20/07, Mark Lundquist <lu...@gmail.com> wrote:
<snip>Mark's difficult client setup</snip>
> DESIDERATA
> ----------
>
> Suppose there were Subversion client that ran as a server daemon
> implementing WebDAV or SMB or NFS or AFP. Its purpose would be to Do
> The Right Thing when asked to delete/copy/move/rename elements that are
> already under Subversion control. Somebody would still have to go
> "under the covers" in order to svn add/commit/update/merge/etc., but I
> am already doing that anyway. This would just allow somebody who is
> Subversion-blissfully-unaware (and completely command-line-incapable) to
> mount a remote Subversion working area and do naive filesystem
> manipulations using their GUI of choice, without totally botching up the
> working copy metadata.
I admit I haven't used it much beyond the exploratory "does it work?"
phase, but have you thought about WebDAV & Autoversioning? I don't
know how the copy/move stuff works (and whether it does the same as an
svn cp/svn mv under the covers), but it'd let you give the users a
directory they can mount and use with zero Subversion knowledge so
they can do their tasks.
http://svnbook.red-bean.com/nightly/en/svn.webdav.html
Maybe you have checked it out already and it doesn't meet your needs;
if so, I apologize.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Andy Levy <an...@gmail.com>.
On 2/21/07, Bolstridge, Andrew <an...@intergraph.com> wrote:
>
>
>
> Please take your unhelpful comments and shove them.... users are users, we
> must learn to make our products suit them, not make them to suit ourselves
> and then tell the users they are stupid. already.
I agree he was a little harsh, but there's a valid point in there. At
some point, the user has to accept responsibility for knowing how to
use the tools required to do their job. There has to be a middle
ground - if the tools are simplified so far as to allow anyone who can
operate a mouse and keyboard to do the job, they'll lose their utility
to the people who were the original intended audience. Make it too
complex and no one will use it.
I wouldn't let my brother help me remodel a room in my house without
making sure he knows how to use a drill & saw. I don't expect him to
know *how* the drill & saw work, but he at least needs to know how to
operate them. That's where the OP's clients are - they need to at
least wrap their heads around the basics of how to use version control
software (not just Subversion, he'd have the same problem with any
other tool).
> My suggestion for the mac webdev shop is to forget about using the command
> line stuff, to install the webdav server protocol and allow the users to use
> that instead. I do not know how that helps you with moving files around the
> repository (I imagine it doesn't delete the old one) but it may be a start.
> We have started using the webdav access method as it is the only way to get
> at individual files (we have users that don't use svn in the way it was
> designed to be used either) and it is working very well so far.
The OP has already indicated that he looked at WebDAV/Autoversioning
and it doesn't meet his needs.
>
> -----Original Message-----
> From: Matt Sickler [mailto:crazyfordynamite@gmail.com]
> Sent: Tue 20/02/2007 20:45
> To: Les Mikesell
> Cc: Mark Lundquist; users@subversion.tigris.org
> Subject: Re: Crazy idea? Remote SVN client for the Subversion-impaired
>
> your best (and probably easiest in the long run) is to have the devs read
> The Subversion Book and learn svn already
>
> trying to mask the versioning from the developer is stupid
>
> me to them: LEARN THE FSKING SHELL ALREADY - MAC AINT WINDOWS!
>
>
> On 2/20/07, Les Mikesell <le...@gmail.com> wrote:
> >
> > Mark Lundquist wrote:
> >
> > > I have a situation with one of my clients that seems to call for a
> novel
> > > solution.
> >
> > I think the 'crazy' in the subject is appropriate here.
> >
> > > One of my clients is a tiny Web design/development/hosting company that
> > > maintains a bunch of web sites/applications for their customers. They
> > > do content and graphic design, while I am in charge of all the geekery.
> > > All the web application assets are controlled under Subversion. I set
> > > up Subversion for them and taught the more technically-inclined of this
> > > crew how to do basic things like committing from a "development"
> working
> > > copy, updating to a "production" working copy, "svn add" (and a few
> > > other things... but those three are really what he ends up being able
> to
> > > reliably do). Incidentally, this guy is the only one of the bunch who
> > > has any clue what to do with a Unix shell. The other one does HTML
> > > content updates, and she is completely hopeless when it comes to the
> > > command line. These are People Of The GUI, and I'm not going to be
> able
> > > to change them.
> >
> > If they want a gui, give them a GUI. Have they tried eclipse/subeclipse?
> >
> > > Sometimes they need to delete/copy/move/rename things (including
> > > directory structures). When the less-skilled of the two needs to do
> > > this -- and I suspect the other one too, sometimes -- they just blunder
> > > on ahead using the Mac Finder (GUI file manager), resulting of course
> in
> > > a total pooch-screw of Subversion at working copy level.
> >
> > Working copies should be disposable. A fresh checkout should fix any
> > working copy problem.
> >
> > > Now, you might say "Just get them a nice GUI Subversion client to use,
> > > like SVNx for Mac OS X". Only one problem - they don't use *local* svn
> > > working copies. The working copies are all on a server, and they mount
> > > the server fs as an AFP share so they can edit (and also use the
> > > accursed Finder) from their own workstations. And actually, it really
> > > has to be that way, for a couple of reasons:
> >
> > Mounted filesystems should be transparent to a subversion client. Why
> > would this make any difference?
> >
> > > 1) These aren't static web-sites, they're served by a Java servlet
> > > framework. So you can't just pull up a page source file in a browser,
> > > you have to be running the servlet application for any of it to work.
> >
> > If you have multiple people making changes they probably need their own
> > (at least virtual) web server to view/test them.
> >
> > > Setting these up and starting/stopping them is child's play for someone
> > > with the right skill set (and this is how I work on their projects -- I
> > > have all my own local working copies on my laptop and run the web
> > > applications here), but it's really beyond what these other peeps can
> > > handle, bless their hearts :-).
> >
> > Give them a button that ssh's the appropriate restart command to their
> > viewing server if it isn't on their own machine.
> >
> > > It also has to be on a server so that
> > > when things break, I can access it to witness/debug/fix the problem.
> If
> > > they were running these on their own machines, they might as well be on
> > > the far side of the Moon.
> >
> > If they break their working copy, tell them to check out a new one.
> >
> > > 2) Same goes w.r.t. to Subversion; when they inevitably botch up their
> > > working areas, at least its on a server that I can log in to, so I can
> > > go clean up the mess.
> > >
> > > You might also say "maybe you should use a real web-based
> > > content-management system for this kind of thing, instead of a
> > > Subversion repository". But notice that since I have just said, "you
> > > might also say...", nobody need now actually say that... :-)
> >
> > If you are using a subversion repository, it should be a working copy
> > that is only updated, never edited directly, or an rsync or similar copy
> > of such a working copy. And especially don't let anyone use direct
> > filesystem access to this one. Give them a button that ssh's an
> > update command wherever this WC lives and then does whatever else it
> > takes to make the web server notice.
> >
> >
> > > So then...
> > > DESIDERATA
> > > ----------
> > >
> > > Suppose there were Subversion client that ran as a server daemon
> > > implementing WebDAV or SMB or NFS or AFP. Its purpose would be to Do
> > > The Right Thing when asked to delete/copy/move/rename elements that are
> > > already under Subversion control. Somebody would still have to go
> > > "under the covers" in order to svn add/commit/update/merge/etc., but I
> > > am already doing that anyway. This would just allow somebody who is
> > > Subversion-blissfully-unaware (and completely command-line-incapable)
> to
> > > mount a remote Subversion working area and do naive filesystem
> > > manipulations using their GUI of choice, without totally botching up
> the
> > > working copy metadata.
> >
> > What's the point of using a dumb GUI and trying to build a
> > smart-enough-filesystem to second guess its mistakes when smart GUI's
> > already exist?
> >
> > --
> > Les Mikesell
> > lesmikesell@gmail.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail:
> users-help@subversion.tigris.org
> >
> >
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by "Bolstridge, Andrew" <an...@intergraph.com>.
Please take your unhelpful comments and shove them.... users are users, we must learn to make our products suit them, not make them to suit ourselves and then tell the users they are stupid. already.
My suggestion for the mac webdev shop is to forget about using the command line stuff, to install the webdav server protocol and allow the users to use that instead. I do not know how that helps you with moving files around the repository (I imagine it doesn't delete the old one) but it may be a start. We have started using the webdav access method as it is the only way to get at individual files (we have users that don't use svn in the way it was designed to be used either) and it is working very well so far.
-----Original Message-----
From: Matt Sickler [mailto:crazyfordynamite@gmail.com]
Sent: Tue 20/02/2007 20:45
To: Les Mikesell
Cc: Mark Lundquist; users@subversion.tigris.org
Subject: Re: Crazy idea? Remote SVN client for the Subversion-impaired
your best (and probably easiest in the long run) is to have the devs read
The Subversion Book and learn svn already
trying to mask the versioning from the developer is stupid
me to them: LEARN THE FSKING SHELL ALREADY - MAC AINT WINDOWS!
On 2/20/07, Les Mikesell <le...@gmail.com> wrote:
>
> Mark Lundquist wrote:
>
> > I have a situation with one of my clients that seems to call for a novel
> > solution.
>
> I think the 'crazy' in the subject is appropriate here.
>
> > One of my clients is a tiny Web design/development/hosting company that
> > maintains a bunch of web sites/applications for their customers. They
> > do content and graphic design, while I am in charge of all the geekery.
> > All the web application assets are controlled under Subversion. I set
> > up Subversion for them and taught the more technically-inclined of this
> > crew how to do basic things like committing from a "development" working
> > copy, updating to a "production" working copy, "svn add" (and a few
> > other things... but those three are really what he ends up being able to
> > reliably do). Incidentally, this guy is the only one of the bunch who
> > has any clue what to do with a Unix shell. The other one does HTML
> > content updates, and she is completely hopeless when it comes to the
> > command line. These are People Of The GUI, and I'm not going to be able
> > to change them.
>
> If they want a gui, give them a GUI. Have they tried eclipse/subeclipse?
>
> > Sometimes they need to delete/copy/move/rename things (including
> > directory structures). When the less-skilled of the two needs to do
> > this -- and I suspect the other one too, sometimes -- they just blunder
> > on ahead using the Mac Finder (GUI file manager), resulting of course in
> > a total pooch-screw of Subversion at working copy level.
>
> Working copies should be disposable. A fresh checkout should fix any
> working copy problem.
>
> > Now, you might say "Just get them a nice GUI Subversion client to use,
> > like SVNx for Mac OS X". Only one problem - they don't use *local* svn
> > working copies. The working copies are all on a server, and they mount
> > the server fs as an AFP share so they can edit (and also use the
> > accursed Finder) from their own workstations. And actually, it really
> > has to be that way, for a couple of reasons:
>
> Mounted filesystems should be transparent to a subversion client. Why
> would this make any difference?
>
> > 1) These aren't static web-sites, they're served by a Java servlet
> > framework. So you can't just pull up a page source file in a browser,
> > you have to be running the servlet application for any of it to work.
>
> If you have multiple people making changes they probably need their own
> (at least virtual) web server to view/test them.
>
> > Setting these up and starting/stopping them is child's play for someone
> > with the right skill set (and this is how I work on their projects -- I
> > have all my own local working copies on my laptop and run the web
> > applications here), but it's really beyond what these other peeps can
> > handle, bless their hearts :-).
>
> Give them a button that ssh's the appropriate restart command to their
> viewing server if it isn't on their own machine.
>
> > It also has to be on a server so that
> > when things break, I can access it to witness/debug/fix the problem. If
> > they were running these on their own machines, they might as well be on
> > the far side of the Moon.
>
> If they break their working copy, tell them to check out a new one.
>
> > 2) Same goes w.r.t. to Subversion; when they inevitably botch up their
> > working areas, at least its on a server that I can log in to, so I can
> > go clean up the mess.
> >
> > You might also say "maybe you should use a real web-based
> > content-management system for this kind of thing, instead of a
> > Subversion repository". But notice that since I have just said, "you
> > might also say...", nobody need now actually say that... :-)
>
> If you are using a subversion repository, it should be a working copy
> that is only updated, never edited directly, or an rsync or similar copy
> of such a working copy. And especially don't let anyone use direct
> filesystem access to this one. Give them a button that ssh's an
> update command wherever this WC lives and then does whatever else it
> takes to make the web server notice.
>
>
> > So then...
> > DESIDERATA
> > ----------
> >
> > Suppose there were Subversion client that ran as a server daemon
> > implementing WebDAV or SMB or NFS or AFP. Its purpose would be to Do
> > The Right Thing when asked to delete/copy/move/rename elements that are
> > already under Subversion control. Somebody would still have to go
> > "under the covers" in order to svn add/commit/update/merge/etc., but I
> > am already doing that anyway. This would just allow somebody who is
> > Subversion-blissfully-unaware (and completely command-line-incapable) to
> > mount a remote Subversion working area and do naive filesystem
> > manipulations using their GUI of choice, without totally botching up the
> > working copy metadata.
>
> What's the point of using a dumb GUI and trying to build a
> smart-enough-filesystem to second guess its mistakes when smart GUI's
> already exist?
>
> --
> Les Mikesell
> lesmikesell@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Mark Lundquist <lu...@gmail.com>.
Matt Sickler wrote:
> your best (and probably easiest in the long run) is to have the devs read
> The Subversion Book and learn svn already
erm, no... that's neither the best, nor the easiest in the short,
medium, or long run. But thanks anyway.
>
> trying to mask the versioning from the developer is stupid
It's not stupid. And these are not "developers". You don't get it.
These users are Not Like Us.
>
> me to them: LEARN THE FSKING SHELL ALREADY - MAC AINT WINDOWS!
Me to you: what makes you think Windows has anything to do with this?
—ml—
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Asynchrone php script hook ?
Posted by vcf <vc...@free.fr>.
Hello,
We use post-commit.bat hook ( it call a php script under win32 ) for
send mail and auto-update repos and it take some time !
Anybody have experienced to execute asynchrone hook/php script for do that ?
Thank you for your help,
@livier.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Janine Sisk <ja...@furfly.net>.
On Feb 27, 2007, at 1:26 PM, Jeff Smith wrote:
>> It's not stupid. And these are not "developers". You don't get
>> it. These users are Not Like Us.
>
> What... what do you think that a developer is, if it is not one who
> develops a document? It makes no difference whether that document is
> going to be rendered as HTML, compiled, or just read by someone else.
I gotta throw in a word of support here. I sometimes work with
graphics people and the OP is right, they are not like us. They
don't think like us and they don't want to. I think you are all
vastly underestimating the immense resistance *some* graphic
designers have to anything that isn't part of their definition of the
creative process. Not all, of course, but I have seen this often
enough to have no trouble whatsoever envisioning the situation he is
in, and to sympathize.
This may not make solving the problem any easier, but I just wanted
to say that I think you all (not just Jeff) are being unnecessarily
hard on the guy.
janine
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Jeff Smith <js...@robotronics.com>.
On Wednesday 21 February 2007 18:46, Mark Lundquist wrote:
> Matt Sickler wrote:
> > your best (and probably easiest in the long run) is to have the
> > devs read The Subversion Book and learn svn already
>
> erm, no... that's neither the best, nor the easiest in the short,
> medium, or long run. But thanks anyway.
Sounds like you're the one calling your content developers stupid.
Many of us think that users are people, and people are intelligent.
>
> > trying to mask the versioning from the developer is stupid
I've got a few answers that can help, but only for those who don't
beleive they have already dismissed my comments; or say they are
unhelpful without *applying* them.
Yes Mark, WebDAV/Autoversioning is the solution you were looking for
(provided the history is kept on a copy/move), but you've crushed
your own dream... and all on a trivial and incorrect assumption; "it
would require a profoundly different workflow, as every single file
write and every filesytem operation results in its own commit of a
new rev"
If you are relying (or insisting) on certain complex modifications
being in a single internal rev, you are not using Subversion
properly. Is there some reason why you cannot think of it the way it
was meant to be? After all, certainly a change to one single file IS
one single revision, and marked at the point of the file being saved
to disk. By your comment you are leading into the subject of
"tagging" releases, which has been quite thouroughly covered in
Subversion. Sure, what you need is an easy way for a person to push a
button to make the tag, and I agree that will be possible in some
GUI. Subversion is not about GUIs, and that is why you have a hard
time discussing the GUI you need on this list. It's just off-topic.
> It's not stupid. And these are not "developers". You don't get
> it. These users are Not Like Us.
What... what do you think that a developer is, if it is not one who
develops a document? It makes no difference whether that document is
going to be rendered as HTML, compiled, or just read by someone else.
You also were apparently not aware that Eclipse was not intended as
something only for editing source code. Eclipse, in itself, is a very
abstract framework for "developing" in general. One other example is
to develop graphical artwork.
> Me to you: what makes you think Windows has anything to do with
> this?
Easy: Andrew said, "users are users, we must learn to make our
products suit them, not make them to suit ourselves and then tell the
users they are stupid. already."
This approach is exactly what Microsoft tried. Did it work? Well, not
the way I define "work". Look at all those folks trying to use
Windows but believe they don't know anything about computers. The
minority (the computer literate) were disgusted with Microsoft
because the software did not offer the choice(s) they wanted. The
majority (what we call "Windows users" today) became mad at the
computer literate folks (whom they called geeks) because the geeks
were unable to make Windows work for the Windows users. So how have
they resolved the issue? To this day, many are still dishing out
loads of money for MS upgrades, hoping it will be solved "on the next
round". What is "it"? Well, that's the question, isn't it?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Matt Sickler <cr...@gmail.com>.
your best (and probably easiest in the long run) is to have the devs read
The Subversion Book and learn svn already
trying to mask the versioning from the developer is stupid
me to them: LEARN THE FSKING SHELL ALREADY - MAC AINT WINDOWS!
On 2/20/07, Les Mikesell <le...@gmail.com> wrote:
>
> Mark Lundquist wrote:
>
> > I have a situation with one of my clients that seems to call for a novel
> > solution.
>
> I think the 'crazy' in the subject is appropriate here.
>
> > One of my clients is a tiny Web design/development/hosting company that
> > maintains a bunch of web sites/applications for their customers. They
> > do content and graphic design, while I am in charge of all the geekery.
> > All the web application assets are controlled under Subversion. I set
> > up Subversion for them and taught the more technically-inclined of this
> > crew how to do basic things like committing from a "development" working
> > copy, updating to a "production" working copy, "svn add" (and a few
> > other things... but those three are really what he ends up being able to
> > reliably do). Incidentally, this guy is the only one of the bunch who
> > has any clue what to do with a Unix shell. The other one does HTML
> > content updates, and she is completely hopeless when it comes to the
> > command line. These are People Of The GUI, and I'm not going to be able
> > to change them.
>
> If they want a gui, give them a GUI. Have they tried eclipse/subeclipse?
>
> > Sometimes they need to delete/copy/move/rename things (including
> > directory structures). When the less-skilled of the two needs to do
> > this -- and I suspect the other one too, sometimes -- they just blunder
> > on ahead using the Mac Finder (GUI file manager), resulting of course in
> > a total pooch-screw of Subversion at working copy level.
>
> Working copies should be disposable. A fresh checkout should fix any
> working copy problem.
>
> > Now, you might say "Just get them a nice GUI Subversion client to use,
> > like SVNx for Mac OS X". Only one problem — they don't use *local* svn
> > working copies. The working copies are all on a server, and they mount
> > the server fs as an AFP share so they can edit (and also use the
> > accursed Finder) from their own workstations. And actually, it really
> > has to be that way, for a couple of reasons:
>
> Mounted filesystems should be transparent to a subversion client. Why
> would this make any difference?
>
> > 1) These aren't static web-sites, they're served by a Java servlet
> > framework. So you can't just pull up a page source file in a browser,
> > you have to be running the servlet application for any of it to work.
>
> If you have multiple people making changes they probably need their own
> (at least virtual) web server to view/test them.
>
> > Setting these up and starting/stopping them is child's play for someone
> > with the right skill set (and this is how I work on their projects -- I
> > have all my own local working copies on my laptop and run the web
> > applications here), but it's really beyond what these other peeps can
> > handle, bless their hearts :-).
>
> Give them a button that ssh's the appropriate restart command to their
> viewing server if it isn't on their own machine.
>
> > It also has to be on a server so that
> > when things break, I can access it to witness/debug/fix the problem. If
> > they were running these on their own machines, they might as well be on
> > the far side of the Moon.
>
> If they break their working copy, tell them to check out a new one.
>
> > 2) Same goes w.r.t. to Subversion; when they inevitably botch up their
> > working areas, at least its on a server that I can log in to, so I can
> > go clean up the mess.
> >
> > You might also say "maybe you should use a real web-based
> > content-management system for this kind of thing, instead of a
> > Subversion repository". But notice that since I have just said, "you
> > might also say...", nobody need now actually say that... :-)
>
> If you are using a subversion repository, it should be a working copy
> that is only updated, never edited directly, or an rsync or similar copy
> of such a working copy. And especially don't let anyone use direct
> filesystem access to this one. Give them a button that ssh's an
> update command wherever this WC lives and then does whatever else it
> takes to make the web server notice.
>
>
> > So then...
> > DESIDERATA
> > ----------
> >
> > Suppose there were Subversion client that ran as a server daemon
> > implementing WebDAV or SMB or NFS or AFP. Its purpose would be to Do
> > The Right Thing when asked to delete/copy/move/rename elements that are
> > already under Subversion control. Somebody would still have to go
> > "under the covers" in order to svn add/commit/update/merge/etc., but I
> > am already doing that anyway. This would just allow somebody who is
> > Subversion-blissfully-unaware (and completely command-line-incapable) to
> > mount a remote Subversion working area and do naive filesystem
> > manipulations using their GUI of choice, without totally botching up the
> > working copy metadata.
>
> What's the point of using a dumb GUI and trying to build a
> smart-enough-filesystem to second guess its mistakes when smart GUI's
> already exist?
>
> --
> Les Mikesell
> lesmikesell@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Les Mikesell <le...@gmail.com>.
Mark Lundquist wrote:
>>
>> Working copies should be disposable. A fresh checkout should fix any
>> working copy problem.
>
> Yeah, except it seems to me that when you just delete a working area,
> there's *something* that can be lost... now, what was it? Ah, now I
> remember, something about LOCAL MODIFICATIONS.
If you have made changes worth saving they are worth committing. Lots of
bad things can happen to your working copy with or without your own
mistakes. There is an easy way to protect your work.
> You're right, working areas are disposable — to Subversion, but not
> necessarily to people.
The changes since your last commit should be disposable or you should
arrange some other kind of backup.
>>> Now, you might say "Just get them a nice GUI Subversion client to
>>> use, like SVNx for Mac OS X". Only one problem — they don't use
>>> *local* svn working copies. The working copies are all on a server,
>>> and they mount the server fs as an AFP share so they can edit (and
>>> also use the accursed Finder) from their own workstations. And
>>> actually, it really has to be that way, for a couple of reasons:
>>
>>
>> Mounted filesystems should be transparent to a subversion client. Why
>> would this make any difference?
>
> Two reasons:
>
> 1) timestamps
Huh? Who cares about the timestamps and why would they be different on
a network mount?
> 2) performance
>
> I could be wrong about (1), not sure... (2) is definitely an issue with
> SVNx. It looks like it has to stat a crapload of files, and it's
> glacially slow over AFP.
Network filesystem speed is a solvable problem - probably mostly fixable
with sufficient ram on the server. But that's probably not the way you
should go anyway.
>> If they break their working copy, tell them to check out a new one.
>
> It's not *their* working copy, it's *the* shared development area which
> comes to them "ex nihilo" (i.e., I set it up for them). They do not
> know about the repository or how to "check out" things.
*This* is the problem you need to solve. I don't think you will get
much sympathy here about problems with a shared working copy.
Subversion wasn't designed for that.
> But anyway that's a moot point — see above, "just delete it and check
> out a fresh one" is *not* the solution for a hosed working copy with
> local changes!
If you had committed those changes, no problem.
It's like if the hospital said "Thank you for bringing
> your child to the emergency room today. We've found that rather than
> treating certain cases, it's much easier to just provide you with a
> replacement child."
If you send your kid out to play in the street and he gets hit by a bus,
what else can they do?
>> If you are using a subversion repository, it should be a working copy
>> that is only updated, never edited directly,
>
> Well, that's certainly true for the "production" instance, certainly not
> true for the shared "development" instance, and this tangent about
> shared vs. individual areas is irrelevant. The issue is just "dumb file
> manager GUI vs. Subversion"; it doesn't matter whether there are 1 or 10
> people using the working copy.
Yes, if they are incapable of doing 'svn add' for new files, you'll have
to find something to help them with that. But you don't have to let
them screw up the place where anyone else works.
>> > What's the point of using a dumb GUI and trying to build a
>> smart-enough-filesystem to second guess its mistakes when smart GUI's
>> already exist?
>
> The point is that the "smart GUIs" all operate on local working copies,
> and I believe that prevents me from using them to solve this problem.
> Maybe I'm wrong about that.
If you can't solve the problem you want, change the problem. Check out
a copy for each user and either teach them to run "svn commit" and "svn
update" or hook an icon to those commands for them. That fixes your
network mount speed problem and keeps a simple mouse drag from breaking
everyone's work. Then you can get back to finding a GUI they can use.
> Characterizing the dumb GUI as making "mistakes" that need to be
> "second-guessed" is unproductive. They aren't "mistakes" at all; it's
> just a case of a tool doing what it is designed to do and nothing more.
Svn needs to know about adds, moves, copies. A GUI that manipulates
files under svn's control without notifying svn isn't designed for the
work you want it to do.
> A solution to this problem using a "dumb GUI" is actually easier to
> accomplish in principle than one that uses a "smart GUI". In order to
> use the "smart GUI" in this setting, one would have to (a) invent some
> kind of "Subversion remote working copy protocol", then (b) write a
> server to implement it, and (c) teach the smart GUIs how to use this
> novel protocol.
Or use a more sensible setting where you do local work locally and let
svn take care of combining it with the work others do *and* making sure
you can get a fresh copy or back out to any prior version.
--
Les Mikesell
lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Stefan Langer <ma...@googlemail.com>.
I think you need to rethink the strategy of the shared working copy. It
sounds to me like the setup you are using is sort of like two version
controls.
First the main one which is svn then the second one which is the shared
working copy and then the client which is the file system client of the
user.
So my suggestion to you find a different tool than svn or eliminate the
shared working copy and give each user access to their own working copy
with a decent GUIClient. I don't believe that these people are so stupid
that they are unable to learn update and checkout. If they do not step
on each others toes they should have no problems since they will not
produce conflicts anyway.
Regards
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Mark Lundquist <lu...@gmail.com>.
Les Mikesell wrote:
> Mark Lundquist wrote:
>> [...]
>
> If they want a gui, give them a GUI.
Brilliant, now why didn't I think of that? Oh wait... I did. See below.
> Have they tried eclipse/subeclipse?
Of all the Subversion GUIs, Eclipse+Subclipse (a software development
tool) would probably be the worst for these users (who are not software
developers). SNVx would be a better choice if it were just about
picking the most suitable GUI Subversion client, but it's not... none of
these tools will work in this situation, for reasons that I went to some
trouble to explain.
>
> Working copies should be disposable. A fresh checkout should fix any
> working copy problem.
Yeah, except it seems to me that when you just delete a working area,
there's *something* that can be lost... now, what was it? Ah, now I
remember, something about LOCAL MODIFICATIONS.
You're right, working areas are disposable — to Subversion, but not
necessarily to people.
>> Now, you might say "Just get them a nice GUI Subversion client to use,
>> like SVNx for Mac OS X". Only one problem — they don't use *local*
>> svn working copies. The working copies are all on a server, and they
>> mount the server fs as an AFP share so they can edit (and also use
>> the accursed Finder) from their own workstations. And actually, it
>> really has to be that way, for a couple of reasons:
>
>
> Mounted filesystems should be transparent to a subversion client. Why
> would this make any difference?
Two reasons:
1) timestamps
2) performance
I could be wrong about (1), not sure... (2) is definitely an issue with
SVNx. It looks like it has to stat a crapload of files, and it's
glacially slow over AFP.
I've been scouting around for other OS X Subversion GUIs, maybe I'll
find one that's quicker in this setting.
Actually, what has me more worried is the feeling that there is a (3)
that's I'm forgetting about...
>
> If you have multiple people making changes they probably need their own
> (at least virtual) web server to view/test them.
Actually no, they do not need that. They've been using this work style,
with a shared development area, for a couple of years, and it hasn't
been a problem. Their work naturally does not overlap very much, and
they coordinate pretty well to keep from stepping on each others' toes
when it does. The problem is that the know-how to keep from stepping on
Subversion's toes is really beyond their reach.
Even if they had their own work areas, it wouldn't solve this problem,
in fact it would magnify it. So this is irrelevant.
>
> Give them a button that ssh's the appropriate restart command to their
> viewing server if it isn't on their own machine.
No; nothing needs to be restarted when they make their changes. It's
not about that. This doesn't help me, even if I did have time to spend
"making buttons", which I do not.
>
> If they break their working copy, tell them to check out a new one.
It's not *their* working copy, it's *the* shared development area which
comes to them "ex nihilo" (i.e., I set it up for them). They do not
know about the repository or how to "check out" things.
But anyway that's a moot point — see above, "just delete it and check
out a fresh one" is *not* the solution for a hosed working copy with
local changes! It's like if the hospital said "Thank you for bringing
your child to the emergency room today. We've found that rather than
treating certain cases, it's much easier to just provide you with a
replacement child."
> If you are using a subversion repository, it should be a working copy
> that is only updated, never edited directly,
Well, that's certainly true for the "production" instance, certainly not
true for the shared "development" instance, and this tangent about
shared vs. individual areas is irrelevant. The issue is just "dumb file
manager GUI vs. Subversion"; it doesn't matter whether there are 1 or 10
people using the working copy.
> > What's the point of using a dumb GUI and trying to build a
> smart-enough-filesystem to second guess its mistakes when smart GUI's
> already exist?
The point is that the "smart GUIs" all operate on local working copies,
and I believe that prevents me from using them to solve this problem.
Maybe I'm wrong about that.
Characterizing the dumb GUI as making "mistakes" that need to be
"second-guessed" is unproductive. They aren't "mistakes" at all; it's
just a case of a tool doing what it is designed to do and nothing more.
A solution to this problem using a "dumb GUI" is actually easier to
accomplish in principle than one that uses a "smart GUI". In order to
use the "smart GUI" in this setting, one would have to (a) invent some
kind of "Subversion remote working copy protocol", then (b) write a
server to implement it, and (c) teach the smart GUIs how to use this
novel protocol. The solution I had in mind would use one of a number of
available "dumb" protocols that already exist, and for which a number of
"dumb GUI" clients also already exist. All that would need to be done
would be to write the server part. I was just curious to find out if
anyone had done anything like that.
—ml—
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Crazy idea? Remote SVN client for the Subversion-impaired
Posted by Les Mikesell <le...@gmail.com>.
Mark Lundquist wrote:
> I have a situation with one of my clients that seems to call for a novel
> solution.
I think the 'crazy' in the subject is appropriate here.
> One of my clients is a tiny Web design/development/hosting company that
> maintains a bunch of web sites/applications for their customers. They
> do content and graphic design, while I am in charge of all the geekery.
> All the web application assets are controlled under Subversion. I set
> up Subversion for them and taught the more technically-inclined of this
> crew how to do basic things like committing from a "development" working
> copy, updating to a "production" working copy, "svn add" (and a few
> other things... but those three are really what he ends up being able to
> reliably do). Incidentally, this guy is the only one of the bunch who
> has any clue what to do with a Unix shell. The other one does HTML
> content updates, and she is completely hopeless when it comes to the
> command line. These are People Of The GUI, and I'm not going to be able
> to change them.
If they want a gui, give them a GUI. Have they tried eclipse/subeclipse?
> Sometimes they need to delete/copy/move/rename things (including
> directory structures). When the less-skilled of the two needs to do
> this -- and I suspect the other one too, sometimes -- they just blunder
> on ahead using the Mac Finder (GUI file manager), resulting of course in
> a total pooch-screw of Subversion at working copy level.
Working copies should be disposable. A fresh checkout should fix any
working copy problem.
> Now, you might say "Just get them a nice GUI Subversion client to use,
> like SVNx for Mac OS X". Only one problem — they don't use *local* svn
> working copies. The working copies are all on a server, and they mount
> the server fs as an AFP share so they can edit (and also use the
> accursed Finder) from their own workstations. And actually, it really
> has to be that way, for a couple of reasons:
Mounted filesystems should be transparent to a subversion client. Why
would this make any difference?
> 1) These aren't static web-sites, they're served by a Java servlet
> framework. So you can't just pull up a page source file in a browser,
> you have to be running the servlet application for any of it to work.
If you have multiple people making changes they probably need their own
(at least virtual) web server to view/test them.
> Setting these up and starting/stopping them is child's play for someone
> with the right skill set (and this is how I work on their projects -- I
> have all my own local working copies on my laptop and run the web
> applications here), but it's really beyond what these other peeps can
> handle, bless their hearts :-).
Give them a button that ssh's the appropriate restart command to their
viewing server if it isn't on their own machine.
> It also has to be on a server so that
> when things break, I can access it to witness/debug/fix the problem. If
> they were running these on their own machines, they might as well be on
> the far side of the Moon.
If they break their working copy, tell them to check out a new one.
> 2) Same goes w.r.t. to Subversion; when they inevitably botch up their
> working areas, at least its on a server that I can log in to, so I can
> go clean up the mess.
>
> You might also say "maybe you should use a real web-based
> content-management system for this kind of thing, instead of a
> Subversion repository". But notice that since I have just said, "you
> might also say...", nobody need now actually say that... :-)
If you are using a subversion repository, it should be a working copy
that is only updated, never edited directly, or an rsync or similar copy
of such a working copy. And especially don't let anyone use direct
filesystem access to this one. Give them a button that ssh's an
update command wherever this WC lives and then does whatever else it
takes to make the web server notice.
> So then...
> DESIDERATA
> ----------
>
> Suppose there were Subversion client that ran as a server daemon
> implementing WebDAV or SMB or NFS or AFP. Its purpose would be to Do
> The Right Thing when asked to delete/copy/move/rename elements that are
> already under Subversion control. Somebody would still have to go
> "under the covers" in order to svn add/commit/update/merge/etc., but I
> am already doing that anyway. This would just allow somebody who is
> Subversion-blissfully-unaware (and completely command-line-incapable) to
> mount a remote Subversion working area and do naive filesystem
> manipulations using their GUI of choice, without totally botching up the
> working copy metadata.
What's the point of using a dumb GUI and trying to build a
smart-enough-filesystem to second guess its mistakes when smart GUI's
already exist?
--
Les Mikesell
lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org