Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

101 views 1 0
View question

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