Johannes Meixner wrote:
[...]
Also we could advertise more the "report bug" button present on obs which affect directly the bug to the declared maintainer.
Great that you mention that!
I had totally forgotten about its existence.
I did a quick build test in
home:jsmeix:branches:Printing/cups
that now has in cups.spec a BugUrl added, see
https://build.opensuse.org/package/show/home:jsmeix:branches:Printing/cups
I described it in cups.changes: --------------------------------------------------------------------- - Added BugUrl in spec file (shown wrapped here): https://bugzilla.opensuse.org/enter_bug.cgi?classification=7340 &product=openSUSE.org &component=3rd%20party%20software &assigned_to=jsmeix@suse.com &cc=tchvatal@suse.com&cc=werner@suse.com &short_desc=Printing/cups:%20Bug
Interesting idea but the implementation needs to be improved IMO :-) The disadvantages of that way are a) again makes it hard to reuse the spec file for different products b) the assignees cannot be changed in binary packages floating around c) it duplicates information stored in OBS and Bugzilla So if we wanted to make use of this BugUrl feature of rpm in the future I think the right place to add the url to the spec file would be the build script. The build script mangles the spec file anyways so adding or overwriting BugUrl should be easy. Since a package is built for a specific product on a specific OBS instance also the information added can be product and OBS instance specific. That solves a). Instead of pointing to bugzilla directly, the url should point back to OBS then. OBS would need an additional route, let's say e.g. https://build.opensuse.org/package/report_bug/openSUSE:Factory/cups That route would then use the information stored in OBS to redirect to the right bug reporting tool, just like the "report bug" button now. That solves b) and c) as the actual configuration can be changed on server side even after a product is released. Last but not least the BugUrl information needs to end up in package metadata so zypper, YaST, gnome-software etc can make use of it. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org