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

Bug#433894: qa.debian.org: "Updating foo introduces new bugs:" links only to the first link



Hi,

On Fri, 20 Jul 2007, Paul Wise wrote:
> Package: qa.debian.org
> Severity: minor
> Tags: patch
> 
> When a package introduces new bugs to testing, the "Updating foo
> introduces new bugs:" links only link to one bug of the whole lot.
> 
> An example is here:
> 
> http://packages.qa.debian.org/p/php4-ps.html
> 
> I've attached a quick and dirty and _untested_ patch that may work. 

I'm almost sure it won't work:

  <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
    <xsl:call-template name="outputitem"/>
  </xsl:for-each>

The XSL only consider the content of <item> and you try to provide
raw text and items mixed.

> I'm > not sure it is the right approach, making all lines with links in them
> do something similar might be a better way to go so that all links in
> the update_excuses.html file are preserved on the PTS page. If that is
> wanted I can rework it.

That looks sensible. It will probably require rework of the template "outputitem"
however.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Reply to: