Some ideas:
- Parse the operational log to determine the IP address of the commit
- Pass the hostname and wc path in a revprop
- Embed the hostname and wc path in the user-agent string and use
persist-ephemeral-txnprops.py
[admittedly a bit hacky; this isn't what the user-agent string is for
Hello,
Short answer: no its not possible.
I dont fully understand why you want to do this. Run "svn up" on any
device to get the latest commit.
Run "svn st -u" or something else to check for incoming changes.
Other than that you could also do something fancy like create an own
user for ever
I wrote a SVN mailer when we converted from CVSNT to SubVersion back in 2017.
Its purpose is to send a nocely formatted commit message to subscribers and it
has worked fine for years.
But now I am missing one item in the mail, the location of the working copy from
which the commit was done.
I am
Perhaps the hook script templates could be modified to show how to properly set
the environment variables so that UTF-8 log messages can be correctly processed?
On Mon, Jan 29, 2018 at 04:46:09PM +0100, H.-Dirk Schmitt wrote:
> OK - My „Postscriptum“ was not correct - my apologies.
>
> But still valid are the the points:
>
> - Broken transliteration of German Umlaut.
I don't see a reason to add support for transliteration if
the locale is incompatible
Stefan Sperling :
> On Sat, Jan 27, 2018 at 06:35:17PM +0100, H.-Dirk Schmitt wrote:
> > All the commit messages content transfered is broken as described
> > above.
> >
> > This happens because the post-commit hook is running with a very
> > reduced set of
On Sat, Jan 27, 2018 at 06:35:17PM +0100, H.-Dirk Schmitt wrote:
> All the commit messages content transfered is broken as described
> above.
>
> This happens because the post-commit hook is running with a very
> reduced set of environment variables:
>PWD=/
>
days Ä was translitterated in Ae (Ö → Oe,
> …)
>
> Why is this behaviour not a cosmetic problem.
> -
>
> Consider a post-commit hook fetching the commit message with `svnlook
> log`.
> Purpose is to postprocess the log message cont
aced with there code description
The German Umlaut chars are translitterated in a very uncommon way.
In the old ASCII/type-writer days Ä was translitterated in Ae (Ö → Oe,
…)
Why is this behaviour not a cosmetic problem.
-----
Consider a post-commit hook fetching the
aced with there code description
The German Umlaut chars are translitterated in a very uncommon way.
In the old ASCII/type-writer days Ä was translitterated in Ae (Ö → Oe,
…)
Why is this behaviour not a cosmetic problem.
-----
Consider a post-commit hook fetching the
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
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
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
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.
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?
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
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
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
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
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
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
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
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
[I'm not subscribed to the list, please CC me.]
Hi,
I have been using subversion-tools to send post-commit e-mails. I use
the mailer.py and mailer.conf.example to create my own configuration
file. This has worked for years.
However, recently I get this error:
smtplib.SMTPException: SMTP A
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
e is being resolved
differently in your post-commit hook than when you try the same URL on
the command line.
I'm not aware of why that wouldn't work, unless you're storing the
server name in an environment variable. The post-commit hook runs with
an empty environment.
-- Brane
--
] [notice] SSL FIPS mode disabled
> [Mon Feb 10 08:23:21 2014] [notice] Apache/2.2.3 (Red Hat) configured --
> resuming normal operations
>
>
> That doesn't really help; I expect that something gets written to the
> error log when the checkout fails in the post-commit hook,
- resuming normal operations
That doesn't really help; I expect that something gets written to the
error log when the checkout fails in the post-commit hook, and that what
we need to see.
-- Brane
--
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. br...@wandisco.com
n, Feb 10, 2014 at 8:38 AM, Branko Čibej wrote:
> 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 scr
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://svn
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/<http://svnserver/>
/trunk/wwwroot/ /var/svn/svntmp//build/
Matthew C. Parks
*Consultant*
*EMPOWER Student Infor
es not mention the "apache" user
> anywhere, so it's not a "valid user" as far as HTTPd is concerned, and so
> fails the Require clause in your configuration.
>
> I'm also wondering why you're checking out via http:// in your
> post-commit hook ... this hook runs on the same server and user as the
> HTTPd process, so presumably it should have file:// access to the
> repository.
>
> -- Brane
>
>
> --
> Branko Čibej | Director of Subversion
> WANdisco // Non-Stop Data
> e. br...@wandisco.com
>
e" user
anywhere, so it's not a "valid user" as far as HTTPd is concerned, and
so fails the Require clause in your configuration.
I'm also wondering why you're checking out via http:// in your
post-commit hook ... this hook runs on the same server and user as the
HTTPd process, so presumably it should have file:// access to the
repository.
-- Brane
--
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. br...@wandisco.com
know of no network changes or
DNS changes. the commits work to the Repos (all of them) this particular
Repo has the post-commit hook to move the file to the web server. This is
the first step to get the code to the SVN server into a build directory
(next step will SSH it over to web server, not that
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
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 "=" >>
Branko Čibej ha scritto:
You are running the svn command-line client from your post-commit hook.
If 'svn propget' requires authorization, your hook script will hang
waiting for input.
That's it.
Since the hook script will always have access to the repository, it
would b
In this discussion a user suggested how to change the commit author
using a post-commit hook: http://goo.gl/7dJ4l
I'd like to do exacly that, so I wrote a pre-revprop-change hook that
checks that allows the change under certain circumstances.
I tested and it's working.
My problem
use TortoiseSVN to commit changes on the server.
> I suppose that the server gets the commit, do the commit and then
> execute the post-commit hook.
> Who and where needs to authorize?
> And how can I authorize?
You are running the svn command-line client from your post-commit hook.
If
=%%a
May it be that the client is just waiting for a password? You don't
seem to provide auth credentials.
Which client?
I use TortoiseSVN to commit changes on the server.
I suppose that the server gets the commit, do the commit and then
execute the post-commit hook.
Who and where nee
Guten Tag Manuel Ferrero,
am Donnerstag, 24. Januar 2013 um 14:03 schrieben Sie:
> The commit is done, but the author isn't changed.
> It seems top me that the batch file hangs when try to lookup the current
> user:
> for /f "delims=" %%a in ('svn propget svn:author --revprop -r %REV%
> http://my
In this discussion a user suggested how to change the commit author
using a post-commit hook: http://goo.gl/7dJ4l
I'd like to do exacly that, so I wrote a pre-revprop-change hook that
checks that allows the change under certain circumstances.
I tested and it's working.
My problem is th
On Nov 21, 2011, at 17:54,
wrote:
> I am looking for an example of a post commit hook script that will 'get' a
> copy of the files that have changed in the revision being committed. The
> intent is to populate a set of unix directories with the latest version of
> sou
I am looking for an example of a post commit hook script that will 'get' a copy
of the files that have changed in the revision being committed. The intent is
to populate a set of unix directories with the latest version of source code
files. These directories are in the "PROPAT
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
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 fa
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):
svn: MERGE of '/mfxcm/trunk/subversion': 200 OK
> 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
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 i
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.
I'm wondering if the post-commit hook applies to the entire SVN
repo
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
for defect IDs or if they want to deploy the code to QA, etc.
It appears your hook script is interactive which is an issue. That's a
no-no. The other issue is that you can't do too much -- even in a
post-commit hook. That's because the client has to wait for the script
to finish before it
vn co http://mydomain.com/svn/Project/Trunk/Code
http://mydomain.com/svn/Project/Tags/QA/Code_2424
I'm using capistrano for deploying code on my server. The post commit hook is
given below
#!/bin/sh#REPOS=&qu
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:
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
>
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 hook failed (exit code 255) with output:+ /usr/
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
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
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
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
vn co http://mydomain.com/svn/Project/Trunk/Code
http://mydomain.com/svn/Project/Tags/QA/Code_2424
I'm using capistrano for deploying code on my server. The post commit hook is
given below
#!/bin/sh#REPOS=&qu
Remember to Reply All when you reply so this discussion stays on the mailing
list so others can benefit and participate.
On May 25, 2011, at 03:40, 宋哲 wrote:
> Ryan Schmidt:
> thanks for your reply.
>
> If use work copy, that will work fine.
>
> But when I distribute my stuff, I pr
On May 25, 2011, at 02:26, 宋哲 wrote:
> I want to use post-commit hook to produce a c header file, so I can get the
> latest revision number from my c codec. But I can not do that because in
> post-commit hook script, I don't known how to put a header file into the repo.
In yo
I want to use post-commit hook to produce a c header file, so I can get the
latest revision number from my c codec. But I can not do that because in
post-commit hook script, I don't known how to put a header file into the repo.
$Rev$ can get a paiticular file's revision number, but
On Feb 7, 2011, at 19:08, Schneider, Wolf wrote:
> There _is_ a better way, using the svn export command (using svn cat only
> works for non-binary files)
"svn cat" ought to work fine for all files.
Sorry, missed the CRs:
rem Extract the file to the indicated shadow folder
svn export -r %REVISION% %REPURL%/%FPATH% %FOLDER%/%FNAME% --force
exit /b
== wolf
This email and any attachments are intended only for the named
recipient and
I wrote:
> To do this, I wrote the following script, which works well except for the
> actual file copy - svn copy complains about the target folder not being a
> directory, although it most certainly is. My questions are a) what is wrong
> with my use of svn copy, and b) is there perhaps a bett
On Feb 7, 2011, at 17:33, Schneider, Wolf wrote:
>> Based on the above log, %FOLDER% does not appears to be a URL to a
>> Subversion repository... Is it a path to a Subversion working copy?
>
> Correct -- we are trying to make a copy in a network drive folder of the
> file(s) being checked int
Ryan wrote:
>> rem Copy the file to the indicated shadow folder svn copy -r
>> %REVISION% %REPURL%/%FPATH% %FOLDER%/%FNAME%
> I am not familiar with VSS or what exactly is meant by "shadow folder"...
A folder into which a copy of file being checked into the VSS repository is
also made. In Vis
On Feb 7, 2011, at 16:48, Schneider, Wolf wrote:
> We are trying to replicate the ShadowFolders feature of VSS, whereby each
> checked-in file that needs it gets mirrored to a reference directory.
>
> To do this, I wrote the following script, which works well except for the
> actual file copy
We are trying to replicate the ShadowFolders feature of VSS, whereby each
checked-in file that needs it gets mirrored to a reference directory.
To do this, I wrote the following script, which works well except for the
actual file copy - svn copy complains about the target folder not being a
dir
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
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
Will you guys please share example script for Email Generation on Each
Commit in SVN Windows Environment.
Cheers!
cid:image001.jpg@01CA74D6.C3770120
Waseem Bokhari I Configurations and Release Management
NetSol Technologies (NasdaqCM: NTWK)
Tel: +92 42 111448800 Ext: 346 Mob: +92 321 4294
> > 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
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
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
I'm using the TortoiseSVN client v1.6.10 and I'm trying to get a
post-commit hook script to run even if the commit fails, and have the
called script read if there's an error, and take a chosen action. The
issue I'm running into is the post-commit script seems to only be
Thanks Ryan~
On Wed, Jun 23, 2010 at 2:41 PM, Ryan Schmidt <
subversion-20...@ryandesign.com> wrote:
>
> On Jun 23, 2010, at 01:30, Kevin Wu wrote:
>
> > I wrote my post-commit hook for the trunk. But whenever something is
> committed to one branch, the hook is triggered
On Jun 23, 2010, at 01:30, Kevin Wu wrote:
> I wrote my post-commit hook for the trunk. But whenever something is
> committed to one branch, the hook is triggered. How to let post-commit hook
> discriminate the branch and the trunk?
In the hook, run "svnlook dirs-changed"
Hi,
I wrote my post-commit hook for the trunk. But whenever something is
committed to one branch, the hook is triggered. How to let post-commit hook
discriminate the branch and the trunk?
Thanks a lot.
--
Best wishes,
Kevin Wu
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 p
January 2010 14:07
To: users@subversion.apache.org
Subject: post-commit hook stderr not marshalled back
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
4:07
> To: users@subversion.apache.org
> Subject: post-commit hook stderr not marshalled back
>
> 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
as
adviced in the documentation).
But this is not in the scope of my question, that is summarized in my
first sentece.
Andy Levy a écrit :
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
t
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 some
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 folder, and
the commiter to verify the version of this wo
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
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 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
89 matches
Mail list logo