fedora-infra / fedora-packages

A webapp that allows searching packages in Fedora. Written in Python using TurboGears2 and Moksha.
https://apps.fedoraproject.org/packages
GNU Affero General Public License v3.0
58 stars 59 forks source link

Resolving #350 -- adding product FedoraEPEL to the bz string #404

Closed steaksauce- closed 5 years ago

steaksauce- commented 6 years ago

This resolves #350 by using some trickery to get more than one key/value pair with the same key to get into the bugzilla string.

cverna commented 6 years ago

Ok so I tested it using the [po4a[(https://apps.fedoraproject.org/packages/po4a/) package that has one EPEL bugzilla open.

Currently the link is

https://bugzilla.redhat.com/buglist.cgi?product=Fedora&component=po4a&query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

Which is not correct since we are missing the FedoraEPEL product, then in the PR environment the link generated is

https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&product=Fedora&product=FedoraEPEL&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

Here we correctly have FedoraEPEL but we somehow lost the component information which means that this links returns all bugzilla for Fedora and EPEL.

steaksauce- commented 6 years ago

I'll take a look!

steaksauce- commented 6 years ago

@cverna it should be good to go now