[Pkg-javascript-devel] Bug#1085072: d/watch: limit the versions to check in the remote source to the 4.x version
Santiago Ruano Rincón
santiagorr at riseup.net
Mon Oct 14 02:35:53 BST 2024
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 at -$1/ \
https://github.com/twbs/bootstrap/tags \
-.*?v?(\d[\.\d]*)@ARCHIVE_EXT@
+.*?v?(4\.[\.\d]*)@ARCHIVE_EXT@
TIA,
-- Santiago
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20241013/9110a9af/attachment.sig>
More information about the Pkg-javascript-devel
mailing list