Details
-
Bug
-
Resolution: Answered
-
Medium
-
None
-
3.0.0
-
None
Description
It seems the Perfore plugin does not really work, not sure if this is fisheye or crucible. We have a large repository that hosts code for a few different projects. the repo layout is different per project
e.g.
//foo/baa/projectA-main
//foo/baa/projectA-branch1
//foo/baa/projectA-branch2
//foo/baa/quxx/other-main
//foo/baa/quxx/other-branch1
//foo/baa/quxx/other-branch2
//foo/baa/projectB-main
//foo/baa/projectB-branch1
//foo/baa/projectB-branch2
There dont seem to be any options on how to setup branches. If we import the whole repo it assigns commits to the wrong branches. It also reports crazy stats like we have half a billion LoC, the largest project in this repo is half a million LoC
I have also tried to setup crucible with just two branches import mainline and one other and limit the changelists imported, then crucible defines the branch as "main" all lower case, which afaik does not exist, our main branch is called MAINLINE.
Version is crucible 3.0 (which is not in the list below) and the HTML title says fisheye 3.0.3
Branches in P4 are defined in two steps a repo path (like SVN) and a branchspec which is really just a mapping across 2 paths. We almost always havea branch spec for a path but perhaps not always and we certainly have branch specs that do not have paths. In the smaller test run we have a branchspec that matches the path name at the root and this is what we mean by branch
e.g.
path is //foo/baa/
branch path is
//foo/baa/PROJA_BR1
branchspec is called PROJA_BR1 which maps
//foo/baa/MAINLINE/... //foo/baa/PROJA_BR1/...
This shopuld be the most standard case and for crucible to be sueful we would need this case to work as a minimum