cvs2svn-migration/trunk: invoke_cvs2svn migrator post_cvs2svn

saq cvs at pld-linux.org
Sun Oct 2 01:49:11 CEST 2005


Author: saq
Date: Sun Oct  2 01:49:07 2005
New Revision: 6419

Modified:
   cvs2svn-migration/trunk/invoke_cvs2svn
   cvs2svn-migration/trunk/migrator
   cvs2svn-migration/trunk/post_cvs2svn
Log:
- more verboseness
- reviewed the whole repo for problems


Modified: cvs2svn-migration/trunk/invoke_cvs2svn
==============================================================================
--- cvs2svn-migration/trunk/invoke_cvs2svn	(original)
+++ cvs2svn-migration/trunk/invoke_cvs2svn	Sun Oct  2 01:49:07 2005
@@ -8,23 +8,29 @@
 # ERROR: The following symbols are tags in some files and branches in others.
 # yees, the beauty of PLD
 for b in \
-	DEVEL RA-branch{,_general,{_,-}security,_DEVEL,-pg73} AC-branch \
-	LINUX_2_{2,2_DEVEL,3,4,4_2{6,7},4_MOSIX,4_STABLE,5,6,6_7{,-2},6_8} \
-	djurban-LINUX_2_6 mozilla_1_0_2 rpm-4_0_4 XSS_4_02 \
-	MOZILLA{-1_2_1,_1_4,_CVS} NEW QUOTA_3 XFree86{_3_3_6,-4_2_0} \
-	GNOME_2_{0,4} rpm3 IPTABLES LEFTHAND MIMUW_PORTALOZA \
+	RA-branch{,_general,{_,-}security,_devel,_DEVEL,_postfix2,-pg73} \
+	DEVEL AC-branch SWIG_1_3_19 EXIM_4 Ra+SASL2 java-sun-1_4 \
+	LINUX_2_{2,2_DEVEL,3,4,4_2{6,7},4_DZIMI_DEVEL,4_MOSIX,4_STABLE,5} \
+	LINUX_2_6{,_7{,-2},_8,_11,_12} PAM_GAMES PEDRITO \
+	djurban-LINUX_2_6 mozilla_1_0_2 rpm-4_0_4 XSS_4_02 qt-copy COMPILED \
+	MOZILLA{-1_2_1,_1_4,_CVS} NEW QUOTA_3 XFree86{_3_3_6,-4_2_0} NEST \
+	GNOME_2_{0,4} rpm3 IPTABLES LEFTHAND MIMUW_PORTALOZA agaran-test \
 	STABLE lighttpd-1_3_8 GLIBC_2_2{,_5} GCC{31,32,323,4} FOR_AEGYPTEN \
-	kernel-2_4_{20-6pl8,21-2_1,22-1_5} GIMAGEVIEW-021 \
-	KERNEL_2_4_for_RA
+	kernel-2_4_{20-6pl8,21-2_1,22-1_5} GIMAGEVIEW-021 PLONE1 v6111 kde4 \
+	KERNEL_2_4_for_RA PATCHED_3_2 APACHE{2,_2_FOR_RA} BIND9 VER3 RA-DEVEL \
+	NVIDIA_1_0_4496 gcc-3_2-7 PERL_5_8_{0,1,4} UNSTABLE qt_14x OLD \
+	PRE_2_4_18 AC-poldek-0_18
 do
 	OPTS="$OPTS --force-branch=$b"
 done
 for t in \
-	LINUX_2_{4_DEVEL,6_12} \
-	SAMBA_3
+	LINUX_2_4_DEVEL PERL_5_5 ettercap-0_6_b-1 lice-4_2_0-3 RA-brach \
+	SAMBA_3 galeon-gnome2
 do
 	OPTS="$OPTS --force-tag=$t"
 done
-# you'll find many others
 
+echo "0. Clearing $svndir"
+rm -rf "$svndir"
+echo "1. Go"
 exec cvs2svn $OPTS -s "$svndir" "$tmpcvsdir"

Modified: cvs2svn-migration/trunk/migrator
==============================================================================
--- cvs2svn-migration/trunk/migrator	(original)
+++ cvs2svn-migration/trunk/migrator	Sun Oct  2 01:49:07 2005
@@ -10,7 +10,7 @@
 exec file("config").read() in locals()
 
 # rlog: .../kernel/Attic/linux-2.4.18-xfs-19062002.patch.gz,v:1244: unexpected end of file
-files_ignore=set(["linux-2.4.18-xfs-19062002.patch.gz,v"])
+files_ignore=set(["linux-2.4.18-xfs-19062002.patch.gz,v","vim2html-find_vim_home.patch,v"])
 
 spec_re=re.compile(spec_re)
 source_re=re.compile(source_re)
@@ -123,7 +123,11 @@
 mkdir(logdir)
 
 print "1. Reorganizing CVS repo"
+specs_step=len(specs_all)//23
+i=0
 for spec,path in specs_all.iteritems():
+	i+=1
+	if i%specs_step==0: print "STATUS: %d%%"%(int(i*100./len(specs_all)),)
 	if spec_re.match(spec) is None: continue
 	if not spec.endswith(".spec"):
 		print "WARN: what the hell is SPECS/%s?"%(spec,)

Modified: cvs2svn-migration/trunk/post_cvs2svn
==============================================================================
--- cvs2svn-migration/trunk/post_cvs2svn	(original)
+++ cvs2svn-migration/trunk/post_cvs2svn	Sun Oct  2 01:49:07 2005
@@ -3,6 +3,7 @@
 . ./config
 
 rm -rf checkout
+echo "0. Checkout"
 svn -q co file://"$svndir" checkout
 cd checkout
 



More information about the pld-cvs-commit mailing list