maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Proposal: XSBC-Bugtracker in debian package (https://talk.maemo.org/showthread.php?t=31019)

X-Fade 2009-08-27 16:51

Proposal: Xsbc-Bugtracker in debian package
 
While implementing the maemo.org packages interface, I wanted to add a link to the bugtracker for a package or project. Eventually integrating bug reporting/searching, but more on that later. As all information is gathered from the debian packages themselves, it would make sense to have the bugtracker URL available in the control file.

There doesn't seem to be a default field in debian control files for and URL of the bugtracker which the project is using. Therefor I want to propose introducing the Xsbc-Bugtracker field.

Xsbc-Bugtracker:
The URL of the bugtracker for this package, preferably (when applicable) the URL where you can directly file a bug. The content of this field is a simple URL without any surrounding characters such as <>.

Example:
Code:

Xsbc-Bugtracker: https://bugs.maemo.org/enter_bug.cgi?product=Wormux
By putting the bugtracker URL inside the package, people always have a way to find out where to file bugs. This could even be used for filing bugs through an application interface or crash reporter in the future.

When this feature is accepted, it should be added to the Packaging Policy too.

Please let me know what you think.

zerojay 2009-08-27 17:12

Re: Proposal: XSBC-Bugtracker in debian package
 
Quote:

Originally Posted by X-Fade (Post 316440)
While implementing the maemo.org packages interface, I wanted to add a link to the bugtracker for a package or project. Eventually integrating bug reporting/searching, but more on that later. As all information is gathered from the debian packages themselves, it would make sense to have the bugtracker URL available in the control file.

There doesn't seem to be a default field in debian control files for and URL of the bugtracker which the project is using. Therefor I want to propose introducing the XSBC-Bugtracker field.

XSBC-Bugtracker:
The URL of the bugtracker for this package, preferably (when applicable) the URL where you can directly file a bug. The content of this field is a simple URL without any surrounding characters such as <>.

Example:
Code:

XSBC-Bugtracker: https://bugs.maemo.org/enter_bug.cgi?product=Wormux
By putting the bugtracker URL inside the package, people always have a way to find out where to file bugs. This could even be used for filing bugs through an application interface or crash reporter in the future.

When this feature is accepted, it should be added to the Packaging Policy too.

Please let me know what you think.

I love it. Anything that can help us track bugs down easier would be great.

timsamoff 2009-08-27 19:38

Re: Proposal: XSBC-Bugtracker in debian package
 
Brilliant!

Tim

X-Fade 2009-08-27 20:04

Re: Proposal: XSBC-Bugtracker in debian package
 
Quote:

Originally Posted by zerojay (Post 316455)
I love it. Anything that can help us track bugs down easier would be great.

I will implement a test in the importer for the packages interface. One beer at the Summit for the first person to upload a package with the field included ;)

pelago 2009-08-27 21:54

Re: Proposal: XSBC-Bugtracker in debian package
 
What does XSBC mean?

mikkov 2009-08-27 22:04

Re: Proposal: XSBC-Bugtracker in debian package
 
Quote:

Originally Posted by pelago (Post 316697)
What does XSBC mean?

X tells that it's user defiend field
S tells that field will be copied to source package control file
B tells that field will be copied to binary package control file
C tells that field will be copied upload control file

mikkov 2009-08-28 02:22

Re: Proposal: XSBC-Bugtracker in debian package
 
I included the line in one package, but won't tell which one :)

Graham Cobb 2009-08-28 11:12

Re: Proposal: XSBC-Bugtracker in debian package
 
Niels,

Please post the proposal on maemo-developers. That is where the developers, who are the ones who would have to implement this, live!

Persoanlly I have no objection but I know that the several times this has been discussed before there has been disagreement about how to achieve this goal.

Graham

X-Fade 2009-08-28 14:56

Re: Proposal: XSBC-Bugtracker in debian package
 
Quote:

Originally Posted by Graham Cobb (Post 317074)
Niels,

Please post the proposal on maemo-developers. That is where the developers, who are the ones who would have to implement this, live!

Persoanlly I have no objection but I know that the several times this has been discussed before there has been disagreement about how to achieve this goal.

Graham

Hi Graham, sorry about that. I was going to do that yesterday evening, but got distracted by the login issue we had.

Graham Cobb 2009-09-15 22:04

Re: Proposal: XSBC-Bugtracker in debian package
 
Hmm. I tried adding an Xsbc-Bugtracker: line to a package (in the Source: section of the control file).

dh_builddep issued a warning (which was repeated for each binary package):

Code:

warning, `debian/libxsettings-client-dev/DEBIAN/control' contains user-defined field `Bugtracker'
And the field appeared as Bugtracker: in the .deb.

Is this as expected? I would have thought it should have been copied unchanged to the packages or, at least, that it would have retained the X- prefix.

I'm not keen on having every build produce several warnings from dh_buildep. Is there any other way to do this?

Graham


All times are GMT. The time now is 14:08.

vBulletin® Version 3.8.8