On Tue, 25 Oct 2016 22:39:40 +0900 Osamu Aoki <osamua...@e01.itscom.net> wrote: > Hi, > > On Tue, Oct 25, 2016 at 08:41:35AM +0800, Paul Wise wrote: > > On Tue, 2016-10-25 at 01:54 +0900, Osamu Aoki wrote: > > > > > If we do not do this, we need to loop over scanning many pages... Not a > > > good idea. Can you think of non-invasive change? > ... > > It isn't much of a complication at all really: > > > > On error, if we scanned a directory, go back and scan the next > > directory. Possibly with a configurable limit of scanned dirs. > > I was thinking to bunch up all possible URL results by scanning all > directory from low version to the high version. But you have a point. > Scan from high version and pick page which has matching URL. > > This makes sense and not as bad situation as I thought. > > Just push down all the directories. Scan from the latest one.
This would fix my current issue with uscan the version I am looking for is in 1.95. I don't think upstream want to publish a newer version, but nevertheless I like to add a watch file to be sure. There are multiple festvox voices that have the same issue (because of the same upstream). paul@testavoira ~/packages/festvox/festvox-ellpc11k $ uscan -v uscan info: uscan (version 2.17.11) See uscan(1) for help uscan info: Scan watch files in . uscan info: Check debian/watch and debian/changelog in . uscan info: package="festvox-ellpc11k" version="1.95-1" (as seen in debian/changelog) uscan info: package="festvox-ellpc11k" version="1.95" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./.git/refs/tags uscan info: Check debian/watch and debian/changelog in ./.git/dgit/unpack/festvox-ellpc11k-1.4.0 uscan info: ./debian/changelog sets package="festvox-ellpc11k" version="1.95" uscan info: Process ./debian/watch (package=festvox-ellpc11k version=1.95) uscan info: opts: filenamemangle=s#.*/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/festvox_ellpc11k#festvox-ellpc11k_$1# uscan info: line: http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/ festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan info: Parsing filenamemangle=s#.*/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/festvox_ellpc11k#festvox-ellpc11k_$1# uscan info: line: http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/ festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.95 uscan info: Last orig.tar.* tarball version (dversionmangled): 1.95 uscan info: dir=>/packed/festival/ dirpattern=>[-_]?(\d[\-+\.:\~\da-zA-Z]*) uscan info: Requesting URL: http://festvox.org/packed/festival/ uscan info: Matching pattern: (?:(?:http://festvox.org)?\/packed\/festival\/)?[-_]?(\d[\-+\.:\~\da-zA-Z]*) uscan info: Matching target for dirversionmangle: ?C=N;O=D uscan info: Matching target for dirversionmangle: ?C=M;O=A uscan info: Matching target for dirversionmangle: ?C=S;O=A uscan info: Matching target for dirversionmangle: ?C=D;O=A uscan info: Matching target for dirversionmangle: /packed/ uscan info: Matching target for dirversionmangle: 1.4.1/ uscan info: Matching target for dirversionmangle: 1.4.2/ uscan info: Matching target for dirversionmangle: 1.4.3/ uscan info: Matching target for dirversionmangle: 1.95/ uscan info: Matching target for dirversionmangle: 1.96/ uscan info: Matching target for dirversionmangle: 2.0.95/ uscan info: Matching target for dirversionmangle: 2.1/ uscan info: Matching target for dirversionmangle: 2.4/ uscan info: Matching target for dirversionmangle: Linux-1.4.1/ uscan info: Matching target for dirversionmangle: Linux-1.4.2/ uscan info: Matching target for dirversionmangle: free-1.4.1/ uscan info: Matching target for dirversionmangle: free-1.4.2/ uscan info: Matching target for dirversionmangle: free-1.4.3/ uscan info: Matching target for dirversionmangle: latest/ uscan info: Found the following matching directories (newest first): 2.4/ (2.4) 2.1/ (2.1) 2.0.95/ (2.0.95) 1.96/ (1.96) 1.95/ (1.95) 1.4.3/ (1.4.3) 1.4.2/ (1.4.2) 1.4.1/ (1.4.1) uscan info: newest_dir => '2.4' uscan info: Requesting URL: http://festvox.org/packed/festival/2.4/ uscan info: Matching pattern: (?:(?:http://festvox.org)?\/packed\/festival\/2\.4\/)?festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan warn: In debian/watch no matching files for watch line http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/ festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan info: opts: filenamemangle=s#.*/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/festvox_ellpc11k#festvox-ellpc11k_$1# uscan info: line: http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/ festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan info: Parsing filenamemangle=s#.*/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/festvox_ellpc11k#festvox-ellpc11k_$1# uscan info: line: http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/ festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan warn: more than one main upstream tarballs listed. uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.95 uscan info: Last orig.tar.* tarball version (dversionmangled): 1.95 uscan info: dir=>/packed/festival/ dirpattern=>[-_]?(\d[\-+\.:\~\da-zA-Z]*) uscan info: Requesting URL: http://festvox.org/packed/festival/ uscan info: Matching pattern: (?:(?:http://festvox.org)?\/packed\/festival\/)?[-_]?(\d[\-+\.:\~\da-zA-Z]*) uscan info: Matching target for dirversionmangle: ?C=N;O=D uscan info: Matching target for dirversionmangle: ?C=M;O=A uscan info: Matching target for dirversionmangle: ?C=S;O=A uscan info: Matching target for dirversionmangle: ?C=D;O=A uscan info: Matching target for dirversionmangle: /packed/ uscan info: Matching target for dirversionmangle: 1.4.1/ uscan info: Matching target for dirversionmangle: 1.4.2/ uscan info: Matching target for dirversionmangle: 1.4.3/ uscan info: Matching target for dirversionmangle: 1.95/ uscan info: Matching target for dirversionmangle: 1.96/ uscan info: Matching target for dirversionmangle: 2.0.95/ uscan info: Matching target for dirversionmangle: 2.1/ uscan info: Matching target for dirversionmangle: 2.4/ uscan info: Matching target for dirversionmangle: Linux-1.4.1/ uscan info: Matching target for dirversionmangle: Linux-1.4.2/ uscan info: Matching target for dirversionmangle: free-1.4.1/ uscan info: Matching target for dirversionmangle: free-1.4.2/ uscan info: Matching target for dirversionmangle: free-1.4.3/ uscan info: Matching target for dirversionmangle: latest/ uscan info: Found the following matching directories (newest first): 2.4/ (2.4) 2.1/ (2.1) 2.0.95/ (2.0.95) 1.96/ (1.96) 1.95/ (1.95) 1.4.3/ (1.4.3) 1.4.2/ (1.4.2) 1.4.1/ (1.4.1) uscan info: newest_dir => '2.4' uscan info: Requesting URL: http://festvox.org/packed/festival/2.4/voices/ uscan info: Matching pattern: (?:(?:http://festvox.org)?\/packed\/festival\/2\.4\/voices\/)?festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan warn: In debian/watch no matching files for watch line http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/ festvox_ellpc11k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip) uscan info: Scan finished
signature.asc
Description: OpenPGP digital signature