[opensuse-buildservice] small bug in repository selection by new software.opensuse.org

Hi, I noticed this weekend the regexp used to select repository for 1-click url can be incorrect, when you want an "unsupported" repository : on http://software.opensuse.org/package/calibre do the following: - choose "other version" - choose "openSUSE 12.1" - choose "unsupported packages" - accept the warning - check the urls created for the "Documentation:Tools" line (also valid for KDE:Extra) instead of referencing to openSUSE:12.1 repository, the various links are preferring KDE_Release_48_openSUSE_12.1 instead. I guess the regexp used to choose the repository should favor openSUSE_12.1 and only use another repository if openSUSE_12.1 isn't available in the project. Otherwise, the website is great ! -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On 16.04.2012 10:15, Frederic Crozat wrote:
Hi,
I noticed this weekend the regexp used to select repository for 1-click url can be incorrect, when you want an "unsupported" repository :
on http://software.opensuse.org/package/calibre do the following: - choose "other version" - choose "openSUSE 12.1" - choose "unsupported packages" - accept the warning - check the urls created for the "Documentation:Tools" line (also valid for KDE:Extra)
instead of referencing to openSUSE:12.1 repository, the various links are preferring KDE_Release_48_openSUSE_12.1 instead. I guess the regexp used to choose the repository should favor openSUSE_12.1 and only use another repository if openSUSE_12.1 isn't available in the project.
The case here is, that the package from KDE_Release_48_openSUSE_12.1 has a higher version than the one from openSUSE_12.1 (0.8.46.32.2 <-> 0.8.46.32.1). I try to only show the latest version in one project, because some projects still have multiple old versions published. But there is a related bug where I don't know a solution yet: Both KDE_Release_48_openSUSE_12.1 and openSUSE_12.1 have set openSUSE:12.1 as baseproject, but those names are set by the maintainer, so I don't know which one to show. Probably we should prefer openSUSE_12.1 as this name is some kind of standard.
Otherwise, the website is great !
Thanks :-) Greetings -- Thomas Schmidt (tom [at] opensuse.org) openSUSE Boosters Team "Don't Panic", Douglas Adams (11.03.1952 - 11.05.2001) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Frederic Crozat
-
Thomas Schmidt