[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-612-g90378d6

Andreas Beckmann debian at abeckmann.de
Thu May 31 19:11:23 UTC 2012


The following commit has been merged in the develop branch:
commit 16e350b468ed2a7c80c7dbab8ae542662068b154
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu May 31 15:20:27 2012 +0200

    p: unify ignore patterns
    
    simplify/unify now that we can distinguish files and directories
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts.py b/piuparts.py
index 3cb2333..1cec6e7 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -200,7 +200,7 @@ class Settings:
             "/var/cache/apt/archives/lock",
             "/var/cache/apt/pkgcache.bin", 
             "/var/cache/apt/srcpkgcache.bin",
-            "/var/cache/debconf",
+            "/var/cache/debconf/",
             "/var/cache/debconf/config.dat",
             "/var/cache/debconf/config.dat-old",
             "/var/cache/debconf/passwords.dat",
@@ -230,20 +230,20 @@ class Settings:
             ]
         self.ignored_patterns = [
             # system state
-            "/dev/",
+            "/dev/.*",
             "/etc/init.d/\.depend.*",
             "/run/.*",
             "/var/backups/.*",
-            "/var/cache/man/(/.*)?",
+            "/var/cache/man/.*",
             "/var/mail/.*",
             "/var/run/.*",
             # package management
             "/var/lib/apt/lists/.*",
-            "/var/lib/dpkg/alternatives",
+            "/var/lib/dpkg/alternatives/.*",
             "/var/lib/dpkg/triggers/.*",
             "/var/lib/insserv/run.*.log",
             "/var/lib/ucf/.*",
-            "/var/lib/update-rc.d(/.*)?",
+            "/var/lib/update-rc.d/.*",
             # application data
             "/var/lib/mercurial-server/.*",
             "/var/lib/onak/.*",
@@ -251,9 +251,9 @@ class Settings:
             "/var/log/exim4/.*",
             "/var/spool/exim/.*",
             "/var/spool/exim4/.*",
-            "/var/spool/news(/.*)?",
+            "/var/spool/news/.*",
             "/var/spool/squid(/.*)?",
-            "/var/www(/.*)?",
+            "/var/www/.*",
             # HACKS
             "/lib/modules/.*/modules.*",
             ]

-- 
piuparts git repository



More information about the Piuparts-commits mailing list