FS#36103 - {archweb} Bug links do not show all bugs due to hardcoded category
Attached to Project:
Arch Linux
Opened by Ray Rashif (schivmeister) - Thursday, 11 July 2013, 15:26 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 03 January 2018, 17:24 GMT
Opened by Ray Rashif (schivmeister) - Thursday, 11 July 2013, 15:26 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 03 January 2018, 17:24 GMT
|
Details
The 'Bug Reports' link from a package's details page
searches with a bug tracker URL that specifies the
'Packages' category which filters the repository that the
package belongs to. This leads to a side-effect where not
all bugs are displayed, say, for e.g. if a bug was changed
to 'Upstream Bugs'.
A (no longer) current example where this can be seen is opencv. Compare: https://bugs.archlinux.org/?project=1&cat%5B%5D=2&string=opencv with: https://bugs.archlinux.org/?project=1&string=opencv I believe we don't particularly require the category for bug searches from the web site, since we just search with the name of the package. If it appears in another repo, so be it, but that's better than not showing all existing bugs. (Attached patch is for demonstration only - I'm not familiar with archweb codebase.) |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Wednesday, 03 January 2018, 17:24 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/archweb.git/co mmit/?id=6ffa5c4957812f3ee584205b6d11ce8 7885f9e6c
Wednesday, 03 January 2018, 17:24 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/archweb.git/co mmit/?id=6ffa5c4957812f3ee584205b6d11ce8 7885f9e6c
[Wed 10 Jul 2013] [00:15:49] <schiv> hey folks..if i change a bug's category to upstream bugs, will archweb fail to find it (via the bug reports link)?
[Wed 10 Jul 2013] [00:16:38] <schiv> you can check this out by clicking on jack2 in community
[Wed 10 Jul 2013] [00:17:51] <schiv> probably because only packages are selected by default
[Wed 10 Jul 2013] [00:18:00] <schiv> might we want to change that to all categories?
[Wed 10 Jul 2013] [00:31:57] <scarpino> schiv: yes I guess you are right
[Wed 10 Jul 2013] [00:32:36] <scarpino> I see no point in specifying a category
[Wed 10 Jul 2013] [00:33:13] <scarpino> schiv: please send a patch to toofishes
[Wed 10 Jul 2013] [00:35:54] <schiv> ok cool
The goal of the link was so packagers could easily find out if there were open and unaddressed bugs in the package. Given that upstream bugs aren't unaddressed, this is deviating a bit from the intent.
I don't want to bikeshed this, but I'd love to hear a good reason why opening it up makes sense.