[Ctk-developers] IMPORTANT - New repository hosted on http://github.com/commontk

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Mon Jun 14 06:24:57 EDT 2010


Hi Folks,

Following our recent discussion ... see
http://github.com/pieper/CTK/issues#issue/19

The "master/original/official" repository is still hosted on github but the
associated user is "commontk" and not anymore "pieper" !

The history have been cleaned !  See stats below:

pieper/CTK         total size:  *40M*  objects count: 7788    time to clone:
~22s
commontk/CTK   total size: * **6.2M*  objects count: 5811    time to clone:
~8s
(total size obtained using: (du -ksh .)


DCMTK, Log4Qt, log4cpp, ZMQ have been removed from it and are now hosted in
their own repository.
See :
  http://github.com/commontk/PythonQt
  http://github.com/commontk/Log4Qt
  http://github.com/commontk/DCMTK

*Please pay attention to the following*  *- Since the history has been
rewritten, consider the following:*

Any repository  cloned using *git at github.com:pieper/CTK.git *should be
considered as *UNUSABLE*.
   -> Delete it and re-clone it from *git at github.com:commontk/CTK.git*

Please, re-fork also your repository. See instruction at the end.

Note also that all users should have been already added as collaborator to
the github.com/commontk
The existing github.com/pieper is obsolete and will be deleted soon. (Steve:
Can you remove the accesses ?)




In case you have *COMMITS* which are *NOT YET PUSHED* to the main
repository.

For example:

          A---B---C my_work_in_progress
         /
    D---E---F---G master


1) Make sure you apply you backup the stash

git stash apply && git commit -a -m "WIP"


2)  Let's find out the SHA1 of:
   - your last local commit
   - the parent of your first local commit

git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s
%Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative

Example:

* *ad9957a* - (HEAD, master) ENH: wip (7 minutes ago) <Jean-Christophe
Fillion-Robin>
* ac4abdb - ENH: Added feature2 (23 minutes ago) <Jean-Christophe
Fillion-Robin>
* 2499a9e - ENH: Added feature1 (23 minutes ago) <Jean-Christophe
Fillion-Robin>
* *ccdb850* - (origin/master) COMP: Superbuild - ExternalProject - git
update step should also perform a "git pull" (9 hours ago) <Jean-Christophe
Filli
* 8f567e7 - ...


3) Create a patch with all your local commits

git format-patch -k --stdout *ccdb850*..*ad9957a* >
~/work_in_progress_ctk.patch


4) Delete this CTK folder and clone the new repository

cd ..

git clone git at github.com:commontk/CTK.git && cd CTK

cat ~/work_in_progress_ctk.patch | git am -3 -k


Here it is - You should now be able to work as usual ...





*PLEASE Re-Fork* !

1)

  Go on http://github.com/YourName/CTK

  .... and delete your CTK fork.

  See "Deleting the forked repository" on http://help.github.com/forking/

2)

   Go on http://github.com/commontk/CTK

   .. and fork the repository

   Then, if you go on http://github.com/YourName/CTK
   it should indicates:

  YourName/CTK
     |
     ---> forked from commontk/CTK



Any question, let me know.

Thks
Jc

-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100614/63ee03d6/attachment.html>


More information about the Ctk-developers mailing list