#3231 listTaggedRPMS documentation inconsistent with behaviour
Closed: Fixed by tkopecek. Opened by lsedlar.

The doc says this about rpmsigs parameter:

:param str rpmsigs: only rpms of the specified rpmsigs

The actual behaviour seem to be different though: no matter what value I provide, I still get all RPMs and the only difference is that sigkey field is added. The value of the field doesn't match the provided sigkey.

I can replicate this with any tag using brew call listTaggedRPMS TAG_NAME rpmsigs=abcdefgh. No package will match that sigkey, so I'd expect empty result.


The actual behaviour seems to be that rpmsigs is essentially a switch.
Any truthy value will make the call return one entry for each each RPM+signature combination.
This is actually very useful (if potentially confusing) behaviour.

Yeah, seems like we should update the docs to match the behavior here.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.29
- Issue tagged with: doc

PR #3297

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.29.1 (was: 1.29)

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.28.1 (was: 1.29.1)

Commit 16c2e6e5 fixes this issue

Commit 3131a641 relates to this ticket

Metadata Update from @jcupova:
- Issue tagged with: no_qe

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/3231

Please continue any further discussion there.

Metadata
Related Pull Requests