linikujp / owltools

Automatically exported from code.google.com/p/owltools
0 stars 0 forks source link

Move repo to github #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

## SVN History

This should be straightforward to move over; Ignazio managed this for oboformat 
easily.

We would move everything across at first, but then may decide to split things up

## Modularization

Lego stuff should go to a separate repo.

We should move OWLTools-Sim, but this will gradually be abandoned as owlsim-v3 
(already a separate github repo) comes into play.

## Issue Tracker

We will not attempt to migrate; we will start afresh with the gh tracker. We 
will leave the gcode one up and running and may manually migrate a select few 
items.

## Wiki

There is a lot of good material on the wiki - will probably have to be manually 
moved, with links from old to new added.

Original issue reported on code.google.com by cmung...@gmail.com on 5 Jan 2015 at 11:16

GoogleCodeExporter commented 9 years ago
Here is an example migration:  https://github.com/ShahimEssaid/owltools

I used git svn:

git svn clone --prefix=origin/ --authors-file=../authors 
--authors-prog=../authors-default  -s http://owltools.googlecode.com/svn .

I had to remove large files from the history because GitHub doesn't like > 50mb 
and refuses > 100mb files:

remote: error: GH001: Large files detected.
remote: error: Trace: 415df2b385d9bf1f9c72fa5a226558c6
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File 
OWLTools-Annotation/src/test/resources/rules/ontology/go.owl is 129.98 MB; this 
exceeds GitHub's file size limit of 100 MB
remote: error: File OWLTools-Core/src/test/resources/go.owl is 116.81 MB; this 
exceeds GitHub's file size limit of 100 MB
remote: error: File 
OWLTools-Annotation/src/test/resources/rules/ontology/go.owl is 129.54 MB; this 
exceeds GitHub's file size limit of 100 MB
remote: error: File 
OWLTools-Annotation/src/test/resources/rules/ontology/go.owl is 125.45 MB; this 
exceeds GitHub's file size limit of 100 MB

Ran the following to clear the history from these files:

git filter-branch --prune-empty -d /dev/shm/owltools \
  --index-filter "git rm --cached -f --ignore-unmatch OWLTools-Annotation/src/test/resources/rules/ontology/go.owl" \
  --tag-name-filter cat -- --all

git filter-branch --prune-empty -d /dev/shm/owltools \
  --index-filter "git rm --cached -f --ignore-unmatch OWLTools-Core/src/test/resources/go.owl" \
  --tag-name-filter cat -- --all

Maybe these files can be downloaded from somewhere else when tests are ran.

Finally:
git checkout -t -b hmc-clinic   
git remote add origin git@github.com:ShahimEssaid/owltools.git
git push -u origin master hmc-clinic

The current commits don't have proper user names but I can fix this once I have 
the correct user names and email addresses to use for the commits.

For the issues, I used:
https://github.com/arthur-debert/google-code-issues-migrator

For the wiki:
https://github.com/trentm/googlecode2github

Original comment by sha...@essaid.com on 6 Jan 2015 at 4:17

GoogleCodeExporter commented 9 years ago
Fantastic. This would be a good time to refactor tests that involve enormous 
files

Original comment by cmung...@gmail.com on 6 Jan 2015 at 5:41

GoogleCodeExporter commented 9 years ago
What about the generated apidocs? gh-pages?

Original comment by cmung...@gmail.com on 6 Jan 2015 at 5:10

GoogleCodeExporter commented 9 years ago
After done, update GO FAQ and other links. Eg  
http://geneontology.org/faq/how-do-i-map-set-annotations-high-level-go-terms-go-
slim 

Original comment by cmung...@gmail.com on 20 Jan 2015 at 10:35

GoogleCodeExporter commented 9 years ago
Should we go ahead with this or not yet? 

Chris, I need the GitHub emails for you and Keiko (not the GitHub login/name) 
before running the final Git import. Can you please send them to me when we are 
ready for the move?

Original comment by sha...@essaid.com on 21 Jan 2015 at 5:20

GoogleCodeExporter commented 9 years ago
I just committed a few odds and ends to gcode.

We're ready to switch assuming this passes: 
http://build.berkeleybop.org/job/owltools/1160/

cjm AT berkeleybop.org

I think Heiko's will be hdietze AT lbl.gov

Original comment by cmung...@gmail.com on 21 Jan 2015 at 7:09

GoogleCodeExporter commented 9 years ago
I just removed all the big go.owl files from the test resources and replaced it 
smaller modules for the relevant tests. See r2446 for changes.

Does this mean you need to import the SVN again? Or is it just possible to pull 
the changes from SVN (even with the deleted go.owl files)?

Original comment by HDie...@lbl.gov on 23 Jan 2015 at 12:25

GoogleCodeExporter commented 9 years ago
I did a new import to make sure the commit SHAs are all good and to update the 
authors. The finished migration is at:

https://github.com/ShahimEssaid/owltools

Chris can move and rename as needed in GitHub.

Heiko, the email I used for your commits appears not be be listed in your 
GitHub account. You can add it to your secondary emails in GitHub and the 
commits will be linked to your GitHub profile.

Original comment by sha...@essaid.com on 2 Feb 2015 at 5:15

GoogleCodeExporter commented 9 years ago
Closing this as we are done, hurrah. Thanks Shahim, massively appreciate all 
your help here.

https://github.com/owlcollab/owltools

Some additional notes for anyone following in our footsteps:

 * GH has a max 50MB limit on any individual file
 * It can be a pain tying all committers to email addresses but it's worth it to preserve history

Original comment by cmung...@gmail.com on 12 Mar 2015 at 7:29