Re: watch file when url is raw text not in a link.
On Thu, Oct 20, 2011 at 6:21 PM, Paul Elliott
<pelliott@blackpatchpanel.com> wrote:
>
>
> Is it possible to write a watch file for a case when the url is raw text in
> the web page but not in a link, that is, no href?
>
> This web page contains the pointer to the file:
>
> http://www.openastro.org/?Download
>
> which is
>
> https://launchpad.net/~pellesimon/+archive/+files/openastro.org_1.1.25.orig.tar.gz
>
> but it is raw text in the web page, not in a link. How would one write a
> watch file for this? I want to pick up files of the form :
> openastro.org_(.*).orig.tar.gz
That's actually a Launchpad PPA. This will get what you're looking for:
version=3
http://ppa.launchpad.net/pellesimon/ppa/ubuntu/pool/main/o/openastro.org/openastro.org_(.*).orig.tar.gz
$ uscan --report
Processing watchfile line for package openastro.org...
Newest version on remote site is 1.1.25, local version is 1.1.24
openastro.org: Newer version (1.1.25) available on remote site:
http://ppa.launchpad.net/pellesimon/ppa/ubuntu/pool/main/o/openastro.org/openastro.org_1.1.25.orig.tar.gz
Though you might want to ask your upstream to host their source
tarball in a more sensible place.
-- Andrew Starr-Bochicchio
Ubuntu Developer <https://launchpad.net/~andrewsomething>
Debian Maintainer
<http://qa.debian.org/developer.php?login=a.starr.b%40gmail.com>
PGP/GPG Key ID: D53FDCB1
Reply to: