Re: Commit bot without password

2014-09-12 Thread Kim Gräsman
On Fri, Sep 12, 2014 at 2:48 PM, Branko Čibej wrote: > On 12.09.2014 09:31, Kim Gräsman wrote: > >> This is not a problem for us, but it would be nice if one could >> somehow perform authorization both before and after the precommit >> hook. > > Did you mean authentication or authorization? Autho

Re: Commit bot without password

2014-09-12 Thread Branko Čibej
On 12.09.2014 09:31, Kim Gräsman wrote: > Hello , > > I've seen the discussion on rewriting transactions with svnadmin, so > it sounds like this scenario might be less esoteric in the future. > > I just wanted to reiterate one thing that you might also want to think about: > > On Sat, Sep 6, 2014 a

Re: Commit bot without password

2014-09-12 Thread Kim Gräsman
Hello , I've seen the discussion on rewriting transactions with svnadmin, so it sounds like this scenario might be less esoteric in the future. I just wanted to reiterate one thing that you might also want to think about: On Sat, Sep 6, 2014 at 9:19 AM, Kim Gräsman wrote: > One snag is that it

Re: Commit bot without password

2014-09-06 Thread Kim Gräsman
On Sat, Sep 6, 2014 at 12:25 PM, Branko Čibej wrote: > On 06.09.2014 09:19, Kim Gräsman wrote: >> Hi all, >> >> This worked out really well for us. We use the Apache SVN server on >> Windows, so we never managed to use the SVN Python modules (my >> coworker who did most of this work never managed

Re: Commit bot without password

2014-09-06 Thread Branko Čibej
On 06.09.2014 09:19, Kim Gräsman wrote: > Hi all, > > This worked out really well for us. We use the Apache SVN server on > Windows, so we never managed to use the SVN Python modules (my > coworker who did most of this work never managed to find a > Windows-compatible distribution for Python 3.x.)

Re: Commit bot without password

2014-09-06 Thread Kim Gräsman
Hi all, This worked out really well for us. We use the Apache SVN server on Windows, so we never managed to use the SVN Python modules (my coworker who did most of this work never managed to find a Windows-compatible distribution for Python 3.x.) Instead, we inspected the transaction file and par

Re: Commit bot without password

2014-09-03 Thread Kim Gräsman
On Wed, Sep 3, 2014 at 10:30 PM, Andreas Stieger wrote: > > Example for manipulating the revision properties of the incoming > transaction: > http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/persist-ephemeral-txnprops.py?view=markup Love it, thanks! I'll try and experiment with t

Re: Commit bot without password

2014-09-03 Thread Andreas Stieger
Hi, On 03/09/14 21:21, Kim Gräsman wrote: > On Wed, Sep 3, 2014 at 10:08 PM, Branko Čibej wrote: You could try the following trick: on the build machine, with the bot's credentials, do this: $ svn commit -m ... --with-revprop on-behalf-of=username then on the ser

Re: Commit bot without password

2014-09-03 Thread Kim Gräsman
On Wed, Sep 3, 2014 at 10:08 PM, Branko Čibej wrote: >>> You could try the following trick: on the build machine, with the bot's >>> credentials, do this: >>> >>> $ svn commit -m ... --with-revprop on-behalf-of=username >>> >>> then on the server, add a pre-commit hook script that looks at the

Re: Commit bot without password

2014-09-03 Thread Branko Čibej
On 03.09.2014 21:45, Kim Gräsman wrote: > Hi Brane, > > On Wed, Sep 3, 2014 at 9:37 PM, Branko Čibej wrote: >> On 03.09.2014 21:21, Kim Gräsman wrote: >>> Is there some way to convince Subversion to commit on a user's behalf? >>> We'd like to designate one SVN account as the commit bot account and

Re: Commit bot without password

2014-09-03 Thread Kim Gräsman
Hi Brane, On Wed, Sep 3, 2014 at 9:37 PM, Branko Čibej wrote: > On 03.09.2014 21:21, Kim Gräsman wrote: >> >> Is there some way to convince Subversion to commit on a user's behalf? >> We'd like to designate one SVN account as the commit bot account and >> let it impersonate users at will. > > You

Re: Commit bot without password

2014-09-03 Thread Branko Čibej
On 03.09.2014 21:21, Kim Gräsman wrote: > Hello, > > I'm new to the list, so forgive me if this has been discussed before. > I didn't find anything in the archives. > > At my workplace, we run a simple home-cooked "gated commit" system on > top of Subversion 1.8. Users run their working copy change

Commit bot without password

2014-09-03 Thread Kim Gräsman
Hello, I'm new to the list, so forgive me if this has been discussed before. I didn't find anything in the archives. At my workplace, we run a simple home-cooked "gated commit" system on top of Subversion 1.8. Users run their working copy changes through a client program, it assembles all changes