Source: twitter-bootstrap4
Version: 4.6.1+dfsg1-4
Severity: minor
Tags: patch

Dear maintainer,

bootstrap 4 (twitter-bootstrap4) has been EOL'ed upstream, and version 5
is packaged as bootstrap-html. The current twitter-bootstrap4's
debian/watch checks against any numerical version in the remote source,
so it reports that a new 5.x.y upstream version is available:

    uscan info: Looking at $base = https://github.com/twbs/bootstrap/tags with
        $filepattern = 
.*?v?(\d[\.\d]*)(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz))
 found
        $newfile     = 
https://github.com/twbs/bootstrap/archive/refs/tags/v5.3.3.tar.gz
        $newversion  = 5.3.3
        $lastversion = 4.6.1
    uscan info: Matching target for downloadurlmangle: 
https://github.com/twbs/bootstrap/archive/refs/tags/v5.3.3.tar.gz
    uscan info: Upstream URL(+tag) to download is identified as    
https://github.com/twbs/bootstrap/archive/refs/tags/v5.3.3.tar.gz
    uscan info: Matching target for filenamemangle: 
https://github.com/twbs/bootstrap/archive/refs/tags/v5.3.3.tar.gz
    uscan info: Filename (filenamemangled) for downloaded file: 
twitter-bootstrap4-5.3.3.tar.gz
    Newest version of twitter-bootstrap4 on remote site is 5.3.3, local version 
is 4.6.1
           (mangled local version is 4.6.1)
     => Newer package available from:
            => https://github.com/twbs/bootstrap/archive/refs/tags/v5.3.3.tar.gz
    uscan info: Scan finished

Distracted users (like me) could be confused by this, wondering if the
version 5 of bootstrap should be packaged. The following change would
limit the version to be checked against to the 4.x branch. Could you
please consider this change:

diff --git a/debian/watch b/debian/watch
index 3cb15603f..42209d664 100644
--- a/debian/watch
+++ b/debian/watch
@@ -4,4 +4,4 @@ opts=\
 dversionmangle=s/[~+]dfsg\d*$//,repacksuffix=+dfsg1,\
 filenamemangle=s/.*?v?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/ \
 https://github.com/twbs/bootstrap/tags \
-.*?v?(\d[\.\d]*)@ARCHIVE_EXT@
+.*?v?(4\.[\.\d]*)@ARCHIVE_EXT@

TIA,

 -- Santiago

Attachment: signature.asc
Description: PGP signature

Reply via email to