invalid-upstream-version-format

The upstream version that was picked contains characters that are invalid in Debian version strings.

For version strings that come from upstream tags, this can be because the upstream tags use characters that are not valid in Debian version strings. The janitor currently only applies very basic version mangling to upstream tags:

  • Strip release- prefixes and -release suffixes
  • Strip package- prefixes
  • Strip v prefixes
  • Replace any underscores with dots if there are no other dots in the version. This is done for compatibility with CVS style tags, which usually did not use dots.

For version strings that come from uscan, no additional mangling is performed besides the mangling that uscan already does.

In some cases, the version string matching is overly broad - and the lintian-brush could possibly replace the first group with @ANY_VERSION@ to fix the watch file.

Codebase Campaign Stage Start Time Duration Description
cymothoa fresh-releases codemod 2023-01-22T23:54 22s <UScanSource(<GitWorkingTree of /home/janitor/tmp/janitor-worker7ohrhpic/cymothoa.git>, subpath='', top_level=False, auto_fix=True,skip_signatures=False)> reported invalid format version string 1-beta/cymothoa-1-beta.
intrace fresh-releases codemod 2023-01-22T14:07 16s <UScanSource(<GitWorkingTree of /home/janitor/tmp/janitor-worker8h3orsoq/intrace.git>, subpath='', top_level=False, auto_fix=True,skip_signatures=False)> reported invalid format version string intrace-1.6.
spooftooph fresh-releases codemod 2023-01-22T02:21 17s <UScanSource(<GitWorkingTree of /home/janitor/tmp/janitor-workery6quuojn/spooftooph.git>, subpath='', top_level=False, auto_fix=True,skip_signatures=False)> reported invalid format version string 0.5/spooftooph-0.5.
uniscan fresh-releases codemod 2023-01-21T23:56 21s <UScanSource(<GitWorkingTree of /home/janitor/tmp/janitor-workerfi0cuoze/uniscan.git>, subpath='', top_level=False, auto_fix=True,skip_signatures=False)> reported invalid format version string -code.