Re: post-commit hook

2016-12-27 Thread Greg Stein
I found the patch and moderated it through. Thanks for the patch!! On Tue, Dec 27, 2016 at 6:09 PM, João M. S. Silva < joao.m.santos.si...@gmail.com> wrote: > On 12/26/2016 11:22 AM, Daniel Shahaf wrote: > >> The instructions say to send a patch to d...@subversion.apache.org, which >> you say you

Re: post-commit hook

2016-12-27 Thread João M . S . Silva
On 12/26/2016 11:22 AM, Daniel Shahaf wrote: The instructions say to send a patch to d...@subversion.apache.org, which you say you did. Under the hood, when a person (who isn't subscribed) emails the list for the first time, that mail would not appear in the archives until it's manually approved

Re: post-commit hook

2016-12-26 Thread Daniel Shahaf
João M. S. Silva wrote on Mon, Dec 26, 2016 at 10:02:24 +: > On 12/24/2016 12:00 PM, Daniel Shahaf wrote: > >João M. S. Silva wrote on Thu, Dec 22, 2016 at 23:54:59 +: > >>Thanks. I have submitted a patch to the developers mailing list. (It's my > >>first time.) > > > >… it doesn't seem to

Re: post-commit hook

2016-12-26 Thread João M . S . Silva
Hi, What do you mean, did I miss some step from the instructions you pointed to? Thanks. Best regards, João M. S. Silva On 12/24/2016 12:00 PM, Daniel Shahaf wrote: João M. S. Silva wrote on Thu, Dec 22, 2016 at 23:54:59 +: Thanks. I have submitted a patch to the developers mailing list.

Re: post-commit hook

2016-12-24 Thread Daniel Shahaf
João M. S. Silva wrote on Thu, Dec 22, 2016 at 23:54:59 +: > Thanks. I have submitted a patch to the developers mailing list. (It's my > first time.) … it doesn't seem to have been moderated through yet?

Re: post-commit hook

2016-12-22 Thread João M . S . Silva
On 12/21/2016 10:53 AM, Daniel Shahaf wrote: If it had become obsolete it wouldn't have been removed from the mailer.py code to maintain backwards compatibility. More likely, that parameter never existed in mailer.py as distributed by us. The comment in that blog suggests it's a local patch by

Re: post-commit hook

2016-12-21 Thread Daniel Shahaf
João M. S. Silva wrote on Tue, Dec 20, 2016 at 22:37:42 +: > On 12/13/2016 06:09 AM, Daniel Shahaf wrote: > >"smtp_use_ssl" is not a mailer.py configuration knob. > > You are right. I took that setting from a site: > > # added by jmss > # > http://sadomovalex.blogspot.pt/2009/12/use-gmail-sm

Re: post-commit hook

2016-12-20 Thread João M . S . Silva
On 12/13/2016 06:09 AM, Daniel Shahaf wrote: Yes, someone left a reply on the channel bot for you to see the next time you logged in. Thanks, I didn't know/remember of such a feature. They said: jmss: on 2016-12-09 danielsh said: "SMTP AUTH" not supported *may* mean that STARTTLS is required

Re: post-commit hook

2016-12-12 Thread Daniel Shahaf
João M. S. Silva wrote on Tue, Dec 13, 2016 at 00:14:56 +: > >Didn't you ask this on IRC not long ago? > > Yes, but there was no answer. Now that you mention it, I suppose someone > answered while my computer was sleeping/suspended and logged out from IRC? Yes, someone left a reply on the cha

Re: post-commit hook

2016-12-12 Thread João M . S . Silva
Didn't you ask this on IRC not long ago? Yes, but there was no answer. Now that you mention it, I suppose someone answered while my computer was sleeping/suspended and logged out from IRC? Whether the SMTP AUTH extension is offered on a plain connection before STARTTLS is not universal; that

Re: post-commit hook

2016-12-12 Thread João M . S . Silva
No. Nothing has changed on the Gmail side, as far as I know. Thanks. João M. S. Silva On 12/12/2016 07:24 AM, Eric Johnson wrote: By any chance does the gmail account in question now have two factor authentication turned on? Eric Sent from my iPad On Dec 11, 2016, at 6:21 PM, João M. S. Si

Re: post-commit hook

2016-12-12 Thread Daniel Shahaf
João M. S. Silva wrote on Fri, Dec 09, 2016 at 02:47:26 +: > This has worked for years. > > However, recently I get this error: > > smtplib.SMTPException: SMTP AUTH extension not supported by server > > Searching for a solution, it seems we have to run "starttls" before > "ehlo", but I don

Re: post-commit hook

2016-12-11 Thread Eric Johnson
By any chance does the gmail account in question now have two factor authentication turned on? Eric Sent from my iPad > On Dec 11, 2016, at 6:21 PM, João M. S. Silva > wrote: > > [I'm not subscribed to the list, please CC me.] > > Hi, > > I have been using subversion-tools to send post-commit

Re: POST-commit hook issue - Check in works

2014-02-11 Thread Matt Parks
Ben, Set up a new Virtual Server for SVN yesterday, and now I have to re-write my post-commit hook in some other DOS type language, instead of the bash script I was using. Just wanted to let you know, no resolution to issue, but moving to another server may help. Matthew C. Parks *Consultant*

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Branko Čibej
On 10.02.2014 15:23, Matt Parks wrote: > This is the error that the post-commit logs > > svn: OPTIONS of 'http://svnServer/svn/myREPO/trunk/wwwroot': could not > connect to server (http://svnServer) > > If there is another log, I am not aware to look for it to share it > here with you. So you're s

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Matt Parks
This is the error that the post-commit logs svn: OPTIONS of 'http://svnServer/svn/myREPO/trunk/wwwroot': could not connect to server (http://svnServer) If there is another log, I am not aware to look for it to share it here with you. Matt Matthew C. Parks *Consultant* *EMPOWER Student Inf

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Branko Čibej
On 10.02.2014 14:43, Matt Parks wrote: > Yes, I su - apache and ran command. > > the Apache error log you mean /etc/httpd/logs/error_log? That has the > following. > > [Mon Feb 10 08:23:21 2014] [notice] SELinux policy enabled; httpd > running as context root:system_r:httpd_t:s0 > [Mon Feb 10 08:2

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Matt Parks
Yes, I su - apache and ran command. the Apache error log you mean /etc/httpd/logs/error_log? That has the following. [Mon Feb 10 08:23:21 2014] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0 [Mon Feb 10 08:23:21 2014] [notice] suEXEC mechanism enabled (wrapper

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Branko Čibej
On 10.02.2014 14:24, Matt Parks wrote: > Running this command on the SVN server manually works, I'm assuming that's after 'sudo -u apache -i'. > just not in the post-commit hook script > > /usr/bin/svn co --username apache --password * > -q http://svnServer/ > /trunk/wwwroo

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Matt Parks
Running this command on the SVN server manually works, just not in the post-commit hook script /usr/bin/svn co --username apache --password * -q http://svnServer/ /trunk/wwwroot/ /var/svn/svntmp//build/ Matthew C. Parks *Consultant* *EMPOWER Student Information System

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Matt Parks
First entry in /var/svn/avn-auth-conf apache:$apr1$GaNxd/..$YeQrUtQBHINvbwal/v0Au/ But I will try out the file access right now... Matt Matthew C. Parks *Consultant* *EMPOWER Student Information System* ComSpec International, Inc. 30800 Telegraph Rd, Ste 2775 Bingham Farms, MI 48025 PH

Re: POST-commit hook issue - Check in works

2014-02-10 Thread Branko Čibej
On 10.02.2014 13:48, Matt Parks wrote: [...] > > > "apache" is the name of the local user on the server that your HTTPd > process is running as. > > > > HTTPd Conf contains: > > # Load Subversion Apache Modules > LoadModule dav_svn_module modules/mod_dav_svn.so > LoadModule authz_svn_module

Re: POST-commit hook issue - Check in works

2014-02-09 Thread Branko Čibej
On 10.02.2014 07:53, Branko Čibej wrote: > On 09.02.2014 23:30, Matt Parks wrote: >> OK, information on my issue, > > ... that went to the wrong list ... > >> svn, version 1.6.11 (r934486) >>compiled Apr 12 2012, 11:02:08 >> >> COMMIT code works, but post-commit does not. Here is my post commi

Re: POST-commit hook issue - Check in works

2014-02-09 Thread Branko Čibej
On 09.02.2014 23:30, Matt Parks wrote: > OK, information on my issue, ... that went to the wrong list ... > svn, version 1.6.11 (r934486) >compiled Apr 12 2012, 11:02:08 > > COMMIT code works, but post-commit does not. Here is my post commit code: > > echo "=" >>

Re: post-commit hook problems with SMTP

2011-11-04 Thread David Weintraub
On Thu, Nov 3, 2011 at 7:27 PM, Daniel Shahaf wrote: > I think MERGE is the DAV command that corresponds to "Commit this > transaction (i.e., promote it to a revision)". > > Anyway: when svn runs the hook, it only looks at its exit code, stderr, > and stdout.  So, check how these three change with

Re: post-commit hook problems with SMTP

2011-11-03 Thread Daniel Shahaf
David Weintraub wrote on Thu, Nov 03, 2011 at 12:46:52 -0400: > I've written a Perl post-commit hook that emails out via SMTP. I was > getting the following error when I try to do a commit: > > Sendingsubversion/README > Transmitting file data .svn: Commit failed (details follow):

RE: post-commit hook jurisdiction

2011-09-19 Thread Andreas Tscharner
> I don't yet have filesystem access to our SVN repository but am > looking into triggering Jenkins to build and deploy a project based on > SVN commits to the project, ideally only for a specific branch / trunk > to start. The SVN Jenkins plugin does polling (you can give it an interval) on a giv

Re: post-commit hook jurisdiction

2011-09-19 Thread Ryan Schmidt
On Sep 19, 2011, at 11:32, spacegoose wrote: > I'm wondering if the post-commit hook applies to the entire SVN > repository, Yes. > if there are (or can be) multiple post-commit files that > apply only to a particular project (or project branch / trunk), No. > or if > this is all done program

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 04:08, Himanshu Raina wrote: > Okay what I meant by null keys was password less keys. Apache runs as svn > user and the repository permissions are as follows > > drwxr-xr-x 7 svn apache 4096 Jul 27 12:14 Project/ > > The hooks script also has 755 permission and ownership as

Re: Post Commit Hook Script !!

2011-07-29 Thread David Weintraub
On Fri, Jul 29, 2011 at 3:17 AM, Himanshu Raina wrote: > > Hi, > The post-commit script isn't getting executed whenever code is merged from > trunk to tags. > Whenever the code needs to be deployed the code is copied from trunk to tags. > The script runs > fine when executed on the server but do

Re: Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
reas it shouldn't Regards,Himanshu Raina --- On Fri, 29/7/11, Ryan Schmidt wrote: From: Ryan Schmidt Subject: Re: Post Commit Hook Script !! To: "Himanshu Raina" Cc: users@subversion.apache.org, "MarkCooke" Date: Friday, 29 July, 2011, 2:13 PM On Jul 29, 2011, at 03:

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 03:38, Himanshu Raina wrote: > Well the interactive part has been removed. Moreover, there exists null keys > between the servers so it won't prompt for password. The current issue that > I'm facing is that it gives the following error on execution > > Warning: post-commit

Re: Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
gt;the time being. Regards,Himanshu --- On Fri, 29/7/11, Ryan Schmidt wrote: From: Ryan Schmidt Subject: Re: Post Commit Hook Script !! To: "Himanshu Raina" Cc: users@subversion.apache.org, "MarkCooke" Date: Friday, 29 July, 2011, 1:34 PM On Jul 29, 2011, at 02:43, Himanshu Ra

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 02:43, Himanshu Raina wrote: > The scenario is like this. I have checked out copy on my local machine. Now > whenever I merge the code the script which ideally should get executed > doesn't execute at all. I modified the script as given below. Only changes I > have done is r

Re: Post Commit Hook Script !!

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 02:17, Himanshu Raina wrote: > I'm using capistrano for deploying code on my server. The post commit hook is > given below > > #!/bin/sh > # > REPOS="$1" > > DIR=`/usr/bin/svnlook cha

RE: Post Commit Hook Script !!

2011-07-29 Thread Himanshu Raina
hanged  $REPOS | head -n1 | cut -d"/" -f3` /usr/bin/ssh user@172.16.3.2 "cd /newdeploy/Project/config ; cap deploy:php tagid=$TID" elif [ $Method == D ]; then exit fi Regards,Himanshu Raina --- On Fri, 29/7/11, Cooke, Mark wrote: From: Cooke, Mark Subject: RE: Post Commit Ho

RE: Post Commit Hook Script !!

2011-07-29 Thread Cooke, Mark
Hello, > -Original Message- > From: Himanshu Raina [mailto:raina_himan...@yahoo.com] > Sent: 29 July 2011 08:17 > To: users@subversion.apache.org > Subject: Post Commit Hook Script !! > > Hi, > > The post-commit script isn't getting executed whenever code > is merged from trunk to tags

Re: Post-Commit Hook for Windows

2011-02-01 Thread David Weintraub
On Mon, Jan 31, 2011 at 4:16 AM, Waseem Bokhari < waseem.bokh...@netsoltech.com> wrote: > Will you guys please share example script for Email Generation on Each > Commit in SVN Windows Environment. > Here's a script called svn-watch.pl: http://dl.dropbox.com/u/433257/svn-watch.pl This is a Perl

Re: Post-Commit Hook for Windows

2011-01-31 Thread Ulrich Eckhardt
On Monday 31 January 2011, Waseem Bokhari wrote: > Will you guys please share example script for Email Generation on Each > Commit in SVN Windows Environment. You were given plenty already, please don't start a new thread asking the same question over again. If there is a specific problem or some

RE: Post-commit hook doesn't run after a failed commit

2010-08-06 Thread Giulio Troccoli
> > The TortoiseSVN manual states "Post-commit - Called after > the commit > > finishes (whether successful or not)." > > The Subversion documentation, which is the one that is > mandatory, says that the post-commit hook is only run when a > new revision was created, see the link below. I might be

Re: Post-commit hook doesn't run after a failed commit

2010-08-06 Thread Ulrich Eckhardt
On Friday 06 August 2010, Ulrich Eckhardt wrote: "Reply-To: python-dev(at)python.org" Please don't send replies there, I wrote this with the wrong identity settings on my mailer. Sorry. Uli -- ML: http://subversion.tigris.org/mailing-list-guidelines.html FAQ: http://subversion.tigris.org/faq

Re: Post-commit hook doesn't run after a failed commit

2010-08-06 Thread Ulrich Eckhardt
On Friday 06 August 2010, Adham Hassan wrote: > The TortoiseSVN manual states "Post-commit - Called after the commit > finishes (whether successful or not)." The Subversion documentation, which is the one that is mandatory, says that the post-commit hook is only run when a new revision was create

Re: Post-commit hook recipes?

2010-01-22 Thread Peter Ruprecht
I've been looking for a collection of example post-commit hook scripts without much luck. If anyone knows of a good one, can you please point me in the right direction? If I can avoid reinventing some wheels, that would be great. In particular, at the moment I'm looking for a post-commit h

Re: post-commit hook stderr not marshalled back

2010-01-21 Thread Bastien Semene
Giulio Troccoli a écrit : Linedata Services (UK) Ltd Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB Registered in England and Wales No 3027851VAT Reg No 778499447 -Original Message- From: Bastien Semene [mailto:bsem...@cyanide-studio.com] Sent: 21 J

RE: post-commit hook stderr not marshalled back

2010-01-21 Thread Giulio Troccoli
> Linedata Services (UK) Ltd Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB Registered in England and Wales No 3027851VAT Reg No 778499447 -Original Message- > From: Bastien Semene [mailto:bsem...@cyanide-studio.com] > Sent: 21 January 2010 14:07 > To: us

Re: post-commit hook stderr not marshalled back

2010-01-21 Thread Bastien Semene
Yes, it should be. Actually everything works in a perfect world in my example, 99.9% of the time the commiter should see the same number. But if something goes wrong during the update the commiter should be aware of it asap. I can handle more problems later in the script (or in another script as

Re: post-commit hook stderr not marshalled back

2010-01-21 Thread Andy Levy
On Thu, Jan 21, 2010 at 09:06, Bastien Semene wrote: > Hi list, > > I currently can't get the stderr output of the post-commit hook script back > to the client. > > The goal of this part of this post-commit hook script is to update a > specific working copy when someone commit on a particular fold

Re: Post-commit hook recipes?

2010-01-15 Thread Rob van Oostrum
http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/ On Fri, Jan 15, 2010 at 11:34 AM, Peter Ruprecht < rupr...@jilau1.colorado.edu> wrote: > Hi, > > I've been looking for a collection of example post-commit hook scripts > without much luck. If anyone knows of a good one, can you pl