Difference between revisions of "Frameworks/GitOldHistory"

(Created page with "In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft.")
 
m (use code instead of tt, the link will remain live)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft.
 
In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft.
 +
 +
<ol>
 +
<li> You need a local clone of qtrepotools. This is part of any qt5.git clone, or you can clone it separately using: <div><code>git clone git://code.qt.io/qt/qtrepotools.git</code></div>
 +
 +
<li> You need a local clone of kdelibs (the branch doesn't matter, it could be KDE/4.x, master, or the now-unused frameworks branch).
 +
Let's say this is in ~/kde4/kdelibs for instance.
 +
 +
<li> Run this command from the frameworks directory (the parent directory of all the frameworks clones)
 +
 +
<pre>
 +
for d in * ; do ( cd $d ; /path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kdelibs ) ; done
 +
</pre>
 +
 +
<li> It will fail for ktexteditor, since that one comes from the kate repository.
 +
<pre>
 +
cd ktexteditor
 +
/path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kate
 +
</pre>
 +
</ol>

Latest revision as of 00:59, 14 April 2015

In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft.

  1. You need a local clone of qtrepotools. This is part of any qt5.git clone, or you can clone it separately using:
  2. You need a local clone of kdelibs (the branch doesn't matter, it could be KDE/4.x, master, or the now-unused frameworks branch). Let's say this is in ~/kde4/kdelibs for instance.
  3. Run this command from the frameworks directory (the parent directory of all the frameworks clones)
    for d in * ; do ( cd $d ; /path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kdelibs ) ; done
    
  4. It will fail for ktexteditor, since that one comes from the kate repository.
    cd ktexteditor
    /path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kate
    

This page was last edited on 14 April 2015, at 00:59. Content is available under Creative Commons License SA 4.0 unless otherwise noted.