[Bug 722232] New: osc se kernel-devel
https://bugzilla.novell.com/show_bug.cgi?id=722232 https://bugzilla.novell.com/show_bug.cgi?id=722232#c0 Summary: osc se kernel-devel Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- Blocker: --- Severity: Nasty!!! I'm using osc-0.132.5-1.3.1.noarch and my current quest is to find kernel 3.0/3.1 packages for opensuse 11.4. I've been told that "osc" might be helpful (with some grep postprocessing etc. -- I can handle *this*;) since OBS web portal does not support searching "kernel-devel-3" ... BUT 1: * osc se kernel-devel does output only one match (home:hmacht:kernel-sony), allthough OBS shows that there is a kernel-devel e.g. in openSUSE:Tumbleweed. OTOH "osc se kernel-default" gives 172 matches, including openSUSE:Tumbleweed. why? BUT 2: * osc se -B openSUSE:Tumbleweed:Testing -V kernel-default outputs version information in the field "filepath" (I can grep for kernel-default-3): openSUSE:Tumbleweed:Testing kernel-default - 1 05a4d8ffe02178f3c93449fdc63591fd openSUSE:/Tumbleweed:/Testing/openSUSE_Tumbleweed_standard/i586/kernel-default-3.0.4-16.3.i586.rpm but without "-B ..." I only get this output (after loooong waiting;) # Project # Package # Ver Rev Srcmd5 openSUSE:Tumbleweed:Testing kernel-desktop - 1 05a4d8ffe02178f3c93449fdc63591fd so no filepath and no "# Ver" information -- nothing to grep. BUT 3: $ osc se kernel-default | head -6 | tail -2 # Project # Package Base:Kernel kernel-default but: $ osc se -B Base:Kernel kernel-default No matches found for 'kernel-default' in published/binary/ids what's the problem here ??? BUT 4: $ osc se -B openSUSE:11.4 kernel-default | wc 77 233 11601 so plenty of matches, but with "-V": $ osc se -B openSUSE:11.4 -V kernel-default Server returned an error: HTTP Error 404: Not Found package 'kernel-default' does not exist and with "-v": $ harald harald > osc se -B openSUSE:11.4 -v kernel-default Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 52, in run return prg.main() File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 310, in main return self.cmd(args) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 333, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 449, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1179, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 5881, in do_search title = node.findtext('title').strip() AttributeError: 'NoneType' object has no attribute 'strip' back to my original quest: so how can I get a list for *all* kernel-desktop (and kernel-devel!!!) packages with some version information ??? is there anything easier/faster/more simple than this one-line-shell-script (160 secs, and no kernel version info for e.g. openSUSE:11.4) ? osc se kernel-default | grep "kernel-default$" | while read r p ; do osc se -B $r -V kernel-default ; done thanks for any hints and input!!! -- 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=722232 https://bugzilla.novell.com/show_bug.cgi?id=722232#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |adrian@suse.com |ovo.novell.com | -- 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=722232 https://bugzilla.novell.com/show_bug.cgi?id=722232#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Adrian Schröter <adrian@suse.com> 2012-04-04 12:54:58 UTC --- I think you are looking for a binary search and not a package container search: osc se --binary kernel-devel -- 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=722232 https://bugzilla.novell.com/show_bug.cgi?id=722232#c2 --- Comment #2 from Harald Koenig <koenig@linux.de> 2012-04-04 15:28:57 UTC --- (In reply to comment #1)
I think you are looking for a binary search and not a package container search:
osc se --binary kernel-devel
ACK! that's *much* better!! so the help info of osc is misleading aka wrong ?! $ osc se -h search (bse, se): Search for a project and/or package. If no option is specified osc will search for projects and packages which contains the 'search term' in their name, ~~~~~~~~~~~~~~~~~~~~~~X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ title or description. at least for me that "search for packages ..." does not work without --binary ?!? thanks for your hint! -- 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