Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-06-12 Thread Lucas Nussbaum
tags 483179 + patch
thanks

On 27/05/08 at 18:41 +0200, Sandro Tosi wrote:
 Package: qa.debian.org
 Severity: wishlist
 
 Hi all,
 it would be useful to have the link Launchpad (Ubuntu) page for the
 package bugs reported there: for example, for reportbug, a link to[1],
 in the box Other links, or in a new one if support for external BTS
 will be added anytime soonen (but that's another story).
 
 A really plus would be to have a launchpad bugs count; I don't know how
 easy this last point can be, maybe some support from Ubuntu would be
 needed.

Hi,

The attached patch removes the patch box, and adds an Ubuntu box,
with the following info:
- current version in Ubuntu
- if there's a patch available, link to the patch
- if there are open bugs, number of bugs

I'd like to stress that the goal of this is to allow Debian maintainers
to improve their packages by have an idea of the problems Ubuntu users
found. It's not to do Ubuntu developers' work. I don't expect Debian
maintainers to reply to bugs on launchpad.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |
Index: www/xsl/pts.xsl
===
--- www/xsl/pts.xsl	(revision 1886)
+++ www/xsl/pts.xsl	(working copy)
@@ -634,35 +634,29 @@
   /xsl:if
 /xsl:template
 
-xsl:template name=patches
+xsl:template name=ubuntu
   !-- Patches list [FG] --
-  xsl:if test=$other/@patches='yes'
+  xsl:if test=$other/@ubuntu='yes'
 tr class=titlerow
   td class=titlecell colspan=2
-	Patches
+	Ubuntu
 /td/tr
 tr
   td class=contentcell colspan=2 style=text-align: left
 	ul
-	  xsl:for-each select=$other/patches/item
 	li
-	  a href={$other/patches/item/@url}Patch from xsl:value-of select=$other/patches/item/@distro/ for version xsl:value-of select=$other/patches/item/@version//a
+		Version: a href={$other/ubuntu/@url}xsl:value-of select=$other/ubuntu/@version//a
 	/li
-	  /xsl:for-each
-	  xsl:if test=$other/bugs/@patch!='0'
+	  xsl:if test=$other/ubuntu/patch
 	li
-	  xsl:element name=a
-		xsl:attribute name=href
-		  xsl:texthttp://bugs.debian.org/cgi-bin/pkgreport.cgi?which=srcamp;data=/xsl:text
-		  xsl:call-template name=escape-name
-		xsl:with-param name=textxsl:value-of select=$package//xsl:with-param
-		  /xsl:call-template
-		  xsl:textamp;include=tags:patchamp;exclude=tags:pendingamp;pend-exc=done/xsl:text
-		/xsl:attribute
-		Patches from BTS (xsl:value-of select=$other/bugs/@patch/)
-	  /xsl:element
+		a href={$other/ubuntu/patch/@url}Patch for version xsl:value-of select=$other/ubuntu/patch/@version//a
 	/li
 	  /xsl:if
+	  xsl:if test=$other/ubuntu/bugs
+	li
+		a href={$other/ubuntu/bugs/@url}xsl:value-of select=$other/ubuntu/bugs/@count/ open bugs/a
+	/li
+	  /xsl:if
 	/ul
   /td
 /tr
@@ -1242,10 +1236,10 @@
 xsl:call-template name=pts-subscription /
   /table
   table class=lefttable
-xsl:call-template name=patches /
+xsl:call-template name=other-links /
   /table
   table class=lefttable
-xsl:call-template name=other-links /
+xsl:call-template name=ubuntu /
   /table
   /td/tr
   /table
Index: www/bin/other_to_xml.py
===
--- www/bin/other_to_xml.py	(revision 1886)
+++ www/bin/other_to_xml.py	(working copy)
@@ -110,7 +110,7 @@
 f.close()
 
 # Read patches information [FG]
-patches = {}
+ubuntu_patches = {}
 # this can be easily inserted into a new update_patches.py if it becomes too
 # heavy to parse the file
 if os.path.exists(dir + /patches.ubuntu):
@@ -122,10 +122,27 @@
 if not r:
 continue
 version = r.group(1)
-patches[package] = {}
-patches[package]['ubuntu'] = (version, http://patches.ubuntu.com/; + rel_url)
+ubuntu_patches[package] = (version, http://patches.ubuntu.com/; + rel_url)
 f.close()
 
+ubuntu_versions = {}
+if os.path.exists(dir + /versions.ubuntu):
+f = open(dir + /versions.ubuntu)
+for line in f.readlines():
+(package, version) = line.split(' ', 2)
+version = version.strip()
+	ubuntu_versions[package] = (version, https://launchpad.net/ubuntu/+source/; + package)
+f.close()
+
+ubuntu_bugs = {}
+if os.path.exists(dir + /bugs.ubuntu):
+f = open(dir + /bugs.ubuntu)
+for line in f.readlines():
+(package, count) = line.split('|', 2)
+count = count.strip()
+	ubuntu_bugs[package] = (count, https://bugs.launchpad.net/ubuntu/+source/; + package)
+f.close()
+
 # read low threshold NMU infos
 def read_low_threshold_nmu(fname):
 emails = []
@@ -326,25 +343,34 @@
 else:
 root_elt.setAttribute(override, no)
 
-# Add patches informations [FG]
-if patches.has_key(pkg):
-elt = doc.createElement(patches)
-patch_sig = 
-distros = patches[pkg].keys()
-distros.sort()
-for distro 

Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Raphael Hertzog
On Wed, 28 May 2008, Joerg Jaspert wrote:
 On 11399 March 1977, Sandro Tosi wrote:
 
  *I* wouldnt want that, for the simple reason that its an overview about
  your package in Debian, not Debian + any possible derivative where
  people would like a link to.
  Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)
 
 Maybe because they aren't hidden in some non-free crap software?

This is _ridiculous_ (as is the whole subthread that you started with
Alexander Wirt). 

Should we also drop links pointing to free sofware projects hosted on
sourceforge.net because sourceforge is no more a free software ?

(No need to answer that question)

I expected better from you and Alexander, you have surely already read
several times the reasons that explain how Ubuntu is behaving and the
direction in which they are working.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Joerg Jaspert
On 11398 March 1977, Sandro Tosi wrote:

 it would be useful to have the link Launchpad (Ubuntu) page for the
 package bugs reported there: for example, for reportbug, a link to[1],
 in the box Other links, or in a new one if support for external BTS
 will be added anytime soonen (but that's another story).

 A really plus would be to have a launchpad bugs count; I don't know how
 easy this last point can be, maybe some support from Ubuntu would be
 needed.

*I* wouldnt want that, for the simple reason that its an overview about
your package in Debian, not Debian + any possible derivative where
people would like a link to.


-- 
bye, Joerg
Das kannst du vielleicht mir erzaehlen, aber nicht jemanden, der Ahnung hat.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Sandro Tosi
Hi Alexander,

On Wed, May 28, 2008 at 10:45 AM, Alexander Wirt [EMAIL PROTECTED] wrote:
 Sandro Tosi schrieb am Wednesday, den 28. May 2008:

 Hi Joerg,

 On Wed, May 28, 2008 at 10:19 AM, Joerg Jaspert [EMAIL PROTECTED] wrote:
  On 11398 March 1977, Sandro Tosi wrote:
 
  it would be useful to have the link Launchpad (Ubuntu) page for the
  package bugs reported there: for example, for reportbug, a link to[1],
  in the box Other links, or in a new one if support for external BTS
  will be added anytime soonen (but that's another story).
 
  A really plus would be to have a launchpad bugs count; I don't know how
  easy this last point can be, maybe some support from Ubuntu would be
  needed.
 
  *I* wouldnt want that, for the simple reason that its an overview about
  your package in Debian, not Debian + any possible derivative where
  people would like a link to.

 Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)
 And from xandros, knoppix, grml, sidux and all other derivates. Please stop
 this now.

Oh, sure: I only made this request because PTS already has the Ubuntu
patch reference. If the project decides it's not acceptable, I'm with
it! :)

Cheers,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Sandro Tosi
Hi Joerg,

On Wed, May 28, 2008 at 10:19 AM, Joerg Jaspert [EMAIL PROTECTED] wrote:
 On 11398 March 1977, Sandro Tosi wrote:

 it would be useful to have the link Launchpad (Ubuntu) page for the
 package bugs reported there: for example, for reportbug, a link to[1],
 in the box Other links, or in a new one if support for external BTS
 will be added anytime soonen (but that's another story).

 A really plus would be to have a launchpad bugs count; I don't know how
 easy this last point can be, maybe some support from Ubuntu would be
 needed.

 *I* wouldnt want that, for the simple reason that its an overview about
 your package in Debian, not Debian + any possible derivative where
 people would like a link to.

Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)

I see this only as an help to the maintainer, that can receive
additional information/bugs from Ubuntu users, that could be missed
otherwise.

Cheers,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Alexander Wirt
Sandro Tosi schrieb am Wednesday, den 28. May 2008:

 Hi Joerg,
 
 On Wed, May 28, 2008 at 10:19 AM, Joerg Jaspert [EMAIL PROTECTED] wrote:
  On 11398 March 1977, Sandro Tosi wrote:
 
  it would be useful to have the link Launchpad (Ubuntu) page for the
  package bugs reported there: for example, for reportbug, a link to[1],
  in the box Other links, or in a new one if support for external BTS
  will be added anytime soonen (but that's another story).
 
  A really plus would be to have a launchpad bugs count; I don't know how
  easy this last point can be, maybe some support from Ubuntu would be
  needed.
 
  *I* wouldnt want that, for the simple reason that its an overview about
  your package in Debian, not Debian + any possible derivative where
  people would like a link to.
 
 Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)
And from xandros, knoppix, grml, sidux and all other derivates. Please stop
this now. 

Alex
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Joerg Jaspert
On 11399 March 1977, Sandro Tosi wrote:

 *I* wouldnt want that, for the simple reason that its an overview about
 your package in Debian, not Debian + any possible derivative where
 people would like a link to.
 Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)

Maybe because they aren't hidden in some non-free crap software?

As long as Launchpad is non-free one shouldn't think about using or
linking to it, Debian is about free software, build with free software,
etc...

-- 
bye, Joerg
exa Snow-Man: Please don't talk to me. You have demonstrated yourself
  sufficiently. There is a serious matter being talked.
Snow-Man exa: It's hardly serious, it's about you.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Marc 'HE' Brockschmidt
Joerg Jaspert [EMAIL PROTECTED] writes:
 On 11399 March 1977, Sandro Tosi wrote:
 *I* wouldnt want that, for the simple reason that its an overview about
 your package in Debian, not Debian + any possible derivative where
 people would like a link to.
 Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)
 Maybe because they aren't hidden in some non-free crap software?

 As long as Launchpad is non-free one shouldn't think about using or
 linking to it, Debian is about free software, build with free software,
 etc...

Last time I checked, Debian supports the use of non-free software
through our BTS, PTS and mirror system. I don't think that we should
reject links to launchpad based on it's non-free - there might be
other, valid reasons, but Debian hasn't yet decided to remove all links
to non-free content. [1]

Marc

Footnotes: 
[1]  Not that our website would actually be free content...
-- 
Fachbegriffe der Informatik - Einfach erklärt
259: Hardwall
   Einpflegen der Filterregeln und Updates mittels Lötkolben.
   (Ulrich Eckhardt)


pgpJ9a731NDnt.pgp
Description: PGP signature


Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Joerg Jaspert
On 11399 March 1977, Marc Brockschmidt wrote:

 Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)
 Maybe because they aren't hidden in some non-free crap software?
 As long as Launchpad is non-free one shouldn't think about using or
 linking to it, Debian is about free software, build with free software,
 etc...

 Last time I checked, Debian supports the use of non-free software
 through our BTS, PTS and mirror system. I don't think that we should
 reject links to launchpad based on it's non-free - there might be
 other, valid reasons, but Debian hasn't yet decided to remove all links
 to non-free content. [1]

You know that there is a *huge* difference between actually using it
yourself or leaving others the option to use it.

-- 
bye, Joerg
AM: Whats the best way to find out if your debian/copyright is correct?
NM: Upload package into the NEW queue.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-28 Thread Marc 'HE' Brockschmidt
Joerg Jaspert [EMAIL PROTECTED] writes:
 On 11399 March 1977, Marc Brockschmidt wrote:
 Ok, but then why on the PTS I can see the patches applied in Ubuntu? :)
 Maybe because they aren't hidden in some non-free crap software?
 As long as Launchpad is non-free one shouldn't think about using or
 linking to it, Debian is about free software, build with free software,
 etc...
 Last time I checked, Debian supports the use of non-free software
 through our BTS, PTS and mirror system. I don't think that we should
 reject links to launchpad based on it's non-free - there might be
 other, valid reasons, but Debian hasn't yet decided to remove all links
 to non-free content. [1]
 You know that there is a *huge* difference between actually using it
 yourself or leaving others the option to use it.

