Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,122
Community Members
 
Community Events
165
Community Groups

How to configure svn symbolic rules to use logical path

1. Configure a subversion repository for a repository that includes the standard structure:

tags/project-v1.0/
common
server
client
tags/project-v1.1/
common
server
client

2. Disable built-in symbolic rules and use custom symbolic rules that include:

regex: ^tags/([^/]+)
name: ${1}
prefix: <none>

3. Test the rule with the structure above:

test path: tags/project-v1.0/common
Container: tag:project-v1.0
Logical Path: common
Logical Tail: common

4. Save

5. Build index

6. Browse repository in fisheye

EXPECT: Top level directories are:

client
common
server

ACTUAL:

tags/project-v1.0
tags/project-v2.0

NOTE:

The example is just for tags but trunk and branches are similarly affected.

2 answers

1 accepted

1 vote
Answer accepted

Hi,

Your symbolic rules look fine to me, but I think there is a bit of confusion over what FishEye shows. When you browse a Subversion repository, FishEye shows the physical paths. Your symbolic rules are used to determine branch/tag memberships and logical paths. You can verify this by going to the revision list for a file and checking the path, branch and tag information associated with each of the revisions.

Cheers,

Michael

While it was not what I expected to see, I do now find that it behaves as I expected. I can select trunk, drill down into trunk/common/Shared/.classpath, and switch to tag project-v1.0 to end up in tags/project-v1.0/common/Shared/.classpath, which is what I was after.

Thanks for providing me the confidence in my configuration to forge ahead :)

In case this is a problem, I have entered a support request also: FSH-8924

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

153 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you