Re: Using IIS as a reverse proxy in front of Apache/SVN

2021-06-09 Thread Daniel Sahlberg
Den tors 10 juni 2021 kl 02:23 skrev Daniel Shahaf :

> Daniel Sahlberg wrote on Wed, Jun 09, 2021 at 08:18:04 +0200:
> > Hi,
> >
> > We are using VisualSVN server (basically Apache 2.4.48 and Subversion
> > 1.14.1 on Windows) on https://svn.companyname.tld, listening on port
> 443.
> > Currently this is on a separate server. I need to consolidate the servers
> > and would like to move Subversion to another server already running IIS
> > (serving multiple sites on both port 80 and 443).
> >
> > My thinking is that IIS should listen for the new hostname, do SSL
> > offloading and forward the traffic to 127.0.0.1:[some new port for
> Apache].
> > I would like to avoid publishing the new port for Apache, since that
> would
> > mean to relocate all existing working copies.
> >
> > Does anyone have experience in using IIS as reverse proxy in front of
> > Apache?
>
> Not what you asked, but running the test suite under a reverse proxy
> configuration might be informative.
>

Thanks! I will try to find some time to look at it.

Thinking of it, I guess the question could be generalized as: Is it
possible to run Subversion behind /any/ kind of reverse proxy?

Kind regards,
Daniel


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Daniel Shahaf
Ranajit Ghosh wrote on Wed, Jun 09, 2021 at 17:27:20 +0530:
> Hi, Not much luck! If I put the text in the front, it is not being able to
> process/recognize a multi word string and throwing error like below:
> 
> If I put the below message in the command line
>  svn -m "jira:RTPS-9898 EPC 2021 install"  copy  

What's the output of «which svn»?

What's the output of:
.
 printf \[%s\]\\n svn -m "jira:RTPS-9898 EPC 2021 install"  copy SRC DST
.
?

What's the output of the last command in an interactive /bin/sh session?


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Daniel Shahaf
Thorsten wrote on Wed, Jun 09, 2021 at 13:30:51 +0200:
> My next guess would be that the -m paramter simply must be in the front.
> 

For reference, options and positional arguments can be freely mixed
(except when «--» is used to terminate options).


Re: Using IIS as a reverse proxy in front of Apache/SVN

2021-06-09 Thread Daniel Shahaf
Daniel Sahlberg wrote on Wed, Jun 09, 2021 at 08:18:04 +0200:
> Hi,
> 
> We are using VisualSVN server (basically Apache 2.4.48 and Subversion
> 1.14.1 on Windows) on https://svn.companyname.tld, listening on port 443.
> Currently this is on a separate server. I need to consolidate the servers
> and would like to move Subversion to another server already running IIS
> (serving multiple sites on both port 80 and 443).
> 
> My thinking is that IIS should listen for the new hostname, do SSL
> offloading and forward the traffic to 127.0.0.1:[some new port for Apache].
> I would like to avoid publishing the new port for Apache, since that would
> mean to relocate all existing working copies.
> 
> Does anyone have experience in using IIS as reverse proxy in front of
> Apache?

Not what you asked, but running the test suite under a reverse proxy
configuration might be informative.

Cheers,

Daniel


Re: Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread Daniel Shahaf
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]

However, it sounds like you'll be better served by implementing some
sort of dashboard that shows all known WC's and the current revision of
each.  That's the domain of monitoring and network management tools.


Thorsten wrote on Wed, 09 Jun 2021 08:48 +00:00:
> 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 every working copy, that way you can differentiate them.
> 
> Hope that helps,
> 
> Thorsten Goetzke
> 
> 
> Am 09/06/2021 um 09:38 schrieb Bo Berglund:
> > 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 working on a project where I have several WC in play, on my development
> > device and the prototype and also a 3rd device. I have found it to be a bit
> > difficult to keep track of which wc contains the latest commit so if it is
> > possible to get this info on commit it would help a lot. These devices are 
> > all
> > Linux.
> >
> > The mailer gets the data by calling svnlook.
> >
> > The svn server is on Windows Server 2016.
> >
> 


Off-topic about the List itself: Does it handle posts from DMARC-enabled senders well?

2021-06-09 Thread James H. H. Lampert

I'm in the process of setting up DMARC for my company's domain.

Does this List either rewrite headers on posts from DMARC-enabled 
senders, or otherwise do something to ensure that posts from 
DMARC-enabled senders are not mis-identified by recipients as spoofed?


--
James H. H. Lampert
Touchtone Corporation


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Nathan Hartman
On Wed, Jun 9, 2021 at 1:17 PM Ranajit Ghosh 
wrote:

> Hi..it's https:// for both urls.
>
> Thanks!
>


Is it possible that locale settings are interfering with the «://»
characters between https and the rest of the path?

Have you tried to enclose each entire URL in quotes?

Nathan


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Ranajit Ghosh
Hi..it's https:// for both urls.

Thanks!

On Wed 9 Jun, 2021, 19:44 Nathan Hartman,  wrote:

> On Wed, Jun 9, 2021 at 10:08 AM Ranajit Ghosh
>  wrote:
> >
> > It is Bash shell with the following version.
> >
> > GNU bash, version 4.3.30(1)-release  (powerpc-ibm-aix6.1.0.0)
>
>
> What is the URL scheme used with the  and  URLs?
>
> (Are they http://, https://, svn://, svn+ssh://, file://, ...)
>
> Nathan
>


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Thorsten

Does quoting in general work as expected?

For example if you

touch "hello world" do you end up with one file hello world or 1 file 
hello and 1 file world?


Am 09/06/2021 um 16:08 schrieb Ranajit Ghosh:

It is Bash shell with the following version.

GNU bash, version 4.3.30(1)-release (powerpc-ibm-aix6.1.0.0)

Thanks!
Ranajit


On Wed, Jun 9, 2021 at 7:32 PM Mark Phippard > wrote:


On Wed, Jun 9, 2021 at 9:47 AM Ranajit Ghosh
mailto:ranajit.ghosh1...@gmail.com>>
wrote:
>
> Yes, I tried with single quote as well. No change.

You mentioned you are on AIX .. what shell are you using? Some of
these errors seem like it has to do with how the arguments are being
passed to the svn executable. That said there is nothing obvious in
your example where it seems like your shell would do something
unexpected.

Mark



Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Nathan Hartman
On Wed, Jun 9, 2021 at 10:08 AM Ranajit Ghosh
 wrote:
>
> It is Bash shell with the following version.
>
> GNU bash, version 4.3.30(1)-release  (powerpc-ibm-aix6.1.0.0)


What is the URL scheme used with the  and  URLs?

(Are they http://, https://, svn://, svn+ssh://, file://, ...)

Nathan


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Ranajit Ghosh
It is Bash shell with the following version.

GNU bash, version 4.3.30(1)-release  (powerpc-ibm-aix6.1.0.0)

Thanks!
Ranajit


On Wed, Jun 9, 2021 at 7:32 PM Mark Phippard  wrote:

> On Wed, Jun 9, 2021 at 9:47 AM Ranajit Ghosh
>  wrote:
> >
> > Yes, I tried with single quote as well. No change.
>
> You mentioned you are on AIX .. what shell are you using? Some of
> these errors seem like it has to do with how the arguments are being
> passed to the svn executable. That said there is nothing obvious in
> your example where it seems like your shell would do something
> unexpected.
>
> Mark
>


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Mark Phippard
On Wed, Jun 9, 2021 at 9:47 AM Ranajit Ghosh
 wrote:
>
> Yes, I tried with single quote as well. No change.

You mentioned you are on AIX .. what shell are you using? Some of
these errors seem like it has to do with how the arguments are being
passed to the svn executable. That said there is nothing obvious in
your example where it seems like your shell would do something
unexpected.

Mark


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Ranajit Ghosh
Yes, I tried with single quote as well. No change.

Thanks!
Ranajit

On Wed, Jun 9, 2021 at 5:57 PM Thorsten  wrote:

> Hello,
>
> Now thats fairly funny, it seems like your aix shell doesn't treat quotes
> the same way other unix tools do?
>
> Have you tried using single quotes instead of double quotes?
>
> svn -m 'jira:RTPS-9898 EPC 2021 install'  copy  
>
> Best regards,
>
> Thorsten
> Am 09/06/2021 um 13:57 schrieb Ranajit Ghosh:
>
> Hi, Not much luck! If I put the text in the front, it is not being able to
> process/recognize a multi word string and throwing error like below:
>
> If I put the below message in the command line
>  svn -m "jira:RTPS-9898 EPC 2021 install"  copy  
>
> giving error:
>  Unknown subcommand: 'EPC'.
>
> Maybe you are using a more recent SVN version, where some bugs related to
> this issue might have been fixed.
>
> Thanks!
> Ranajit
>
> On Wed, Jun 9, 2021 at 5:00 PM Thorsten  wrote:
>
>> Hello,
>>
>> My next guess would be that the -m paramter simply must be in the front.
>>
>> In my scripts I use
>>
>> $svn -m "tag erstellen" cp "$repository/branches/v$base_Branch/uls" 
>> "$repository/tags/released/v$tag/uls"
>>
>> and that works fine.
>>
>> Best regards,
>> Thorsten
>> Am 09/06/2021 um 13:25 schrieb Ranajit Ghosh:
>>
>> Hi, Thanks for your response.
>>
>> But I'm trying to copy the contents from one directory to another new
>> directory within one repository itself like below:
>> svn copy /dir/subdir1  /dir/subdir2
>>
>> The interesting part is that if I omit the -m option, svn automatically
>> opens up the editor and waits for the log message. if I put the message
>> there and close the editor window, it completes the copy operation without
>> any error. It complains if the message text is supplied on the command line
>> with -m option.
>>
>> Thanks!
>> Ranajit
>>
>> On Wed, Jun 9, 2021 at 4:17 PM Thorsten  wrote:
>>
>>> Hello,
>>>
>>> My guess is that you are trying to copy from one repository into a
>>> different repository.
>>>
>>> But the svn copy   -m 'info message' is designed to
>>> copy files in the same repo, as the help states:
>>>
>>> URL -> URL:  complete server-side copy;  used to branch and tag
>>>
>>> to copy files from one repo into another try downloading them first and
>>> then import them using "svn import".
>>>
>>> If you are doing an server side  copy, than your syntax "should" work.
>>>
>>>
>>> Best regards,
>>>
>>> Thorsten
>>>
>>>
>>> Am 09/06/2021 um 12:25 schrieb Ranajit Ghosh:
>>> > Hi,
>>> >
>>> > I'm trying to do a SVN copy using URL with the following syntax:
>>> >
>>> > svn copy   -m 'info message'
>>> >
>>> > But I am getting the following error:
>>> > svn: E205009: Local, non-commit operations do not take a log message
>>> > or revision properties.
>>> >
>>> > I couldn't understand the error message. It seems to be contradictory
>>> > to the functionality svn copy using url provides. The svn copy using
>>> > url apparently does a remote copy in the repository with a commit.
>>> >
>>> > Could you please shed some light on what the actual issue is? and what
>>> > would be the solution for this?
>>> >
>>> > P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.
>>> >
>>> >
>>> > Thanks!
>>> > Ranajit
>>> >
>>> >
>>>
>>


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Thorsten

Hello,

Now thats fairly funny, it seems like your aix shell doesn't treat 
quotes the same way other unix tools do?


Have you tried using single quotes instead of double quotes?

svn -m 'jira:RTPS-9898 EPC 2021 install'  copy  

Best regards,

Thorsten

Am 09/06/2021 um 13:57 schrieb Ranajit Ghosh:
Hi, Not much luck! If I put the text in the front, it is not being 
able to process/recognize a multi word string and throwing error like 
below:


If I put the below message in the command line
 svn -m "jira:RTPS-9898 EPC 2021 install"  copy  

giving error:
 Unknown subcommand: 'EPC'.

Maybe you are using a more recent SVN version, where some bugs related 
to this issue might have been fixed.


Thanks!
Ranajit

On Wed, Jun 9, 2021 at 5:00 PM Thorsten > wrote:


Hello,

My next guess would be that the -m paramter simply must be in the
front.

In my scripts I use

$svn -m"tag erstellen" cp"$repository/branches/v$base_Branch/uls" 
"$repository/tags/released/v$tag/uls"

and that works fine.

Best regards,
Thorsten
Am 09/06/2021 um 13:25 schrieb Ranajit Ghosh:

Hi, Thanks for your response.

But I'm trying to copy the contents from one directory to another
new directory within one repository itself like below:
svn copy /dir/subdir1 /dir/subdir2

The interesting part is that if I omit the -m option, svn
automatically opens up the editor and waits for the log message.
if I put the message there and close the editor window, it
completes the copy operation without any error. It complains if
the message text is supplied on the command line with -m option.

Thanks!
Ranajit

On Wed, Jun 9, 2021 at 4:17 PM Thorsten mailto:t...@freigmbh.de>> wrote:

Hello,

My guess is that you are trying to copy from one repository
into a
different repository.

But the svn copy   -m 'info message' is
designed to
copy files in the same repo, as the help states:

URL -> URL:  complete server-side copy;  used to branch and tag

to copy files from one repo into another try downloading them
first and
then import them using "svn import".

If you are doing an server side  copy, than your syntax
"should" work.


Best regards,

Thorsten


Am 09/06/2021 um 12:25 schrieb Ranajit Ghosh:
> Hi,
>
> I'm trying to do a SVN copy using URL with the following
syntax:
>
> svn copy   -m 'info message'
>
> But I am getting the following error:
> svn: E205009: Local, non-commit operations do not take a
log message
> or revision properties.
>
> I couldn't understand the error message. It seems to be
contradictory
> to the functionality svn copy using url provides. The svn
copy using
> url apparently does a remote copy in the repository with a
commit.
>
> Could you please shed some light on what the actual issue
is? and what
> would be the solution for this?
>
> P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.
>
>
> Thanks!
> Ranajit
>
>



Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Ranajit Ghosh
Hi, Not much luck! If I put the text in the front, it is not being able to
process/recognize a multi word string and throwing error like below:

If I put the below message in the command line
 svn -m "jira:RTPS-9898 EPC 2021 install"  copy  

giving error:
 Unknown subcommand: 'EPC'.

Maybe you are using a more recent SVN version, where some bugs related to
this issue might have been fixed.

Thanks!
Ranajit

On Wed, Jun 9, 2021 at 5:00 PM Thorsten  wrote:

> Hello,
>
> My next guess would be that the -m paramter simply must be in the front.
>
> In my scripts I use
>
> $svn -m "tag erstellen" cp "$repository/branches/v$base_Branch/uls" 
> "$repository/tags/released/v$tag/uls"
>
> and that works fine.
>
> Best regards,
> Thorsten
> Am 09/06/2021 um 13:25 schrieb Ranajit Ghosh:
>
> Hi, Thanks for your response.
>
> But I'm trying to copy the contents from one directory to another new
> directory within one repository itself like below:
> svn copy /dir/subdir1  /dir/subdir2
>
> The interesting part is that if I omit the -m option, svn automatically
> opens up the editor and waits for the log message. if I put the message
> there and close the editor window, it completes the copy operation without
> any error. It complains if the message text is supplied on the command line
> with -m option.
>
> Thanks!
> Ranajit
>
> On Wed, Jun 9, 2021 at 4:17 PM Thorsten  wrote:
>
>> Hello,
>>
>> My guess is that you are trying to copy from one repository into a
>> different repository.
>>
>> But the svn copy   -m 'info message' is designed to
>> copy files in the same repo, as the help states:
>>
>> URL -> URL:  complete server-side copy;  used to branch and tag
>>
>> to copy files from one repo into another try downloading them first and
>> then import them using "svn import".
>>
>> If you are doing an server side  copy, than your syntax "should" work.
>>
>>
>> Best regards,
>>
>> Thorsten
>>
>>
>> Am 09/06/2021 um 12:25 schrieb Ranajit Ghosh:
>> > Hi,
>> >
>> > I'm trying to do a SVN copy using URL with the following syntax:
>> >
>> > svn copy   -m 'info message'
>> >
>> > But I am getting the following error:
>> > svn: E205009: Local, non-commit operations do not take a log message
>> > or revision properties.
>> >
>> > I couldn't understand the error message. It seems to be contradictory
>> > to the functionality svn copy using url provides. The svn copy using
>> > url apparently does a remote copy in the repository with a commit.
>> >
>> > Could you please shed some light on what the actual issue is? and what
>> > would be the solution for this?
>> >
>> > P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.
>> >
>> >
>> > Thanks!
>> > Ranajit
>> >
>> >
>>
>


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Thorsten

Hello,

My next guess would be that the -m paramter simply must be in the front.

In my scripts I use

$svn -m"tag erstellen" cp"$repository/branches/v$base_Branch/uls" 
"$repository/tags/released/v$tag/uls"

and that works fine.

Best regards,
Thorsten
Am 09/06/2021 um 13:25 schrieb Ranajit Ghosh:

Hi, Thanks for your response.

But I'm trying to copy the contents from one directory to another new 
directory within one repository itself like below:

svn copy /dir/subdir1 /dir/subdir2

The interesting part is that if I omit the -m option, svn 
automatically opens up the editor and waits for the log message. if I 
put the message there and close the editor window, it completes the 
copy operation without any error. It complains if the message text is 
supplied on the command line with -m option.


Thanks!
Ranajit

On Wed, Jun 9, 2021 at 4:17 PM Thorsten > wrote:


Hello,

My guess is that you are trying to copy from one repository into a
different repository.

But the svn copy   -m 'info message' is designed to
copy files in the same repo, as the help states:

URL -> URL:  complete server-side copy;  used to branch and tag

to copy files from one repo into another try downloading them
first and
then import them using "svn import".

If you are doing an server side  copy, than your syntax "should" work.


Best regards,

Thorsten


Am 09/06/2021 um 12:25 schrieb Ranajit Ghosh:
> Hi,
>
> I'm trying to do a SVN copy using URL with the following syntax:
>
> svn copy   -m 'info message'
>
> But I am getting the following error:
> svn: E205009: Local, non-commit operations do not take a log
message
> or revision properties.
>
> I couldn't understand the error message. It seems to be
contradictory
> to the functionality svn copy using url provides. The svn copy
using
> url apparently does a remote copy in the repository with a commit.
>
> Could you please shed some light on what the actual issue is?
and what
> would be the solution for this?
>
> P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.
>
>
> Thanks!
> Ranajit
>
>



Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Ranajit Ghosh
Hi, Thanks for your response.

But I'm trying to copy the contents from one directory to another new
directory within one repository itself like below:
svn copy /dir/subdir1  /dir/subdir2

The interesting part is that if I omit the -m option, svn automatically
opens up the editor and waits for the log message. if I put the message
there and close the editor window, it completes the copy operation without
any error. It complains if the message text is supplied on the command line
with -m option.

Thanks!
Ranajit

On Wed, Jun 9, 2021 at 4:17 PM Thorsten  wrote:

> Hello,
>
> My guess is that you are trying to copy from one repository into a
> different repository.
>
> But the svn copy   -m 'info message' is designed to
> copy files in the same repo, as the help states:
>
> URL -> URL:  complete server-side copy;  used to branch and tag
>
> to copy files from one repo into another try downloading them first and
> then import them using "svn import".
>
> If you are doing an server side  copy, than your syntax "should" work.
>
>
> Best regards,
>
> Thorsten
>
>
> Am 09/06/2021 um 12:25 schrieb Ranajit Ghosh:
> > Hi,
> >
> > I'm trying to do a SVN copy using URL with the following syntax:
> >
> > svn copy   -m 'info message'
> >
> > But I am getting the following error:
> > svn: E205009: Local, non-commit operations do not take a log message
> > or revision properties.
> >
> > I couldn't understand the error message. It seems to be contradictory
> > to the functionality svn copy using url provides. The svn copy using
> > url apparently does a remote copy in the repository with a commit.
> >
> > Could you please shed some light on what the actual issue is? and what
> > would be the solution for this?
> >
> > P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.
> >
> >
> > Thanks!
> > Ranajit
> >
> >
>


Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Thorsten

Hello,

My guess is that you are trying to copy from one repository into a 
different repository.


But the svn copy   -m 'info message' is designed to 
copy files in the same repo, as the help states:


URL -> URL:  complete server-side copy;  used to branch and tag

to copy files from one repo into another try downloading them first and 
then import them using "svn import".


If you are doing an server side  copy, than your syntax "should" work.


Best regards,

Thorsten


Am 09/06/2021 um 12:25 schrieb Ranajit Ghosh:

Hi,

I'm trying to do a SVN copy using URL with the following syntax:

svn copy   -m 'info message'

But I am getting the following error:
svn: E205009: Local, non-commit operations do not take a log message 
or revision properties.


I couldn't understand the error message. It seems to be contradictory 
to the functionality svn copy using url provides. The svn copy using 
url apparently does a remote copy in the repository with a commit.


Could you please shed some light on what the actual issue is? and what 
would be the solution for this?


P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.


Thanks!
Ranajit




Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Ranajit Ghosh
Hi,

I'm trying to do a SVN copy using URL with the following syntax:

svn copy   -m 'info message'

But I am getting the following error:
svn: E205009: Local, non-commit operations do not take a log message or
revision properties.

I couldn't understand the error message. It seems to be contradictory to
the functionality svn copy using url provides. The svn copy using url
apparently does a remote copy in the repository with a commit.

Could you please shed some light on what the actual issue is? and what
would be the solution for this?

P.S: I'm using svn, version 1.8.10 (r1615264) on aix 7.1.


Thanks!
Ranajit


Re: Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread Thorsten

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 every working copy, that way you can differentiate them.


Hope that helps,

Thorsten Goetzke


Am 09/06/2021 um 09:38 schrieb Bo Berglund:

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 working on a project where I have several WC in play, on my development
device and the prototype and also a 3rd device. I have found it to be a bit
difficult to keep track of which wc contains the latest commit so if it is
possible to get this info on commit it would help a lot. These devices are all
Linux.

The mailer gets the data by calling svnlook.

The svn server is on Windows Server 2016.



Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread Bo Berglund
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 working on a project where I have several WC in play, on my development
device and the prototype and also a 3rd device. I have found it to be a bit
difficult to keep track of which wc contains the latest commit so if it is
possible to get this info on commit it would help a lot. These devices are all
Linux.

The mailer gets the data by calling svnlook.

The svn server is on Windows Server 2016.

-- 
Bo Berglund
Developer in Sweden



Using IIS as a reverse proxy in front of Apache/SVN

2021-06-09 Thread Daniel Sahlberg
Hi,

We are using VisualSVN server (basically Apache 2.4.48 and Subversion
1.14.1 on Windows) on https://svn.companyname.tld, listening on port 443.
Currently this is on a separate server. I need to consolidate the servers
and would like to move Subversion to another server already running IIS
(serving multiple sites on both port 80 and 443).

My thinking is that IIS should listen for the new hostname, do SSL
offloading and forward the traffic to 127.0.0.1:[some new port for Apache].
I would like to avoid publishing the new port for Apache, since that would
mean to relocate all existing working copies.

Does anyone have experience in using IIS as reverse proxy in front of
Apache?

Kind regards,
Daniel Sahlberg