So we have some very large and old repositories complete with branches upon branches upon branches... Because of this, we would like to start out with FishEye indexing the current HEAD revision for each repository, then just maintain the scanning going forward.
I did find where I can specify the revision to start with indexing, but was unable to find where I could set a default to always start at the HEAD... Is there a way to do this without having to look up and specify the HEAD revision number?
Bonus points if there is a solution that includes the ability to configure this with the Directory Scanning plugin as well (because I don't want to add 1600+ repos by hand).
I am afraid FishEye accepts number only and it is impossible at the moment to specify the current HEAD at the moment of first contacting the repo. Directory Scanning Plugin wouldn't allow non number too. Feel free to raise an ehancement request for that in http://jira.atlassian.com/browse/FE project.
With your 1600+ repositories you will most likely need to script that. Hopefully you could iterate over all the repos, check the current head revision with svn CLI. You can then use new REST API added in 3.4.0 release, which allows now easy repository creation, see documentation of POST /rest-service-fecru/admin/repositories: https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#rest-service-fecru:admin:repositories
In the examples provided you can see how to specify start version.
EDIT: you can find example python client for this REST API here: https://bitbucket.org/atlassian/fecru-rest-examples/src/7ef244fe086bad2a1866b140c5a831f9b7053ac5/python/examples_repositories.py?at=master
Hope that helps,
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 ...
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