You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrey Repin <an...@freemail.ru> on 2009/04/02 17:53:19 UTC

Re[4]: Want to set up SVN for a web app

Greetings, Bob Archer!

>> Fifth step is to make these changes available to public.
>> Here is the problem.
>> 1. Making public server another (readonly) working copy... not wise.
BA> It
>> 2. Continuous export's of the whole directory tree... not wise.
BA> Projects

BA> What about:

BA> 3. rsync (or ant or...) from your build server or other workstation that
BA> does have a working copy. This should be set up to exclude the .svn
BA> files and any .template type files you might use.

My working copy not accessible from the world :) And I need purely production
server side solution, so I could just connect to it from anywhere and issue an
updating command. However, this "anywhere" more often will be my home machine,
but what about these unpredictable situations, where you loosing your server
files (all or part of them) and need to get it back up and running as fast as
possible?
Really, do you think I would expose my working machine to the world?
Even my test server firewalled to the teeth. Working host even deeper inside
my own LAN, only accessible from dark and scary tunnel in server. With
toothy dog laid on the other end of it.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 02.04.2009, <21:46>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1521906

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re[6]: Want to set up SVN for a web app

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Bob Archer!

>> Really, do you think I would expose my working machine to the world?
>> Even my test server firewalled to the teeth. Working host even deeper
>> inside
>> my own LAN, only accessible from dark and scary tunnel in server. With
>> toothy dog laid on the other end of it.

BA> Um, no! I was thinking more of a PUSH system from the staging or build
BA> server to the production server rather than a PULL from the production
BA> server. Personally, I prefer not to have my production system be a
BA> working copy.

BA> But, if that's the way you want to go, I can't stop you.

No, that was my initial idea - to avoid turning the production server into a
working copy, but maintain ability to request new version from the server
side. (With CVS, it wasn't an issue - CVS storing little to no information in
service area)

I think i will take a simple approach of nightly builds.
Thanks for your input.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 02.04.2009, <22:24>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1522458

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Re[4]: Want to set up SVN for a web app

Posted by Bob Archer <bo...@amsi.com>.
> Really, do you think I would expose my working machine to the world?
> Even my test server firewalled to the teeth. Working host even deeper
> inside
> my own LAN, only accessible from dark and scary tunnel in server. With
> toothy dog laid on the other end of it.

Um, no! I was thinking more of a PUSH system from the staging or build
server to the production server rather than a PULL from the production
server. Personally, I prefer not to have my production system be a
working copy.

But, if that's the way you want to go, I can't stop you.

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1522221

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Want to set up SVN for a web app

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Ryan Schmidt!

> True, "changed" is not an option of the "svn" program, but there are
> two other ways you can learn what paths were changed by a revision:

> svn log -q -v -r 123

> svn diff --summarize -c 123

Thanks much.
Latter one is almost exactly what I need, because I want ability to examine
range of revisions in one step.
Little bit of scripting need around it... that's my work, indeed. Thanks
again.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 07.04.2009, <15:51>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1578052

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Want to set up SVN for a web app

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 3, 2009, at 05:40, Andrey Repin wrote:

> Greetings, Ryan Schmidt!
>
>>> I just found out that svnlook doing exactly what I need, but, damn,
>>> it's only
>>> administrative tool... gonna take some research and build some
>>> distribution
>>> scripts then... wish I could have similar tool working with
>>> repository through
>>> any of the supported SVN protocols...
>
>> Sorry, I'm getting confused... what feature is it that you found in
>> svnlook but not in svn?
>
>
> [C:\]$svnlook help changed
> changed: usage: svnlook changed REPOS_PATH
>
> Print the paths that were changed.
>
> Valid options:
>   -r [--revision] ARG      : specify revision number ARG
>   -t [--transaction] ARG   : specify transaction name ARG
>   --copy-info              : show details for copies

True, "changed" is not an option of the "svn" program, but there are  
two other ways you can learn what paths were changed by a revision:

svn log -q -v -r 123

svn diff --summarize -c 123

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1560084

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Want to set up SVN for a web app

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Ryan Schmidt!

>> I just found out that svnlook doing exactly what I need, but, damn,
>> it's only
>> administrative tool... gonna take some research and build some  
>> distribution
>> scripts then... wish I could have similar tool working with  
>> repository through
>> any of the supported SVN protocols...

RS> Sorry, I'm getting confused... what feature is it that you found in  
RS> svnlook but not in svn?

[C:\]$svnlook help changed
changed: usage: svnlook changed REPOS_PATH

Print the paths that were changed.

Valid options:
  -r [--revision] ARG      : specify revision number ARG
  -t [--transaction] ARG   : specify transaction name ARG
  --copy-info              : show details for copies


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 03.04.2009, <14:38>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1531079

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Re[2]: Want to set up SVN for a web app

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 2, 2009, at 13:17, Andrey Repin wrote:

> I just found out that svnlook doing exactly what I need, but, damn,  
> it's only
> administrative tool... gonna take some research and build some  
> distribution
> scripts then... wish I could have similar tool working with  
> repository through
> any of the supported SVN protocols...

