git-migration: pld-git.sh - add package to queue if some files in CVS were ...

draenog draenog at pld-linux.org
Thu Jun 9 01:21:32 CEST 2011


Author: draenog                      Date: Wed Jun  8 23:21:32 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- add package to queue if some files in CVS were removed

---- Files affected:
git-migration:
   pld-git.sh (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.42 git-migration/pld-git.sh:1.43
--- git-migration/pld-git.sh:1.42	Thu Jun  9 01:17:15 2011
+++ git-migration/pld-git.sh	Thu Jun  9 01:21:27 2011
@@ -31,7 +31,7 @@
 
 	# parse rsync log
 	# we want "^.f" - any file change
-	grep 'changes=.f' $logfile | sed -rne 's/.*name=([^/]+)\/.*/\1/p' | sort -u > cvs.pkgs
+	grep -E 'changes=(.f|\*deleting)' $logfile | sed -rne 's/.*name=([^/]+)\/.*/\1/p' | sort -u > cvs.pkgs
 
 	touch cvs.rsync
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/pld-git.sh?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list