Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Add an labelCompare() equivalent to Lua interface #897

Closed
pmatilai opened this issue Oct 15, 2019 · 0 comments
Closed

RFE: Add an labelCompare() equivalent to Lua interface #897

pmatilai opened this issue Oct 15, 2019 · 0 comments
Labels
lua Lua bindings/interface RFE

Comments

@pmatilai
Copy link
Member

pmatilai commented Oct 15, 2019

Our Lua bindings currently export the low-level rpm.vercmp() function, but this was always the wrong thing to export, it should've been a Python labelCompare() equivalent instead. #561 is probably related too.

@pmatilai pmatilai added RFE lua Lua bindings/interface labels Oct 15, 2019
pmatilai added a commit to pmatilai/rpm that referenced this issue May 15, 2020
…software-management#897)

The low-level rpmvercmp() was always the wrong thing to export to Lua,
but its what people have used because it's there and its used for
comparing full versions. So rather than add a separate API for the higher
level comparison, lets just change rpm.vercmp() do the right thing instead.

Fixes: rpm-software-management#897
pmatilai added a commit to pmatilai/rpm that referenced this issue May 19, 2020
…software-management#897)

The low-level rpmvercmp() was always the wrong thing to export to Lua,
but its what people have used because it's there and its used for
comparing full versions. So rather than add a separate API for the higher
level comparison, lets just change rpm.vercmp() do the right thing instead.

Fixes: rpm-software-management#897
pmatilai added a commit to pmatilai/rpm that referenced this issue May 27, 2020
…software-management#897)

The low-level rpmvercmp() was always the wrong thing to export to Lua,
but its what people have used because it's there and its used for
comparing full versions. So rather than add a separate API for the higher
level comparison, lets just change rpm.vercmp() do the right thing instead.

Fixes: rpm-software-management#897
pmatilai added a commit to pmatilai/rpm that referenced this issue May 27, 2020
…software-management#897)

The low-level rpmvercmp() was always the wrong thing to export to Lua,
but its what people have used because it's there and its used for
comparing full versions. So rather than add a separate API for the higher
level comparison, lets just change rpm.vercmp() do the right thing instead.

Fixes: rpm-software-management#897
@ffesti ffesti closed this as completed in a1d2722 May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lua Lua bindings/interface RFE
Projects
None yet
Development

No branches or pull requests

1 participant