User Tools

Site Tools


cvs2git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cvs2git [2012-07-05 16:48]
draenog [actions map]
cvs2git [2013-04-20 11:41]
glen
Line 1: Line 1:
 ===== Changes to Developer ===== ===== Changes to Developer =====
  
-First you should get yourself git based tools. +First you should get yourself git based tools: 
-  **builder** : FIXME should we build package here? +<​code>​ 
-  ​- ...+poldek --up -u rpm-build-tools git-core 
 +mv rpm rpm.cvs 
 +builder --init-rpm-dir 
 +</​code>​ 
  
  
Line 10: Line 14:
 ^ Action ​                           ^ Before (CVS)                                                                                                                                       ^ After (Git)                                                                             ^ ^ Action ​                           ^ Before (CVS)                                                                                                                                       ^ After (Git)                                                                             ^
 | add new package ​                  | <​code>​../​builder -a PKG</​code>​ or <​code>​cvs add PKGDIR</​code> ​                                                                                                      | <​code>​builder -a PKG</​code>​ or <​code>​slug.py init PKG</​code> ​                           | | add new package ​                  | <​code>​../​builder -a PKG</​code>​ or <​code>​cvs add PKGDIR</​code> ​                                                                                                      | <​code>​builder -a PKG</​code>​ or <​code>​slug.py init PKG</​code> ​                           |
-| rename package ​                   | send rename request to cvsadmin@ ​                                                                                                                  | <​code>​slug.py move PKG1 PKG2</​code> ​                                                    | +| rename package ​                   | send rename request to cvsadmin@ ​                                                                                                                  | <​code>​ssh git@git.pld-linux.org move PKG1 PKG2</​code> ​                                                    | 
-| delete package ​                   | remove all sources from cvs                                                                                                                        | ask admin to run<​code>​ssh git@pld-linux.org trash PKG</​code> ​                           |+| delete package ​                   | remove all sources from cvs                                                                                                                        | ask admin to run<​code>​ssh git@git.pld-linux.org trash PKG</​code> ​                           |
 | update from remote ​               | <​code>​cvs up</​code> ​                                                                                                                               | <​code>​git pull --rebase</​code> ​                                                         | | update from remote ​               | <​code>​cvs up</​code> ​                                                                                                                               | <​code>​git pull --rebase</​code> ​                                                         |
 | checkin single file               | <​code>​cvs ci file.foo</​code> ​                                                                                                                      | <​code>​git add file.foo; git commit; git push</​code> ​                                    | | checkin single file               | <​code>​cvs ci file.foo</​code> ​                                                                                                                      | <​code>​git add file.foo; git commit; git push</​code> ​                                    |
Line 25: Line 29:
 git push origin ICU_4_8 git push origin ICU_4_8
 git checkout ICU_4_8</​code> ​                                                                          | git checkout ICU_4_8</​code> ​                                                                          |
 +| delete remote branch ​             | <​code>​cvs branch -d BRANCH</​code>​ | <​code>​git push origin :​BRANCH</​code> ​ |
  
cvs2git.txt · Last modified: 2014-03-29 18:56 by glen