Bug 1387264

Summary: RFE: DAV SVN should support backreferences & environment variables
Product: Red Hat Enterprise Linux 8 Reporter: Ondrej <ondrej.valousek>
Component: subversionAssignee: Joe Orton <jorton>
Status: NEW --- QA Contact: rhel-cs-infra-services-qe <rhel-cs-infra-services-qe>
Severity: low Docs Contact:
Priority: low    
Version: 8.4CC: cww, dmasirka, jorton, luhliari, ondrej.valousek
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1477664, 1562205, 1654421    

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?