Reply
Thread Tools
Posts: 152 | Thanked: 618 times | Joined on Mar 2008 @ Netherlands
#1
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.
__________________
http://maemo.org/profile/view/xfade/ - maemo.org webmaster Apps.formeego.org (Apps for N9)

Last edited by X-Fade; 08-28-2009 at 12:02 PM.
 

The Following 14 Users Say Thank You to X-Fade For This Useful Post:
zerojay's Avatar
Posts: 2,669 | Thanked: 2,538 times | Joined on Apr 2007 @ Halifax, Nova Scotia, Canada
#2
Originally Posted by X-Fade View Post
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's Avatar
Super Moderator | Posts: 1,605 | Thanked: 1,595 times | Joined on Mar 2007 @ Southern California
#3
Brilliant!

Tim
__________________
http://samoff.com
 
Posts: 152 | Thanked: 618 times | Joined on Mar 2008 @ Netherlands
#4
Originally Posted by zerojay View Post
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
__________________
http://maemo.org/profile/view/xfade/ - maemo.org webmaster Apps.formeego.org (Apps for N9)
 

The Following 3 Users Say Thank You to X-Fade For This Useful Post:
pelago's Avatar
Posts: 2,112 | Thanked: 1,485 times | Joined on Mar 2008 @ Oxford, UK
#5
What does XSBC mean?
 
Posts: 1,208 | Thanked: 1,025 times | Joined on Oct 2007
#6
Originally Posted by pelago View Post
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
 

The Following 11 Users Say Thank You to mikkov For This Useful Post:
Posts: 1,208 | Thanked: 1,025 times | Joined on Oct 2007
#7
I included the line in one package, but won't tell which one
 
Posts: 161 | Thanked: 335 times | Joined on Apr 2006 @ Cotswolds, UK
#8
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
 

The Following 2 Users Say Thank You to Graham Cobb For This Useful Post:
Posts: 152 | Thanked: 618 times | Joined on Mar 2008 @ Netherlands
#9
Originally Posted by Graham Cobb View Post
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.
__________________
http://maemo.org/profile/view/xfade/ - maemo.org webmaster Apps.formeego.org (Apps for N9)
 
Posts: 161 | Thanked: 335 times | Joined on Apr 2006 @ Cotswolds, UK
#10
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
 
Reply

Tags
bugtracker, control, debian

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 11:55 AM.