Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
apk-tools
apk-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • apk-toolsapk-tools
  • Issues
  • #191

Closed
Open
Opened Oct 25, 2009 by Natanael Copa@ncopaOwner

apk version does not handle _alpha, _beta _rc suffixes properly

apk thinks that 2.0_alpha1 is newer than 2.0. This is wrong. Same goes for _beta and _rc suffixes.

$ apk version -t 2.0 2.0_alpha1
<
$ apk version -t 2.0 2.0_rc9
<

I noiced this when abuild 2.0 was not upgraded from 2.0_rc9.

(from redmine: issue id 191, created on 2009-10-25, closed on 2010-01-01)

  • Changesets:
    • Revision cc4644a5 by Timo Teräs on 2009-10-26T07:33:12Z:
version: fix comparision of pre-suffixes

got broke in 0b9bfa8d52ea7ec2cae562a71932a9cc6e2b9963 which
fixed another corner case. hopefully it's good now. fixes #191.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/apk-tools#191