[Pkg-xmpp-devel] watch file / uscan

Stefan Kropp stefan.kropp at posteo.de
Sat Mar 19 04:19:14 GMT 2022


Hello,

for projects which are using a git repository, uscan can be used
like this:

--------------------------------------------
version=4
opts="mode=git" \
https://domain.tld/project/subproject.git \
refs/tags/@ANY_VERSION@ \
debian uupdate
--------------------------------------------

Sometimes the projects are using a version like v1.1. I such case
it will look like this.

--------------------------------------------
version=4
opts="mode=git" \
https://domain.tld/project/subproject.git \
refs/tags/v at ANY_VERSION@ \
debian uupdate
--------------------------------------------

What do you think to add a default common watch-file (like above)
for all projects? If required do some fine tuning later.

Anyway,... here some new files.

# libsignal-protocol-c/debian/watch 
version=4
opts="mode=git" \
https://github.com/signalapp/libsignal-protocol-c.git \
refs/tags/v at ANY_VERSION@ \
debian

# libstrophe/debian/watch 
version=4
opts="mode=git" \
https://github.com/strophe/libstrophe.git \
refs/tags/(\d[\d\.]+)

# poezio/debian/watch 
version=4
opts="mode=git,pgpmode=gittag" \
https://lab.louiz.org/poezio/poezio.git \
refs/tags/v([\d\.]+)

# psi-plugins/debian/watch 
version=4
opts="mode=git" \
https://github.com/psi-im/plugins.git \
refs/tags/@ANY_VERSION@ \
debian uupdate

# psi-plus/debian/watch 
version=4
https://github.com/psi-plus/psi-plus-snapshots/tags \
https://github.com/psi-plus/psi-plus-snapshots/archive/refs/tags/(\d.+)\.tar\.gz \
debian

# psi-translations/debian/watch 
version=4
opts="mode=git" \
https://github.com/psi-im/psi-l10n.git \
refs/tags/@ANY_VERSION@ \
debian

# python-nbxmpp/debian/watch 
version=4
opts="mode=git" \
https://dev.gajim.org/gajim/python-nbxmpp.git \
refs/tags/nbxmpp at ANY_VERSION@ \
debian

# telegram-purple/debian/watch 
version=4
opts="mode=git" \
https://github.com/majn/telegram-purple.git \
refs/tags/v at ANY_VERSION@ \
debian

Shall I create such a file for all other projects?

-- 
Stefan



More information about the Pkg-xmpp-devel mailing list