Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7529

Handling of non-leading tildes in rpmvercmp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.10.1, PUP 5.y
    • Fix Version/s: PUP 5.0.0
    • Component/s: None
    • Template:
    • Team:
      Agent
    • Sprint:
      Agent 2017-05-31
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      This fixes a bug in the rpm package provider that did properly sort packages containing tildes that did not occur as the first character.
    • QA Risk Assessment:
      No Action

      Description

      rpmvercmp handles only the leading tilde.
      So, the following test fails.

      it { expect(provider.rpmvercmp("~", "~~")).to eq(1) }
      

      A tilde must sort before everything else.
      https://github.com/rpm-software-management/rpm/issues/214

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            knqyf263 Teppei Fukuda
            QA Contact:
            Eric Delaney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support