| Summary: | team map is broken by SDK build | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Releng | Assignee: | Kim Moir <kim.moir> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | daniel_megert, john.arthorne, kim.moir, pwebster, remy.suen, tomasz.zarna |
| Version: | 3.8 | ||
| Target Milestone: | 3.8 M4 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Szymon Brandys
Part of the problem is that the SDK repo should have rebase=true set on its remote tracking branches. For this, either the scripts need to be updated to set that on any branch checkout: git config --add branch.R4_1_maintenance.rebase true or the script runner has to set the global policy before branches are created (could also be done in the script, but could potentially change the user's settings): git config --global --add branch.autosetuprebase always Setting the global flag is a good policy in general for our usecases in the SDK. PW In general there should never be non-trival merges or rebases here, but I suspect it happened this time because Kim manually fixed the team.map for a previous problem. I like the local configuration option. Otherwise we are hammering the global config for some random user (kmoir, e4Build, or someone else who copied our scripts). git config --add branch.R4_1_maintenance.rebase true Kim, I think the easiest way to recover here is to delete the releng.maps clone from the build machine entirely and let the build scripts clone a fresh copy. (In reply to comment #3) > Kim, I think the easiest way to recover here is to delete the releng.maps clone > from the build machine entirely and let the build scripts clone a fresh copy. Once the team.map is fixed and pushed to the repo, it should be a moot point (it turns out those test runs Kim did without pushing caused the merge nodes in the first place). But either the rebase property has to be added to all existing branches in that cache or the scripts updated and that repo deleted so that the branches are configured correctly in the future. Also, we could put a status test before we add all the maps to see if there was a conflict on pull and abort the build. PW I'll delete the repos on disk and fix the script. Szymon, I think there is still a problem because I don't see the org.eclipse.ui.net bundle in the R3_7_maintenance branch under bundles/ plugin@org.eclipse.ui.net=GIT,tag=v20110525-1146,repo=git://git.eclipse.org/gitroot/platform/eclipse.platform.team.git,path=bundles/org.eclipse.ui.net (In reply to comment #5) > I don't see the org.eclipse.ui.net bundle in the R3_7_maintenance branch under bundles/ Isn't it the same issue as in bug 355509, comment 17? (In reply to comment #6) > > Isn't it the same issue as in bug 355509, comment 17? I think this one is because it was never branched in R3_7_maintenance (it exists in the R3_7 tag) PW One way to fix it is: git checkout R3_7_maintenance git checkout R3_7 bundles/org.eclipse.ui.net git add bundles/org.eclipse.ui.net git commit -m "adding back org.eclipse.ui.net" Or you can re-write R3_7_maintenance and remove the delete commit (but of course, all of your commits will have different hashes). PW org.eclipse.ui.net is added to the R3_7_maintenance branch. I marked it fixed by accident. I think there is still work to do with scripts, see comment 5. Closing. Fixing the scripts is covered in bug 366285. |