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

package version shown as part of the package name in openSUSE #155

Closed
cboltz opened this issue Aug 22, 2023 · 2 comments
Closed

package version shown as part of the package name in openSUSE #155

cboltz opened this issue Aug 22, 2023 · 2 comments

Comments

@cboltz
Copy link

cboltz commented Aug 22, 2023

If you search for openSUSE packages, you'll get results like

Package Name              Version      Distro
apparmor-parser-3.0.1     9.1          OpenSUSE (Tumbleweed)

Note that the package name contains the version, and the version column contains only the release.

The actual package name is something like apparmor-parser-3.0.1-9.1.s390x.rpm.

The pattern for openSUSE package names is $packagename-$version-$release.$arch.rpm, where $version is the upstream version number, and $release shows (first number) how often a package was touched (for example adding a patch), and (second number) how often it was rebuilt.

In this case, I'd expect the package name to be apparmor-parser, and the version 3.0.1 (just the upstream release number) or 3.0.1-9.1 (both upstream release number and openSUSE release number).

@pleia2
Copy link
Contributor

pleia2 commented Aug 22, 2023

We're going to tackle this along with our fix for #145, so we won't deploy new data sources until we're sure about correcting the version number situation. Thanks for chiming in with your expertise here to share how to parse the package name, it's a huge help!

@Princee215
Copy link
Contributor

Thanks, @cboltz, this is very helpful. Me and @arshPratap were thinking in the same way of splitting the name into package name and version. Though needed some proof of what we do is the right way to do so.
We'll work on this and follow the convention and will soon revert back soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants