[Initscripts-ng-commits] r456 - in /trunk/src/insserv/debian: headers-reported rules

pere at users.alioth.debian.org pere at users.alioth.debian.org
Sun Jan 6 16:24:31 UTC 2008


Author: pere
Date: Sun Jan  6 16:24:30 2008
New Revision: 456

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=456
Log:
Track BTS report to make it easier to know how many are left to report.

Added:
    trunk/src/insserv/debian/headers-reported
Modified:
    trunk/src/insserv/debian/rules

Added: trunk/src/insserv/debian/headers-reported
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/headers-reported?rev=456&op=file
==============================================================================
--- trunk/src/insserv/debian/headers-reported (added)
+++ trunk/src/insserv/debian/headers-reported Sun Jan  6 16:24:30 2008
@@ -1,0 +1,41 @@
+# List of scripts missing LSB header that are reported to BTS.  Used
+# to track which scripts and packages are missing a bug report.
+# Format: 
+#   scriptname src-pkgname btsnumber
+anacron anacron #448223
+atd at #376780
+cpqarrayd cpqarrayd #451759
+hotkey-setup hotkey-setup #376955
+lvm2 lvm2 #426108
+nfs-user-server nfs-user-server #458390
+nstxcd nstx #457756
+nstxd nstx #457756
+pcmcia pcmcia-cs #361054
+snmptrapfmt snmptrapfmt #457752
+spamassassin spamassassin #451762
+smartmontools smartmontools #458391
+mpd mpd #458393
+courier-imap courier #458433 
+courier-imap-ssl courier #458433 
+courier-ldap courier #458433 
+courier-mlm courier #458433 
+courier-mta courier #458433 
+courier-mta-ssl courier #458433 
+courier-pcp courier #458433 
+courier-pop courier #458433 
+courier-pop-ssl courier #458433 
+sqwebmail courier #458433 
+irqbalance irqbalance #458461
+nethack-common nethack #458465
+libpam-devperm pam-devperm #458466
+pptpd pptp #458476
+setkey ipsec-tools #458488
+racoon racoon #458488
+swapd swapd #458624
+dmraid dmraid #458626
+scsitools-pre.sh scsitools scsitools #458649
+scsitools.sh scsitools scsitools #458649
+hostname.dhcp nfsbooted #458859
+mountfix nfsbooted #458859
+lwresd bind9 #459421
+netatalk netatalk #459442

Modified: trunk/src/insserv/debian/rules
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/rules?rev=456&op=diff
==============================================================================
--- trunk/src/insserv/debian/rules (original)
+++ trunk/src/insserv/debian/rules Sun Jan  6 16:24:30 2008
@@ -44,6 +44,8 @@
 
 	# Add here commands to clean up after the build process.
 	$(MAKE) clean
+
+	rm -f missing overrides
 
 	dh_clean 
 
@@ -92,11 +94,12 @@
 # List the init.d missing LSB headers and override files
 missing-overrides:
 	@GET http://lintian.debian.org/reports/Tinit.d-script-missing-lsb-section.html| grep W: | rev | cut -d/ -f1 | rev | sort -u > missing
-	@ls debian/overrides/ |sort -u > overrides
-	@echo -n "Init.d scripts missing overrides:         "; comm -23 missing overrides|wc -l
+	@(ls debian/overrides/; cut -d" " -f1 debian/headers-reported |grep -v '#' ) |sort -u > overrides
+	@echo -n "Init.d scripts missing overrides and BTS reports:         "; comm -23 missing overrides|wc -l
 	@echo $$(comm -23 missing overrides) |fold -s | sed 's/^/  /'
-	@echo -n "Scripts with overrides and no LSB header: "; comm -12 missing overrides|wc -l
-	@echo -n "Scripts with overrides and not missing LSB header:    "; comm -13 missing overrides|wc -l
+	@echo -n "Scripts with overrides or BTS reports and no LSB header:  "; comm -12 missing overrides|wc -l
+	@echo $$(comm -12 missing overrides) |fold -s | sed 's/^/  /'
+	@echo -n "Scripts with overrides and not missing LSB header:        "; comm -13 missing overrides|wc -l
 	@echo $$(comm -13 missing overrides) |fold -s | sed 's/^/  /'
-	@echo -n "Override files that need a bug report:    "; debian/bts-lefttoreport | wc -l
+	@echo -n "Override files that need a bug report:                    "; debian/bts-lefttoreport | wc -l
 	@echo $$(debian/bts-lefttoreport | sort -u) |fold -s | sed 's/^/  /'




More information about the Initscripts-ng-commits mailing list