Bug#841499: uscan: support searching in multiple directories for matching files
Osamu Aoki
osamuaoki at e01.itscom.net
Mon Oct 24 16:54:56 UTC 2016
Hi,
On Fri, Oct 21, 2016 at 04:28:05PM +0800, Paul Wise wrote:
> Package: devscripts
> Severity: wishlist
> User: devscripts at packages.debian.org
> Usertags: uscan
>
> For upstreams that store their downloads in a directory tree with one
> branch per directory, maintainers might want to exclude release
> candidates but uscan currently only considers the newest directory,
Yes, I am aware of this limitation.
> which might only contain release candidates, resulting in not being
> able to see the latest stable release. uscan should scan each directory
> in descending order of version until at least one file was found.
>
> When this is fixed, this sentence needs removing from the manual:
>
> (If multiple directories match, the highest version is picked.)
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?
> Here is an example of a watch file that would be fixed by this:
...
> uscan info: Requesting URL:
> https://cmake.org/files/
How about scanning https://cmake.org/download/
Most HTTP site has this kind of page. I think complicating page
scanning mechanism for FTP further doesn't seem to be good idea.
Osamu
More information about the devscripts-devel
mailing list