[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uscan watch for gitlab.gnome.org

On Wednesday, August 07 2019, Andreas Ronnquist wrote:

> Hi
> Does anybody have an example on a watch-file that works for
> gitlab.gnome.org, but works on files there, and not on Git tags?


This is what I came up with:

https://gitlab.gnome.org/World/lollypop/-/tags \

> In my case the files look like this, and I have a hard time getting a
> watch file working properly.
> https://gitlab.gnome.org/World/lollypop/uploads/1d87588d659e720e70d08e6e945fe317/lollypop-

The trick is looking at the page's source code, and noticing that the
href tags are in this format:

  <a href="/World/lollypop/uploads/1d87588d659e720e70d08e6e945fe317/lollypop-">lollypop-</a>

which means you can look for the "/World/lollypop/..." pattern.

> [Please don't CC me, if I mail to a mailinglist, I am subscribed to it.]

You might want to set Mail-Followup-To :-).


GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible

Attachment: signature.asc
Description: PGP signature

Reply to: