Bug 1387264 - RFE: DAV SVN should support backreferences & environment variables
Summary: RFE: DAV SVN should support backreferences & environment variables
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subversion
Version: 8.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Joe Orton
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks: 1477664 1562205 1654421
TreeView+ depends on / blocked
 
Reported: 2016-10-20 13:42 UTC by Ondrej
Modified: 2021-10-03 13:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Ondrej 2016-10-20 13:42:21 UTC
It would be good if DAV_SVN could support backreferences & env variables in
SVNPATH and SVNPARENTPATH options

Comment 3 Joe Orton 2017-01-28 09:32:09 UTC
Please contact Red Hat Support if this is an issue for you in a production
deployment.

Comment 4 Ondrej 2017-01-30 07:53:52 UTC
Created RH support case #01781967

Comment 7 Joe Orton 2017-02-09 15:49:48 UTC
Thanks for opening a ticket, Ondrej.  It doesn't look like there's anything implemented upstream like this.

Can you explain exactly the kind of config you'd like to get working here?  You want a directive something like:

   SVNPathMatch <regex> <path-to-repos-using-regex-refences>

?

Comment 9 Ondrej 2017-02-09 16:15:05 UTC
Hi Joe,

I think no extra option should be (ideally) necessary.
It should basically work the way as described in:

https://httpd.apache.org/docs/2.4/sections.html

i.e. example:

<LocationMatch "^/svn/(?<SVNREPO>[^/]+)">
    DAV svn
    SVNParentPath "/proj/%{env:MATCH_SVNREPO}/svn"
    ....
</LocationMatch>

Does it make a sense?


Note You need to log in before you can comment on or make changes to this bug.