YunoHost / package_linter

Linter for YunoHost applications packages
https://yunohost.org/#/packaging_apps
GNU Affero General Public License v3.0
17 stars 13 forks source link

False positive for version #102

Open Josue-T opened 2 years ago

Josue-T commented 2 years ago

Problem

Package linter don't like this version but should be accepted 4-5.7~ynh1

I've the issue for the app pgadmin.

alexAubin commented 2 years ago

Zbleh yeah ... but on the other hand it really simplifies stuff to have a clearly defined format for version ...

I had a hard time finding out that in this case, 4-5.7 refers to the fact that the software is in fact "pgadmin 4" (as their site says), with version 5.7. To me that's just unecessarily confusing for everybody ... Like you go on their website and they say "The pgAdmin Development Team is pleased to announce pgAdmin 4 version 6.4" .. what's the version number : is it 4 ? is it 6 ? Is it 4.6 ?

Imho in this case we should just stick with version=5.7~ynh1. I doubt that they will ever move to a new "pgadmin 5". If they do, this may be a totally different software that needs a different package. (I mean apparently pgadmin 3 was a desktop app). If we think about mailman : we called it "mailman2_ynh" and "mailman3_ynh", we didn't create just "mailman_ynh" with "version 2-x.y" because anyway these are very different softwares