[Piuparts-devel] [Git][debian/piuparts][develop] Add alias '--ignore-regexp' for '--ignore-regex' (Closes: #906683)

Holger Levsen gitlab at salsa.debian.org
Tue Sep 4 18:20:41 BST 2018


Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
79a2a872 by Holger Levsen at 2018-09-04T17:17:30Z
Add alias '--ignore-regexp' for '--ignore-regex' (Closes: #906683)

The former was documented since 2005 while the latter was working since then...
Thanks to Nicolas Braud-Santoni for reporting.

Also thanks to Andreas Beckmann for pointing out how to do this patch
correctly.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- debian/changelog
- piuparts.py


Changes:

=====================================
debian/changelog
=====================================
@@ -7,6 +7,9 @@ piuparts (0.91) UNRELEASED; urgency=medium
   * piuparts.py:
     - Add to ignored_files:
       + /var/lib/sreview (Closes: #905500)
+    - Add alias '--ignore-regexp' for '--ignore-regex' as the former was
+      documented since 2005 while the latter was working since then...
+      Thanks to Nicolas Braud-Santoni for reporting. (Closes: #906683)
 
  -- Holger Levsen <holger at debian.org>  Mon, 13 Aug 2018 19:09:30 +0200
 


=====================================
piuparts.py
=====================================
@@ -2727,7 +2727,7 @@ def parse_command_line():
                            "ignored when comparing changes to chroot."
                            "FILENAMES prefixed with ':' will be reported verbosely.")
 
-    parser.add_option("-I", "--ignore-regex", action="append",
+    parser.add_option("-I", "--ignore-regex", "--ignore-regexp", action="append",
                       metavar="REGEX", default=[],
                       help="Add REGEX to list of Perl compatible regular " +
                            "expressions for filenames to be " +



View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/79a2a872097fc2e1b8e361db4e8019a36c4c5c1b

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/79a2a872097fc2e1b8e361db4e8019a36c4c5c1b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20180904/7f06f50f/attachment-0001.html>


More information about the Piuparts-devel mailing list