Bug #17677

Make iuk-source-versions output sorted version numbers

Added by CyrilBrulebois 2020-05-05 00:17:20 . Updated 2020-05-10 18:33:06 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

100%

Feature Branch:
feature/17677-make-iuk-source-versions-sort-version-numbers
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

This is mostly cosmetics, and I’d say mostly interesting when building IUKs serially (glancing at a version number lets you know about the current progress of those long tasks), but I suppose it’s trivial enough to be considered: using sort -V would let us get a sorted listed of IUKs:

Before/after:

4.0 4.0~beta1 4.0~beta2 4.0~rc1 4.1 4.1.1 4.2 4.2.2 4.3 4.4 4.4.1 4.5 4.5~rc1
4.0~beta1 4.0~beta2 4.0~rc1 4.0 4.1 4.1.1 4.2 4.2.2 4.3 4.4 4.4.1 4.5~rc1 4.5

Also, if we are to implement Bug #17658, that ensures we can easily double check the recent addition, which would be on the right end every time.

Patch attached.


Files


Subtasks


History

#1 Updated by CyrilBrulebois 2020-05-05 00:18:28

  • Feature Branch set to feature/17677-make-iuk-source-versions-sort-version-numbers

And now that I have a bug number: feature/17677-make-iuk-source-versions-sort-version-numbers branch in Git.

#2 Updated by intrigeri 2020-05-07 08:49:50

  • Status changed from Confirmed to Needs Validation
  • Target version set to Tails_4.7

(Optimistically assuming that’s what you meant to do :)

#3 Updated by intrigeri 2020-05-10 18:33:06

  • Status changed from Needs Validation to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:tails|8509a7692f942c293f2796aba30464b8c121220a.