[devscripts] 01/01: uscan: update documentation

Osamu Aoki osamu at moszumanska.debian.org
Sun Dec 6 13:29:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 7d5c7bee7ae2caac8fe5f983d17b796c025ee134
Author: Osamu Aoki <osamu at debian.org>
Date:   Sun Dec 6 22:27:22 2015 +0900

    uscan: update documentation
    
     * Version 4 (Starting devscript package version)
     * Priority of xz > gz
     * Why not .tgz included.
---
 scripts/uscan.pl | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 6d7a0e4..f1a7014 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -266,12 +266,15 @@ This is substituted by the typical archive file extension regex (non-capturing).
 
 =item B<@SIGNATURE_EXT@>
 
-This is substituted by the typical signature file exsention regex (non-capturing).
+This is substituted by the typical signature file extension regex (non-capturing).
 
   (?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip)\.(?:asc|pgp|gpg|sig)
 
 =back
 
+Some file extensions are not included in the above intentionally to avoid false
+positives.  You can still set such file extension patterns manually.
+
 =head1 WATCH FILE OPTIONS
 
 B<uscan> reads the watch options specified in B<opts="> I<...> B<"> to
@@ -643,6 +646,10 @@ The upstream tarball href corresponding to the newest (uversionmangled)
 candidate upstream version newer than the (dversionmangled) last upstream
 version is selected.
 
+If multiple upstream tarball hrefs corresponding to a single verion with
+different extensions exist, the highest compression one is chosen. (Priority:
+B<< tar.xz > tar.lzma > tar.bz2 > tar.gz >>.)
+
 If the selected upstream tarball href is the relative URL, it is converted to
 the absolute URL using the base URL of the web page.  If the B<< <base href="
 >> I< ... > B<< "> >> tag exists in the web page, the selected upstream tarball
@@ -1615,25 +1622,36 @@ in version 2, they will all be used in version 3. To avoid this behavior,
 change the non-version-number groups to be B<(?:> I< ...> B<)> instead of a
 plain B<(> I< ... > B<)> group.
 
-B<uscan> invokes the custom I<script> as "I<script> B<--upstream-version>
+=over
+
+=item * B<uscan> invokes the custom I<script> as "I<script> B<--upstream-version>
 I<version> B<../>I<spkg>B<_>I<version>B<.orig.tar.gz>".
 
-B<uscan> invokes the standard B<uupdate> as "B<uupdate> B<--no-symlink
+=item * B<uscan> invokes the standard B<uupdate> as "B<uupdate> B<--no-symlink
 --upstream-version> I<version> B<../>I<spkg>B<_>I<version>B<.orig.tar.gz>".
 
+=back
+
 =item Version 4
 
+B<devscripts> version 2.15.10: The first incarnation of F<watch> files
+supporting multiple upstream tarballs.
+
 The syntax of the watch file is relaxed to allow more spaces for readability.
 
 If you have a custom script in place of B<uupdate>, you may also encounter
-problems.
+problems updating from Version 3.
+
+=over
 
-B<uscan> invokes the custom I<script> as "I<script> B<--upstream-version>
+=item * B<uscan> invokes the custom I<script> as "I<script> B<--upstream-version>
 I<version>".
 
-B<uscan> invokes the standard B<uupdate> as "B<uupdate> B<--find>
+=item * B<uscan> invokes the standard B<uupdate> as "B<uupdate> B<--find>
 B<--upstream-version> I<version>".
 
+=back
+
 Restriction for B<--dehs> is lifted by redirecting other output to STDERR when
 it is activated.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list