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

openbsd: snapshot version comparison #88

Closed
blshkv opened this issue Oct 11, 2018 · 7 comments
Closed

openbsd: snapshot version comparison #88

blshkv opened this issue Oct 11, 2018 · 7 comments

Comments

@blshkv
Copy link

blshkv commented Oct 11, 2018

https://repology.org/metapackage/ike-scan/versions
this may be a long pending issue:
repology/repology-updater#345

OpenBSD Ports | ike-scan | 1.9.4pl20170804
vs
Gentoo overlay Pentoo | ike-scan | 1.9.4_p20170805

somehow, openbsd's version has a higher priority and list others as outdated

@blshkv
Copy link
Author

blshkv commented Oct 11, 2018

btw, the same package shown as:
1.9.4 (outdated) 1.9.4_p20170805 (legacy)
at the following URL: https://repology.org/metapackages/?inrepo=gentoo_ovl_pentoo&outdated=1

@AMDmi3
Copy link
Member

AMDmi3 commented Oct 12, 2018

It's all correct, because p is treated as prerelease and pl as postrelease. Actually, both dates are snapshots and should be ignored.

@blshkv
Copy link
Author

blshkv commented Oct 12, 2018

We use _pre for pre-release and _p for post release. Please fix this logic for gentoo

@AMDmi3
Copy link
Member

AMDmi3 commented Oct 12, 2018

Is this documented somewhere?

It probably could be done, but it would be pointless, as either way these are snapshots which cannot be compared to anything and will be ignored. Cases where upstream uses p should be dealt with individually.

@blshkv
Copy link
Author

blshkv commented Oct 12, 2018

https://devmanual.gentoo.org/ebuild-writing/file-format/index.html

_alpha -> _beta -> _pre -> _rc -> release -> _p

It will be useful for cases like that one:
https://repology.org/metapackage/pyrit/versions

Pyrit was released back in 2015 and we provide the latest _p with few recent and important changes

@blshkv
Copy link
Author

blshkv commented Oct 12, 2018

Here are few more examples:
https://repology.org/metapackage/beef-browser-exploitation/versions
https://repology.org/metapackage/hcxkeys/versions

Packages listed as "outdated" but they are ahead in reality.

AMDmi3 added a commit that referenced this issue Oct 15, 2018
AMDmi3 added a commit that referenced this issue Oct 16, 2018
...in a clever way so individal cases where they should not be ignored are handled correctly

Issue: #88
@AMDmi3
Copy link
Member

AMDmi3 commented Oct 17, 2018

Done. All *_p* versions from Gentoo family are now considered as patch, and are ignored as well.

@AMDmi3 AMDmi3 closed this as completed Oct 17, 2018
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

2 participants