Re: Help with uscan
On Mon, 11 Jun 2018, Albert van der Horst wrote:
> I tried it without the typo (s/downloads/download/) and spend some time to
> try ancillary formulations. None worked.
https://github.com/albertvanderhorst/ciforth/releases/ \
download/CVS_REL[\d-]+/@PACKAGE@-@ANY_VERSION@\.tar\.gz debian uupdate
works just fine here:
% uscan -v
uscan info: uscan (version 2.18.2) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="lina" version="5.3.0-2" (as seen in debian/changelog)
uscan info: package="lina" version="5.3.0" (no epoch/revision)
uscan info: ./debian/changelog sets package="lina" version="5.3.0"
uscan info: Process watch file at: debian/watch
package = lina
version = 5.3.0
pkg_dir = .
uscan info: Last orig.tar.* tarball version (from debian/changelog): 5.3.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 5.3.0
uscan info: Requesting URL:
https://github.com/albertvanderhorst/ciforth/releases/
uscan info: Matching pattern:
(?:(?:https://github.com)?\/albertvanderhorst\/ciforth\/releases\/)?download/CVS_REL[\d-]+/lina-[-_]?(\d[\-+\.:\~\da-zA-Z]*)\.tar\.gz
uscan info: Found the following matching hrefs on the web page (newest first):
/albertvanderhorst/ciforth/releases/download/CVS_REL-5-3-0/lina-5.3.0.tar.gz (5.3.0) index=5.3.0-1
uscan info: Looking at $base = https://github.com/albertvanderhorst/ciforth/releases/ with
$filepattern = download/CVS_REL[\d-]+/lina-[-_]?(\d[\-+\.:\~\da-zA-Z]*)\.tar\.gz found
$newfile = /albertvanderhorst/ciforth/releases/download/CVS_REL-5-3-0/lina-5.3.0.tar.gz
$newversion = 5.3.0 which is newer than
$lastversion = 5.3.0
uscan info: Matching target for downloadurlmangle: https://github.com/albertvanderhorst/ciforth/releases/download/CVS_REL-5-3-0/lina-5.3.0.tar.gz
uscan info: Upstream URL(+tag) to download is identified as https://github.com/albertvanderhorst/ciforth/releases/download/CVS_REL-5-3-0/lina-5.3.0.tar.gz
uscan info: Filename (filenamemangled) for downloaded file: lina-5.3.0.tar.gz
uscan info: Newest version of lina on remote site is 5.3.0, local version is 5.3.0
uscan info: => Package is up to date for from
https://github.com/albertvanderhorst/ciforth/releases/download/CVS_REL-5-3-0/lina-5.3.0.tar.gz
uscan info: Scan finished
--
Don Armstrong https://www.donarmstrong.com
Mozart tells us what it's like to be human, Beethoven tells us what
it's like to be Beethoven, and Bach tells us what it's like to be the
universe.
-- Douglas Adams
Reply to: