#3009 listBuilds/list-builds filtering via CG
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji issue1401  into  master

Download 3009.patch

Fixes: https://pagure.io/koji/issue/1401

Maybe it could also be a CG name? We don't have a getCG API yet...

Maybe it could also be a CG name? We don't have a getCG API yet...

Do you mean that we should convert it to ID on server instead here? I've tried to mimick behaviour for other filters which check the existence on client side. But not sure if it is really helpful as server-side check would be quicker.

Maybe it could also be a CG name? We don't have a getCG API yet...

Do you mean that we should convert it to ID on server instead here? I've tried to mimick behaviour for other filters which check the existence on client side. But not sure if it is really helpful as server-side check would be quicker.

Yeah, I thought it might be similar with lookup_name(btype) for example, but on the cli side, the isinstance() check is still needed

rebased onto 24f5f732f82118c6b5562a0c4574c7ba95d8a9e4

updated

:thumbsup:

Metadata Update from @julian8628:
- Pull-request tagged with: testing-ready

With non-existing cg_id following error is returned

unsupported content generator: None

to be consistent with other filters empty list should be returned

rebased onto 73399e517c5c27bb637190a8ecdd5ef90fedd163

rebased onto 0f10bbd6c467cf38ccd51cca3f5193a452fc7620

rebased onto 6dd57647193fe8e1472728da52fb0ae78188dce0

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

Commit 52ae5616 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata