Bug 747939 - bodhi -r dist-f14 -b 676195 don't respect -r option
Summary: bodhi -r dist-f14 -b 676195 don't respect -r option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bodhi
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-21 13:03 UTC by Nikola Pajkovsky
Modified: 2016-09-20 02:42 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-24 20:18:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nikola Pajkovsky 2011-10-21 13:03:41 UTC
Description of problem:
bodhi client or better bodhi server returns wrong answer. When you try to ask for bodhi server: "give me all builds which fix bug XYZ for fedora 14" it w/o any problems returns build for f15 (any builds which fix the bug).

Version-Release number of selected component (if applicable):


How reproducible:
$ bodhi -r dist-f14 -b 676195
  
Actual results:
$ bodhi -r dist-f14 -b 676195
 griffith-0.12.1-2.fc14                       enhancement  stable    2011-03-23 
 griffith-0.12.1-2.fc15                       enhancement  stable    2011-03-24 


Expected results:
$ bodhi -r dist-f14 -b 676195
 griffith-0.12.1-2.fc14                       enhancement  stable    2011-03-23 

Additional info:
I will write a workaround to filter out wrongly returned builds, but it's problem on the server side.

I'm putting bug as *urgent*, because I'm trying to put it into abrt/libreport to be able find builds before abrt tries to creates new ticket in bugzilla

Comment 1 Luke Macken 2011-10-21 18:31:40 UTC
On it...

Comment 2 Luke Macken 2011-10-21 19:01:27 UTC
I got `bodhi -r <release> -b <bug>` queries working in:

    https://fedorahosted.org/bodhi/changeset/be8c4dd325fffa5f026b50f60f07a46254abf4a7

Also, bodhi never supported querying releases by their dist-tags, like your example shows, so I added it in:

    https://fedorahosted.org/bodhi/changeset/2ac4fdf754f19987fe45c3e671d5c99e22c2e166

I'll try and deploy this to production today.

Comment 3 Nikola Pajkovsky 2011-10-24 09:27:36 UTC
thanks for nice and quick job!

Comment 4 Luke Macken 2011-10-24 20:18:13 UTC
These patches are now in production!

Comment 5 Nikola Pajkovsky 2011-10-25 09:12:40 UTC
and works like charm, thanks

Comment 6 Luke Macken 2012-07-20 18:19:14 UTC
This particular ServerError has been fixed in the bodhi-server for quite some time now. I also just verified that fedora-easy-karma works as expected on RHEL5.


Note You need to log in before you can comment on or make changes to this bug.