Bug 346616 - move EPP from CVS to git
Summary: move EPP from CVS to git
Status: RESOLVED FIXED
Alias: None
Product: EPP
Classification: Technology
Component: Packager (show other bugs)
Version: unspecified   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: later   Edit
Assignee: Markus Knauer CLA
QA Contact:
URL: http://wiki.eclipse.org/Git/Migrating...
Whiteboard:
Keywords: plan
Depends on: 346617 372778 373108
Blocks:
  Show dependency tree
 
Reported: 2011-05-20 05:49 EDT by Markus Knauer CLA
Modified: 2012-06-05 09:35 EDT (History)
3 users (show)

See Also:


Attachments
List of EPP projects and their migration strategy (4.12 KB, text/plain)
2012-02-28 11:51 EST, Markus Knauer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Knauer CLA 2011-05-20 05:49:30 EDT
(After Indigo)
move EPP from CVS to git
Comment 1 Wayne Beaton CLA 2011-05-20 10:16:16 EDT
+1
Comment 2 Markus Knauer CLA 2012-02-28 11:51:01 EST
Created attachment 211746 [details]
List of EPP projects and their migration strategy

*Now* is the best time for a Git migration - Indigo SR2 is out of the door and we are still in time for Juno.

The attached file includes a list of all EPP bundles, features, tests, releng projects, etc. that are available in CVS today, and my proposed strategy (migrated, archive) because IMO many of them should be archived.

The rough overview:

[1] EPP Release Documentation - MIGRATE TO ITS OWN GIT REPOSITORY
[2] EPP Packages - MIGRATE TO ITS OWN GIT REPOSITORY
[3] EPP Usage Data Collector - OPEN (PROPOSAL: MIGRATE TO ITS OWN GIT REPOSITORY, then discuss when/if it should be archived)
[4] EPP Wizard - TO BE ARCHIVED, NO GIT MIGRATION
[5] EPP Installer - TO BE ARCHIVED, NO GIT MIGRATION

This means I'd like to clean up and end with only two or three Git repositories.
Comment 3 Andrew Overholt CLA 2012-02-29 13:51:44 EST
FWIW, I like the strategy proposed, Markus.
Comment 4 Markus Knauer CLA 2012-03-01 14:23:42 EST
I tagged CVS HEAD a last time with the tag GIT_MIGRATION.
Comment 5 Markus Knauer CLA 2012-03-01 16:30:34 EST
Transformation of CVS authors in commit messages to Git user.name and user.email: 

I looked into the commit logs of other Git repositories at eclipse.org and used the values that I found there, i.e. if I found the *correct real name* of the person I am using this one, the committer ID otherwise; if I found the *correct email address* I am using this one, the committer ID otherwise.

I contacted some committers that had no commits in existing Git repositories by mail and will use what they told me.
Comment 6 Markus Knauer CLA 2012-03-02 10:17:39 EST
Current status: See http://git.eclipse.org/c/epp

There are now 4 different Git repositories:

[1]  /gitroot/epp/org.eclipse.epp.packages.git
Contains everything required for building the packages.

[2]  /gitroot/epp/org.eclipse.epp.usagedata.git
The EPP Usage Data Collector - to be archived some time in the future

[3]  /gitroot/epp/org.eclipse.epp.doc.release.git
The release review documentation

[4]  /gitroot/epp/org.eclipse.epp.old.git
'Everything else', i.e. everything that is not maintained at the moment, e.g. the installer and the wizard. In my attached list I wrote that I am not going to migrate these bits, but yesterday I thought that it might be handy to have everything from the old EPP CVS migrated to Git.


Next steps, probably next week: Adjustments to the Juno package build!
Comment 7 Markus Knauer CLA 2012-03-02 10:18:21 EST
Ah, and I updated the source code repository locations in the Eclipse Portal!
Comment 8 Markus Knauer CLA 2012-03-05 10:44:37 EST
Updated the Git repositories in our ohloh listing: https://www.ohloh.net/p/epp
Comment 9 Markus Knauer CLA 2012-03-05 10:51:15 EST
In order to reach the old status quo as soon as possible after the Git migration, I updated the Buckinster-based parts of the build with the new Git repository locations. A pretty easy step I have to say.

It's now working locally on my machine, but I am unable to get anything running on Hudson today.


> ant -file /PATH/TO/LOCAL/org.eclipse.epp.packages.git/features/org.eclipse.epp.allpackages.juno.feature/build.xml -Dbm.headless.site=http://build.eclipse.org/technology/epp/buckminster/1.2.1.r11564/ -Djuno.site=http://download.eclipse.org/releases/staging -Dbuild.root=/tmp/epp.build -Dplatform.site=http://download.eclipse.org/eclipse/updates/4.2milestones/S-4.2M5-201201271145 -Ddirector.url=http://download.eclipse.org/tools/buckminster/products/org.eclipse.equinox.p2.director.product_1.4.0.v20110313-0656.zip clean.workspace build.site
Comment 10 Markus Knauer CLA 2012-03-06 11:36:52 EST
https://hudson.eclipse.org/hudson/job/juno.epp-repository-build/ and https://hudson.eclipse.org/hudson/job/juno.epp-package-build/ are working again. 

There are some minor issues left, i.e.

* Checking the qualifiers that are generated for the features and plugins based on the repository last-modification date.
* Change the way the startEPPJuno.sh file moves the package description files into their final location.
Comment 11 Markus Knauer CLA 2012-06-05 09:35:07 EDT
Remaining issues have been solved. Closing bug as FIXED.