Sorry, I'm getting confused... what feature is it that you found in  
svnlook but not in svn?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1527770

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Want to set up SVN for a web app

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Ryan Schmidt!

> I wasn't sure what you meant by "it must", but if you were trying to
> suggest that the mail list software should be changing the Reply-To  
> header, then that is not what is desired by this project, as  
> explained here:

> http://subversion.tigris.org/mailing-lists.html#reply-to

Point taken.

> The way your mail reader uses square brackets in the "Re" part of the
> Subject line is a bit of a joke ("Re[2]:"), and my mail reader  
> (Apple's Mail.app) doesn't get it and doesn't display the threading  
> properly making it very hard to follow threads you've participated  
> in. I would sure appreciate it if you would just prefix replies with  
> "Re:" as per usual.

Why you aren't linking threads by References: header?
I can change subject line to anything, however. I'm not bound to any defaults.
See. It fixed now.

> Your quoting style, with initials preceding the angle bracket, is  
> also unusual to me, and to Mail.app, which then doesn't apply the  
> beautiful colored quoting that is so helpful in quickly identifying  
> who said what block of text. So if possible, please stop doing that  
> as well.

Of course it is possible. Although useful in determining, who you are quoting.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 03.04.2009, <14:47>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1531108

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Re[2]: Want to set up SVN for a web app

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 2, 2009, at 13:50, Andrey Repin wrote:

>>> LM> And by the way - your 'Reply-To: email setting makes it  
>>> difficult to
>>> LM> respond back to the list.
>>>
>>> My Reply-To set to reply back to the list, since list software  
>>> does not do
>>> that on itself (it must).

I wasn't sure what you meant by "it must", but if you were trying to  
suggest that the mail list software should be changing the Reply-To  
header, then that is not what is desired by this project, as  
explained here:

http://subversion.tigris.org/mailing-lists.html#reply-to

>>> This way, I can't be disturbed by unintended private messages,  
>>> regular "reply"
>>> will go to the list. If you want to reply to me personally, copy  
>>> my message to
>>> personal folder and issue a "Reply to author" command.
>
> LM> Sorry, false alarm.  Thunderbird only shows your name in the  
> reply-to:
> LM> and the reply even with "reply all" but it does have the list  
> address in
> LM> the hidden part.
>
> That's why The Bat! is a Mail client and everything else is a joke :P

The way your mail reader uses square brackets in the "Re" part of the  
Subject line is a bit of a joke ("Re[2]:"), and my mail reader  
(Apple's Mail.app) doesn't get it and doesn't display the threading  
properly making it very hard to follow threads you've participated  
in. I would sure appreciate it if you would just prefix replies with  
"Re:" as per usual.

Your quoting style, with initials preceding the angle bracket, is  
also unusual to me, and to Mail.app, which then doesn't apply the  
beautiful colored quoting that is so helpful in quickly identifying  
who said what block of text. So if possible, please stop doing that  
as well.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1527873

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re[2]: Want to set up SVN for a web app

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Les Mikesell!

>> LM> Rsync is typically used over ssh - with the command issued from the
>> LM> private/firewalled side.   If you can connect to the server via ssh 
>> LM> (perhaps even needing to establish a vpn first), rsync is a suitable 
>> LM> mechanism to send files there.
>> 
>> I just found out that svnlook doing exactly what I need, but, damn, it's only
>> administrative tool... gonna take some research and build some distribution
>> scripts then... wish I could have similar tool working with repository through
>> any of the supported SVN protocols...

LM> Most people don't want something pushed to production just because it 
LM> shows up as a change in the repository.  Normally you would have tested 
LM> a specific revision or tag copy, then you would run a script that 
LM> updates a staging location with that revision/tag and pushes copies of 
LM> that everywhere you want them.  I think someone has posted here about 
LM> using a commit hook that would watch for tags with a certain pattern in 
LM> the names, so all you had to do from a client was copy to a tag with 
LM> that pattern in the name to trigger the push to production.  You can run 
LM> svnlook in the commit hooks, so you might also use that to trigger extra 
LM> operations on the server side.

Yep, that all was part my original idea. :) As I said, I've read the svnbook
quite alot. Not to the level of storing it in my brain, but enough to know the
general features available and common patterns of usage... plus my past
experience with CVS.
Still, need research... will post back if I find out something useful, sure.

>> LM> And by the way - your 'Reply-To: email setting makes it difficult to 
>> LM> respond back to the list.
>> 
>> My Reply-To set to reply back to the list, since list software does not do
>> that on itself (it must).
>> This way, I can't be disturbed by unintended private messages, regular "reply"
>> will go to the list. If you want to reply to me personally, copy my message to
>> personal folder and issue a "Reply to author" command.

LM> Sorry, false alarm.  Thunderbird only shows your name in the reply-to: 
LM> and the reply even with "reply all" but it does have the list address in 
LM> the hidden part.

That's why The Bat! is a Mail client and everything else is a joke :P


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 02.04.2009, <22:46>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1522862

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Want to set up SVN for a web app

Posted by Les Mikesell <le...@gmail.com>.
Andrey Repin wrote:
>
> LM> Rsync is typically used over ssh - with the command issued from the 
> LM> private/firewalled side.   If you can connect to the server via ssh 
> LM> (perhaps even needing to establish a vpn first), rsync is a suitable 
> LM> mechanism to send files there.
> 
> I just found out that svnlook doing exactly what I need, but, damn, it's only
> administrative tool... gonna take some research and build some distribution
> scripts then... wish I could have similar tool working with repository through
> any of the supported SVN protocols...

Most people don't want something pushed to production just because it 
shows up as a change in the repository.  Normally you would have tested 
a specific revision or tag copy, then you would run a script that 
updates a staging location with that revision/tag and pushes copies of 
that everywhere you want them.  I think someone has posted here about 
using a commit hook that would watch for tags with a certain pattern in 
the names, so all you had to do from a client was copy to a tag with 
that pattern in the name to trigger the push to production.  You can run 
svnlook in the commit hooks, so you might also use that to trigger extra 
operations on the server side.

> LM> And by the way - your 'Reply-To: email setting makes it difficult to 
> LM> respond back to the list.
> 
> My Reply-To set to reply back to the list, since list software does not do
> that on itself (it must).
> This way, I can't be disturbed by unintended private messages, regular "reply"
> will go to the list. If you want to reply to me personally, copy my message to
> personal folder and issue a "Reply to author" command.

Sorry, false alarm.  Thunderbird only shows your name in the reply-to: 
and the reply even with "reply all" but it does have the list address in 
the hidden part.

-- 
   Les Mikesell
    lesmikesell@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1522578

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re[2]: Want to set up SVN for a web app

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Les Mikesell!

>>>> Fifth step is to make these changes available to public.
>>>> Here is the problem.
>>>> 1. Making public server another (readonly) working copy... not wise.
>> BA> It
>>>> 2. Continuous export's of the whole directory tree... not wise.
>> BA> Projects
>> 
>> BA> What about:
>> 
>> BA> 3. rsync (or ant or...) from your build server or other workstation that
>> BA> does have a working copy. This should be set up to exclude the .svn
>> BA> files and any .template type files you might use.
>> 
>> My working copy not accessible from the world :) And I need purely production
>> server side solution, so I could just connect to it from anywhere and issue an
>> updating command. However, this "anywhere" more often will be my home machine,
>> but what about these unpredictable situations, where you loosing your server
>> files (all or part of them) and need to get it back up and running as fast as
>> possible?

