Project

General

Profile

Actions

User story #11612

open

Group search query: missing greater than and lesser than comparision for software version

Added by Alexander Brunhirl about 7 years ago. Updated almost 3 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
-
UX impact:
Suggestion strength:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Name check:
Fix check:
Regression:

Description

Hi,

in "group search" the criteria "greater than" or "smaller than" version is missing.
Which would be very useful to upgrade software to a certain version.

Best regards,
Alex

Actions #1

Updated by Benoît PECCATTE about 7 years ago

  • User visibility changed from First impressions of Rudder to Getting started - demo | first install | level 1 Techniques
  • Priority changed from 80 to 50

Indeed

Actions #2

Updated by François ARMAND about 5 years ago

  • Priority changed from 50 to 0

I never answered on that, but for now, we don't have any ordering on version - they are just strings. The problem is that all distro seems to use their own ordering (and naming) scheme - when they are even self consistant.

Actions #3

Updated by Philip Seeger over 4 years ago

What a lt/gt comparison should do might depend on the context (e.g., name strings might either be compared lexically or alphanumerically, [a1,a11,a2] vs. [a1,a2,a11]). But this bug is about comparing OS versions and since the operators are < (lower than) and > (greater than), I would expect the results to be sorted alphanumerically or just numerically if it's a field which contains only digits and no characters.
For example, I would expect the kernel version "4.4.121-92.125-default" to come before "4.12.14-95.40-default" because the algorithm would go from left to right to determine that 4 is lower than 12. It's not important if there's a disto specific suffix like "slowturtle-default" at the end because all that matters with such a type of comparison is the number at the beginning.

Philip

Actions #4

Updated by François ARMAND almost 3 years ago

  • Tracker changed from Bug to User story
  • Subject changed from Missing group criteria to Group search query: missing greater than and lesser than comparision for software version
  • Severity deleted (Minor - inconvenience | misleading | easy workaround)
  • Priority deleted (0)
Actions

Also available in: Atom PDF