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-03 13:58]
draenog [actions map]
cvs2git [2012-07-09 04:55]
draenog [Changes to Developer]
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 -i rpm-build-tools-4.5-3 git-core 
 +mv rpm rpm.cvs 
 +builder --init-rpm-dir 
 +</​code>​ 
  
  
Line 15: Line 19:
 | 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> ​                                    |
 | checkin all changes ​              | <​code>​cvs ci</​code> ​                                                                                                                               | <​code>​git commit -a; git push</​code> ​                                                   | | checkin all changes ​              | <​code>​cvs ci</​code> ​                                                                                                                               | <​code>​git commit -a; git push</​code> ​                                                   |
-| find string from all packages ​    | <​code>​grep -r oauth_ SPECS</​code> ​                                                                                                                 |                                                                                         ​|+| find string from all packages ​    | <​code>​grep -r oauth_ SPECS</​code> ​                                                                                                                 | <​code>​slug.py checkout -b BRANCH; grep */​*.spec</​code> ​                                                                                       ​|
 | list all pkgs                     | <​code>​cvs ls packages</​code> ​                                                                                                                      ​|<​code>​slug.py list</​code> ​                                                                                      | | list all pkgs                     | <​code>​cvs ls packages</​code> ​                                                                                                                      ​|<​code>​slug.py list</​code> ​                                                                                      |
 | see old patches ​                  | look into ''​Attic/''​ in cvsweb ​                                                                                                                    | <​code>​git log --pretty=format:​ --name-only --diff-filter=D</​code> ​                      | | see old patches ​                  | look into ''​Attic/''​ in cvsweb ​                                                                                                                    | <​code>​git log --pretty=format:​ --name-only --diff-filter=D</​code> ​                      |
Line 24: Line 28:
 cvs ci -m '- ...' icu.spec</​code> ​ |<​code>​./​builder -B ICU_4_8 -r   ​auto-th-xxx icu.spec cvs ci -m '- ...' icu.spec</​code> ​ |<​code>​./​builder -B ICU_4_8 -r   ​auto-th-xxx icu.spec
 git push origin ICU_4_8 git push origin ICU_4_8
-git checkout ICU_4_8 ​                                                                           |+git checkout ICU_4_8</​code> ​                                                                          |
  
  
cvs2git.txt · Last modified: 2014-03-29 18:56 by glen