LM> Rsync is typically used over ssh - with the command issued from the 
LM> private/firewalled side.   If you can connect to the server via ssh 
LM> (perhaps even needing to establish a vpn first), rsync is a suitable 
LM> mechanism to send files there.

I just found out that svnlook doing exactly what I need, but, damn, it's only
administrative tool... gonna take some research and build some distribution
scripts then... wish I could have similar tool working with repository through
any of the supported SVN protocols...

LM> And by the way - your 'Reply-To: email setting makes it difficult to 
LM> respond back to the list.

My Reply-To set to reply back to the list, since list software does not do
that on itself (it must).
This way, I can't be disturbed by unintended private messages, regular "reply"
will go to the list. If you want to reply to me personally, copy my message to
personal folder and issue a "Reply to author" command.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 02.04.2009, <22:11>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1522294

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Want to set up SVN for a web app

Posted by Les Mikesell <le...@gmail.com>.
Andrey Repin wrote:
> Greetings, Bob Archer!
> 
>>> Fifth step is to make these changes available to public.
>>> Here is the problem.
>>> 1. Making public server another (readonly) working copy... not wise.
> BA> It
>>> 2. Continuous export's of the whole directory tree... not wise.
> BA> Projects
> 
> BA> What about:
> 
> BA> 3. rsync (or ant or...) from your build server or other workstation that
> BA> does have a working copy. This should be set up to exclude the .svn
> BA> files and any .template type files you might use.
> 
> My working copy not accessible from the world :) And I need purely production
> server side solution, so I could just connect to it from anywhere and issue an
> updating command. However, this "anywhere" more often will be my home machine,
> but what about these unpredictable situations, where you loosing your server
> files (all or part of them) and need to get it back up and running as fast as
> possible?
> Really, do you think I would expose my working machine to the world?
> Even my test server firewalled to the teeth. Working host even deeper inside
> my own LAN, only accessible from dark and scary tunnel in server. With
> toothy dog laid on the other end of it.

Rsync is typically used over ssh - with the command issued from the 
private/firewalled side.   If you can connect to the server via ssh 
(perhaps even needing to establish a vpn first), rsync is a suitable 
mechanism to send files there.

And by the way - your 'Reply-To: email setting makes it difficult to 
respond back to the list.

-- 
   Les Mikesell
    lesmikesell@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1522135

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].