uscan templates
Available templates for uscan(1).
- Provided by: devscripts (Version: 2.25.19ubuntu2)
- Report a bug
Available templates for uscan(1).
Templates simplify the debian/watch file. You just have to indicate the template to use and the specific arguments. Example:
Version: 5 Template: Github Owner: guimard Project: llng-docker
Other parameters can be added as usual. Example:
Version: 5 Template: Github Owner: guimard Project: llng-docker Version-Mangle: auto
Here is the list of available templates:
This template uses GitHub API to find archives to download.
Specific parameters
Example
Example for https://github.com/guimard/llng-docker:
Version: 5 Template: Github Owner: guimard Project: llng-docker
This template uses MetaCPAN::Client(3pm) to download package.
Specific parameters
Example
Version: 5 Template: Metacpan Dist: MetaCPAN-Client
This template just replaces:
Version: 5 Template: Npmregistry Dist: @lemonldapng/handler
by:
Version: 5 Source: https://registry.npmjs.org/@lemonldapng/handler Matching-Pattern: https://registry.npmjs.org/@lemonldapng/handler/-/handler-@ANY_VERSION@@ARCHIVE_EXT@ Searchmode: plain
Specific parameters
This template uses Mode: gitlab to download package.
Specific parameters
Example
Version: 5 Template: Gitlab Dist: https://salsa.debian.org/debian/devscripts
If you want to add a template in uscan, you can find the documentation here:
$ perldoc /usr/share/perl5/Devscripts/Uscan/Templates.pod
Then build a merge-request into the devscripts project <https://salsa.debian.org/debian/devscripts>.