Project

Profile

Help

Issue #4936

Ruby client version labelling is incorrect with respect to "most recent" versions

Added by jdjeffers 5 months ago. Updated 5 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
API
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 54

Description

The ruby client versions with the 3.0.0rc2.dev.* labels are considered as earlier than 3.0.0rc2 versioned releases.

it appears that the ruby gem tools, bundler, et al, consider the "dev" labels as being older when in fact the "3.0.0rc2" labelled gems are older.

You can verify by opening an irb console:

irb(main):010:0> Gem::Version.new("3.0.0rc2") > Gem::Version.new("3.0.0rc2.dev.1559765173")
=> true

When a gem version is not specified in a Gemfile or in a .gemspec file, the default version installed and used will be the latest available, in this case the version labelled "3..0.0rc2".

Associated revisions

Revision 930bf2af View on GitHub
Added by ttereshc 5 months ago

Don't add .dev release part of the version

It should be done by Pulp 3 plugins themselves.
Their master branch should contain .dev release segment
in the version identifier of the upcoming release.

closes #4936
https://pulp.plan.io/issues/4936

Revision 26f8233d View on GitHub
Added by ttereshc 5 months ago

Set version to .dev for the master branch

A correct version would be shown for installations from the master branch.
Bindings will be generated with a proper version as well.

re #4936
https://pulp.plan.io/issues/4936

Revision baca70f1 View on GitHub
Added by ttereshc 5 months ago

Set version to .dev for the master branch

A correct version would be shown for installations from the master branch.
Bindings will be generated with a proper version as well.

re #4936
https://pulp.plan.io/issues/4936

Revision 07805594 View on GitHub
Added by ttereshc 5 months ago

Set version to .dev for the master branch

A correct version would be shown for installations from the master branch.
Bindings will be generated with a proper version as well.

re #4936
https://pulp.plan.io/issues/4936

Revision 07805594 View on GitHub
Added by ttereshc 5 months ago

Set version to .dev for the master branch

A correct version would be shown for installations from the master branch.
Bindings will be generated with a proper version as well.

re #4936
https://pulp.plan.io/issues/4936

Revision d42ea19d View on GitHub
Added by ttereshc 5 months ago

Set version to .dev for the master branch

A correct version would be shown for installations from the master branch.
Bindings will be generated with a proper version as well.

re #4936
https://pulp.plan.io/issues/4936

Revision 8ca40be7 View on GitHub
Added by ttereshc 5 months ago

Set version to .dev for the master branch

A correct version would be shown for installations from the master branch.
Bindings will be generated with a proper version as well.

re #4936
https://pulp.plan.io/issues/4936

History

#1 Updated by amacdona@redhat.com 5 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 54

#2 Updated by ttereshc 5 months ago

  • Status changed from NEW to ASSIGNED

#3 Updated by ttereshc 5 months ago

  • Assignee set to ttereshc

#5 Updated by ttereshc 5 months ago

  • Status changed from POST to MODIFIED

#6 Updated by ttereshc 5 months ago

  • Status changed from MODIFIED to POST

#7 Updated by ttereshc 5 months ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF