RE: SVN server email notification function (SMTP) and How To configure it

2017-11-19 Thread Zhaowei Mao
Hi Johan,

Really appreciate your inputs and sharing, would update you if there's any
outcome.

Thanks again!


Zhao Wei


-Original Message-
From: Johan Corveleyn [mailto:jcor...@gmail.com]
Sent: Friday, 17 November, 2017 7:31 PM
To: Zhaowei Mao 
Cc: Subversion Users ; Ryan Schmidt

Subject: Re: SVN server email notification function (SMTP) and How To
configure it

On Fri, Nov 17, 2017 at 11:44 AM, Zhaowei Mao 
wrote:
> -Original Message-
> From: Johan Corveleyn [mailto:jcor...@gmail.com]
> Sent: Friday, 17 November, 2017 3:25 AM
> To: Zhaowei Mao 
> Cc: Subversion Users ; Ryan Schmidt
> 
> Subject: Re: SVN server email notification function (SMTP) and How To
> configure it
>
> Another suggestion: https://github.com/qazwart/SVN-Watcher-Hook
>
> I've used a custom version of that (perl) hook script. It allows your
> users to control their own "watch file" (in the svn repository
> itself), which is a simple config file containing patterns etc. for
> which they want to receive post-commit mails.
>
> It's not a GUI, but it's great that users can edit their own watch
> file (with a very simple syntax), so they don't have to bother a
> sysadmin to customize their notifications.
>
> --
> Johan

> Hi Johan,
>
> Thanks so much for this input. I noted below:
>
> REQUIREMENTS
> *   Perl 5.7 or later.
>
>
> Does it work fine for my SVN server
> (CollabNetSubversion-server-1.5.5-1.win32) on a Windows server 2008?
>
>
> *   Mail::Sendmail (optional). This is an optional Perl module to
> install. It's very old, but straightforward and usually works
> without too many issues. You can use the Perl CPAN utility to
> install this module.
>
> Which version of 'Mail::Sendmail'? or, it doesn't matter.
>
>
> Thank you in advance!
>
> Zhao Wei
>

The SVN Server version should be no problem, but I'm not so sure that the
script will run 'as is' on Windows. I'm using it on Solaris. I've actually
used a previous version of that script which was distributed on the users@
list years ago. I've had to tweak it a bit, and have coded it to call
"/usr/sbin/sendmail" directly (so no Mail::Sendmail perl module). Apparently
it has changed a bit since then, so I really can't say much about that.

I suggest you try it out and see if you can get it working. Otherwise, maybe
you'll have to contact the developer via the Github project.

--
Johan


Issues with version 1.9.7

2017-11-19 Thread Matteo Tesser
Goodmorning,

I use SVN from several years, but during the last few days I found a
project folder have been corrupted several times.

In doing the clean Subversion reported the following

 
'D:\Development\SVN\Releases\TortoiseSVN-1.9.7\ext\subversion\subversion\libsvn_client\cleanup.c'
 line 227: assertion failed (svn_dirent_is_absolute(dir_abspath))

best regards,
MT