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

Re: Uscan no longer works with GitLab tags



Hi Soren,

On  Mi 03 Apr 2024 06:12:59 CEST, Soren Stoutner wrote:

Mike,

On Tuesday, April 2, 2024 8:22:26 AM MST Mike Gabriel wrote:
https://salsa.debian.org/debian-ayatana-team/appmenu-gtk-module/-/blob/
master/
debian/watch

```
version=3
https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/tags/?([\d\.]+)
.*/uploads/.*/appmenu-gtk-module-?([\d\.]+)\.tar\.xz
```

The above used to successfully download the appmenu-gtk-module tarball
from the vala-panel-appmenu releases page:
https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/releases

Try the attached watch file.

This works for vala-panel-appmenu, but not for appmenu-gtk-module. The packaging of vala-panel-appmenu, appmenu-gtk-module and appmenu-registrar is a bit special, because all three packages get built from the same source code tree.

[sunweaver@sunobo vala-panel-appmenu.upstream (master)]$ tree -L 1
.
??? applets
??? data
??? lib
??? LICENSE
??? meson.build
??? meson_options.txt
??? po
??? README.md
??? subprojects
??? vapi

7 directories, 4 files
[sunweaver@sunobo vala-panel-appmenu.upstream (master)]$ tree -L 1 subprojects/
subprojects/
??? appmenu-glib-translator
??? appmenu-gtk-module
??? jayatana
??? registrar

5 directories, 0 files

The appmenu-gtk-module code is a subfolder in upstream vala-panel-appmenu (subprojects/appmenu-gtk-module) and that subfolder was packaged as a separate src:pkg in Debian at the time when it got introduced.

For this the upstream maintainer provides appmenu-gtk-module as a separate tarball for download at [1].

So the watch file should achieve downloading this exact tarball, i.e. https://gitlab.com/vala-panel-project/vala-panel-appmenu/uploads/6c0332e34c41e99de5a1db1fc4239de2/appmenu-gtk-module-24.02.tar.xz

Only chew on this if you really want to nut-crack it. I have burnt quite a few brain cells on it yesterday and failed (which does not mean you will also, but be warned, the solution does not seem trivial, however, maybe it is).

Thanks,
Mike

[1] https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/releases/24.02

--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver@debian.org, http://sunweavers.net

Attachment: pgpHUTBbkQwbk.pgp
Description: Digitale PGP-Signatur


Reply to: