Details
-
Bug
-
Resolution: Timed out
-
Low
-
3.7.0
-
None
-
Severity 3 - Minor
-
Description
With Crucible 3.7.0 crucible.py is no longer able to find a matching repository. I put crucible.py in debug mode and found out that the crucible rest api is returning the 'local' svn repo location rather than the checkout location and when crucible.py is trying to match it will never work.
Our svn repo url is https://shnhost/repositories/myrepo
Our crucible is configured to index from a cloned repo in the local filesystem at /var/svnroot/myrepo, but also has the checkout url configured.
When trying to perform a pre-commit review from a working copy pointing to https://shnhost/repositories/myrepo the crucible.py debug output returns this:
DEBUG:root:Matching remote repository myrepo DEBUG:root:Matching remote url file:///var/svnroot/myrepo
I inspected the API called by crucible.py at http://fisheye/repositories-v1 and it returns this:
</repositories> <repoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="svnRepositoryData"> <available>true</available> <enabled>true</enabled> <name>myrepo</name> <type>svn</type> <path/> <url>file:///var/svnroot/myrepo</url> </repoData> </repositories>
We believe that the url tag returned by the API should be the checkout url (if set) and not the url that fisheye uses to index since none of our developer use that. This used to work so we strongly believe the API behavior has changed.
Possible workaround
It is possible to use crucible.py -r option to directly specify repository
Attachments
Issue Links
- mentioned in
-
Page Loading...