How is placing some (publically available) information on a page forcing
everyone to use Launchpad? Those people who like Launchpad can go there
and check the actual issues, those who don't like it can easily ignore
the information (and link).

Marc
-- 
BOFH #221:
The mainframe needs to rest.  It's getting old, you know.


pgpI1Q2vQsCXi.pgp
Description: PGP signature


Bug#483179: PTS: please link to Ubuntu Launchpad bugs page

2008-05-27 Thread Lucas Nussbaum
On 27/05/08 at 18:41 +0200, Sandro Tosi wrote:
 Package: qa.debian.org
 Severity: wishlist
 
 Hi all,
 it would be useful to have the link Launchpad (Ubuntu) page for the
 package bugs reported there: for example, for reportbug, a link to[1],
 in the box Other links, or in a new one if support for external BTS
 will be added anytime soonen (but that's another story).
 
 A really plus would be to have a launchpad bugs count; I don't know how
 easy this last point can be, maybe some support from Ubuntu would be
 needed.

If only the link is available, I don't think it's useful.

I already thought of the bug count idea, and requested that a text dump
of all bugs in launchpad is made available (so we can then script
whatever we want, and provide useful info on the PTS or DDPO). But it
hasn't happened yet. See https://bugs.launchpad.net/malone/+bug/231402
for the details.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]