[Pkg-javascript-devel] Bug#1010598: Bug#1010598: npm2deb fails to detect github tags for istextorbinary module
Pirate Praveen
praveen at onenetbeyond.org
Thu May 5 10:41:00 BST 2022
Control: reassign -1 devscripts
Control: affects -1 npm2deb
On വ്യാ, മേയ് 5 2022 at 02:53:18 വൈകു +0530
+0530, Pirate Praveen <praveen at onenetbeyond.org> wrote:
>
>
> 2022, മേയ് 5 2:16:36 PM IST, Pirate Praveen
> <praveen at onenetbeyond.org>ൽ എഴുതി
>> Package: npm2deb
>> Version: 0.3.0-10
>>
>> Usually github urls in watch page is working when there are tags in
>> the repo. But this seems not working even though the repo has tags
>> matcing the version in npm registry.
>>
> This looks like a failure of uscan as manually created watch file
> also fails.
With the following watch file (commonly used in other github repos),
version=4
opts="searchmode=plain,pgpmode=none" \
https://github.com/bevry/istextorbinary/tags
.*/archive/.*/v?([\d\.]+).tar.gz
uscan fails
$ uscan --verbose --download-current-version
uscan info: uscan (version 2.22.1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="node-istextorbinary" version="6.0.0-1" (as seen in
debian/changelog)
uscan info: package="node-istextorbinary" version="6.0.0" (no
epoch/revision)
uscan info: ./debian/changelog sets package="node-istextorbinary"
version="6.0.0"
uscan info: Process watch file at: debian/watch
package = node-istextorbinary
version = 6.0.0
pkg_dir = .
uscan info: opts: searchmode=plain,pgpmode=none
uscan info: line: https://github.com/bevry/istextorbinary/tags
.*/archive/.*/v?([\d\.]+).tar.gz
uscan info: Parsing searchmode=plain
uscan info: Parsing pgpmode=none
uscan info: line: https://github.com/bevry/istextorbinary/tags
.*/archive/.*/v?([\d\.]+).tar.gz
uscan info: Last orig.tar.* tarball version (from debian/changelog):
6.0.0
uscan info: Download the --download-current-version specified version:
6.0.0
uscan info: Requesting URL:
https://github.com/bevry/istextorbinary/tags
uscan info: Found the following matching hrefs on the web page (newest
first):
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v6.0.0.tar.gz (6.0.0)
index=6.0.0-1 matched with the download version
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.15.0.tar.gz (5.15.0)
index=5.15.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.14.0.tar.gz (5.14.0)
index=5.14.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.13.0.tar.gz (5.13.0)
index=5.13.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.12.0.tar.gz (5.12.0)
index=5.12.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.11.0.tar.gz (5.11.0)
index=5.11.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.10.0.tar.gz (5.10.0)
index=5.10.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.9.0.tar.gz (5.9.0)
index=5.9.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.8.0.tar.gz (5.8.0)
index=5.8.0-1
<a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v5.7.0.tar.gz (5.7.0)
index=5.7.0-1
uscan info: Looking at $base =
https://github.com/bevry/istextorbinary/tags with
$filepattern = .*/archive/.*/v?([\d\.]+).tar.gz found
$newfile = <a class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v6.0.0.tar.gz
$newversion = 6.0.0
$lastversion = 6.0.0
uscan info: Matching target for downloadurlmangle:
https://github.com/bevry/istextorbinary/tags <a
class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v6.0.0.tar.gz
uscan info: Upstream URL(+tag) to download is identified as
https://github.com/bevry/istextorbinary/tags <a
class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v6.0.0.tar.gz
uscan info: Filename (filenamemangled) for downloaded file:
v6.0.0.tar.gz
uscan: Newest version of node-istextorbinary on remote site is 6.0.0,
specified download version is 6.0.0
uscan info: Downloading upstream package: v6.0.0.tar.gz
uscan info: Requesting URL:
https://github.com/bevry/istextorbinary/tags <a
class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v6.0.0.tar.gz
uscan warn: In directory ., downloading
https://github.com/bevry/istextorbinary/tags <a
class="Link--muted"
href="/bevry/istextorbinary/archive/refs/tags/v6.0.0.tar.gz failed: 404
Not Found
uscan info: Failed to download upstream package: v6.0.0.tar.gz
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 6.0.0
uscan warn: No upstream tarball downloaded. No further processing with
mk_origtargz ...
uscan info: Scan finished
More information about the Pkg-javascript-devel
mailing list