[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Bug reporting URL field in packages

On Tue, 6 Oct 2009, Juha Tuomala wrote:

On Tuesday 06 October 2009 15:48:32 Panu Matilainen wrote:
This was added to Fedora's rpm recently, what's still missing is the
default contents of the %{bugurl} macro in redhat-rpm-config.
Opinions wanted:

a) just make it https://bugzilla.redhat.com
b) use http://bugz.fedoraproject.org/%{name}
c) something else, what?

 d) use host part from rpm-config, and rest from package metadata.

and then one would be able to change report database
by modifying only one package.

Something like:

rpm-config %{bugreporthost} = http://bugzilla.redhat.com/
package    %{name} = bacula

--> %{bugreporthost}/%{name}
--> http://bugzilla.redhat.com/bacula

Then downstream distros and IT-organizations could try to catch
all reports to their own bug reporting systems before disturbing
Fedora - as in many cases downstream may actually be the culprit
for the problem after all.

If that would not be possible, it would force them to rebuild
all packages and burn rainforests while doing so.... or just
waste Fedoraproject's hours for issues that doesn't belong there.

This probably isn't something that cannot be fixed later, but
while it's on plate....? ;-)

Something like that is quite easily doable by adding a RPMTAG_BUGURL tag extension which grabs its value from macro configuration if set, otherwise use the contents from the package.

It is out of scope for this discussion though, the question here is about the default value Fedora packages should have. The BUGURL tag contents is just a plain old string which is expanded from %bugurl macro at build time and currently no further processing is done on it.

	- Panu -

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]