Skip to content

Uscan : debian/watch version 5

Yadd requested to merge uscan-version-5 into main

This MR replaces !251 (closed) , rebased and with only "version 5" changes

Tests proves that this version of uscan is able to read current "version=4" files but also able to manage RFC-822 style debian/watch files.

It solves the current "write-only" style of debian/watch files and will permit to build "Templates". Example:

Version: 5
Template: GitHub
Author: linagora
Project: simple-oidc-client

Equivalent to current:

version=4
opts=\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/@PACKAGE@-$1/ \
 https://github.com/linagora/simple-oidc-client/tags .*/archive/.*/v?([\d\.]+).tar.gz

A new salsa(1) command permits teams to update their debian/watch files.

Edited by Yadd

Merge request reports

Loading