You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by eri x <er...@gmail.com> on 2009/02/10 15:31:29 UTC

conecting SVN

Hi, i want to connect SVN with an LDAP from where to read the accounts, is
it possible to do this.
Thank you.

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

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

Re: mailer.py for Windows

Posted by steven higgan <st...@gmail.com>.
maybe you can use this ps scrip (powershell) as somewhere to start.

I doubt this will run first time (compiled in gmail) but give it a go.

this goes in your post_commit.bat
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
c:\my_own_mailer.ps1 "%1" "%2"

this goes in my_own_mailer.ps1
$svn_repos = $args[0]
$svn_rev = $args[1]
$name = $args[2]

# global settings
$global_configuration_file = "c:\path\to\config.xml"

# remember some stuff
$smtp_server = ([xml] (get-content
$global_configuration_file)).Configuration.SmtpServer
$smtp_to = ([xml] (get-content $global_configuration_file)).Configuration.SmtpTo
$smtp_from = ([xml] (get-content
$global_configuration_file)).Configuration.SmtpFrom

if ($name -eq $null) { $name = $svn_repos}

$author = svnlook author $svn_repos--revision $svn_rev
$email_subject_summary= "Subversion Commit: ($author) $name at ($svn_rev)"

$email_body= ""

foreach($svnlook_log_line in svnlook log $svn_repos--revision
$svn_rev) { if($svnlook_log_line -ne "") { $email_body+=
$svnlook_log_line + "`n" } }

if ($email_body-ne "") { $email_body+= "`n`n" }

foreach($svnlook_changed_line in svnlook changed $svn_repos--revision
$svn_rev) { $email_body+= $svnlook_changed_line + "`n" }

# send the log
$msg = new-object Net.Mail.MailMessage
$msg.From = $smtp_from
$msg.To.Add($smtp_to)
$msg.Subject = $email_subject_summary
$msg.Body = $email_body
$smtp = new-object Net.Mail.SmtpClient($smtp_server)
$smtp.Send($msg)


On Thu, Feb 12, 2009 at 12:29 AM, dieter oberkofler
<do...@gmail.com> wrote:
>
> I would like to use the mailer.py script to automatically send Email after
> commit from my SVN repository running on a Windows Host.
> I seems as if mailer.py would only run on Linux and I was wondering if there
> are other ways to do this or if someone has already "ported" the script to
> Windows.
> Thank you,
> D
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1138561
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

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

mailer.py for Windows

Posted by dieter oberkofler <do...@gmail.com>.
I would like to use the mailer.py script to automatically send Email after
commit from my SVN repository running on a Windows Host.
I seems as if mailer.py would only run on Linux and I was wondering if there
are other ways to do this or if someone has already "ported" the script to
Windows.
Thank you,
D

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

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

Re: SVN: mergeinfo

Posted by Ruslan Sivak <ru...@vshift.com>.
I've been running into this issue too.  I think the problem is the 
previous svn merge info from older version of 1.5.  I had went through 
and cleared and svn mergeinfo properties off of my workspace, commited 
that, and after that so far I have not had issues with wrong files being 
"touched" during merges.

Russ

KYLEE@bksv.com wrote:
> Dear all,
>
>
> Is there a switch in svn merge where i can choose NOT to update the
> MERGEINFO property of files that WEREN'T CHANGED during svn merge
> operation? Please help.
>
> Thank you all.
>
>
> Regards,
> Lee
> This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1138402
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>

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

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

SVN: mergeinfo

Posted by KY...@bksv.com.
Dear all,


Is there a switch in svn merge where i can choose NOT to update the
MERGEINFO property of files that WEREN'T CHANGED during svn merge
operation? Please help.

Thank you all.


Regards,
Lee
This e-mail is confidential and may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail. Please then delete the e-mail and do not disclose its contents to any other person.

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

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


Re: conecting SVN

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 10, 2009, at 09:31, eri x wrote:

> Hi, i want to connect SVN with an LDAP from where to read the  
> accounts, is it possible to do this.

Yes, if the repository is served with apache.

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

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