[Bug 782901] New: Search on software.opensuse.org for the wrong distribution version
https://bugzilla.novell.com/show_bug.cgi?id=782901 https://bugzilla.novell.com/show_bug.cgi?id=782901#c0 Summary: Search on software.opensuse.org for the wrong distribution version Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: ctrippe@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.9.1 Safari/534.34 The search for rpms on software.opensuse.org via the 'rpm:' shortcut and via the greeter searches for 12.1 and not 12.2. The reason is that the needed adjustments in kdebase4-openSUSE did not happen, wich was already the case in the past, see bug 695417 and bug 681131. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782901 https://bugzilla.novell.com/show_bug.cgi?id=782901#c1 --- Comment #1 from Christian Trippe <ctrippe@opensuse.org> 2012-09-29 18:21:24 UTC --- Just for reference this is fixed by --- config-files/usr/share/kde4/services/searchproviders/rpm.desktop 2011-10-28 12:11:24.000000000 +0200 +++ config-files/usr/share/kde4/services/searchproviders/rpm_new.desktop 2012-09-08 23:00:45.861597256 +0200 @@ -3,6 +3,6 @@ Hidden=false Keys=rpm Name=openSUSE Build Service -Query=http://software.opensuse.org/search?baseproject=openSUSE%3A12.1&p=1&q=\\{@} +Query=http://software.opensuse.org/search?baseproject=openSUSE%3A12.2&p=1&q=\\{@} ServiceTypes=SearchProvider Type=Service --- greeter/greetings.cpp 2011-10-28 12:11:24.000000000 +0200 +++ greeter/greetings.cpp_new 2012-09-29 18:57:16.942071402 +0200 @@ -197,7 +197,7 @@ } if (url=="http://software.opensuse.org/") - url="http://software.opensuse.org/search?baseproject=openSUSE%3A12.1"; + url="http://software.opensuse.org/search?baseproject=openSUSE%3A12.2"; if ( url.startsWith( "/you" ) ) { KProcess::startDetached("kdesu", QStringList() << "/sbin/yast2" << "online_update"); A maintenace request has already been submitted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782901 https://bugzilla.novell.com/show_bug.cgi?id=782901#c2 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> 2012-10-07 02:47:04 CEST --- BTW: Factory also searches for 12.1 packages ;-) I'd recommend to update the version by reading /etc/SuSE-release at build time. You'll need some logic to convert "xx.y Milestone X" or "xx.y beta" to "Factory", but automating it will avoid similar bugs in future versions. # head -n1 /etc/SuSE-release # on a server running 12.1 openSUSE 12.1 (x86_64) # head -n1 /etc/SuSE-release # on my factory system openSUSE 12.3 Milestone 0 (x86_64) In other words: If the first line of /etc/SuSE-release matches openSUSE xx.y ($arch) ^openSUSE [0-9][0-9]\.[0-9] \([^ ]*\)$ then it's a released version - just take the version number. If it doesn't match, it's Factory ;-) If you don't like to fully automate it, at least add a check that causes a build failure if the expected version number is no longer in /etc/SuSE-release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782901 https://bugzilla.novell.com/show_bug.cgi?id=782901#c3 --- Comment #3 from Christian Trippe <ctrippe@opensuse.org> 2012-10-07 09:59:41 UTC --- In the mean time i've fixed this with #Make the Link to the software search from the greeter default to to the correct version of openSUSE (bnc#681131) + sed -i s/12.1/%{version}/ greeter/greetings.cpp + +#Make the "rpm:"-search default to to the correct version of openSUSE (see bnc#695417) + sed -i s/12.1/%{version}/ %{buildroot}%{_kde4_servicesdir}/searchproviders/rpm.desktop + In the Spec. So Factory should soon search for 12.2 until the package kdebase4-openSUSE with version 12.3 is created which usually happens only shortly for the 12.3 release. I'll see if I can improve it for Factory but for released versions we should be fine now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782901 https://bugzilla.novell.com/show_bug.cgi?id=782901#c4 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Benjamin Brunner <bbrunner@suse.com> 2012-10-08 13:07:27 CEST --- Update released for 12.2 and checked in into factory. Resolved fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782901 https://bugzilla.novell.com/show_bug.cgi?id=782901#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> 2012-10-08 11:08:44 UTC --- openSUSE-RU-2012:1303-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 782901 CVE References: Sources used: openSUSE 12.2 (src): kdebase4-openSUSE-12.2-6.8.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com