#3231 listTaggedRPMS documentation inconsistent with behaviour
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago 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

2 years ago

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

2 years ago

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

2 years ago

Commit 3131a64 relates to this ticket

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

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3297 Merged 2 years ago