--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: PTS: versions section will only have a single link even if multiple versions are waiting in the NEW queue
- From: "Hans Joachim Desserud" <debian@desserud.org>
- Date: Mon, 07 Jan 2013 15:03:00 +0100
- Message-id: <E1TsDI4-0000A6-8B@webmail01.domeneshop.no>
Package: qa.debian.org
On the left side of the PTS, all packages have a list of which versions are
available in different releases (stable, testing, unstable, etc.). Each of
these have a link to the version of the package included in that release.
However, in the case of the NEW queue, a package can have multiple new versions
waiting to be uploaded, though it will still only list a single link. In the
case of multiple versions waiting, this link will not be working.
For instance, the clang package [1], currently renders the following HTML at
the bottom of versions:
<dt title="waiting in the NEW queue for FTP master review">
<a href="http://ftp-master.debian.org/new.html">NEW</a>
</dt>
<dd>
<a href="http://ftp-master.debian.org/new/clang_3.2-1~exp2 3.2-1~exp3.html">3.2-1~exp2 3.2-1~exp3</a>
</dd>
The anchor lists the value of two separate versions, 3.2-1~exp2 and 3.2-1~exp3.
However, they are concatinated in the href attribute which breaks the url.
Tweaking it to http://ftp-master.debian.org/new/clang_3.2-1~exp2.html or
http://ftp-master.debian.org/new/clang_3.2-1~exp3.html works as expected.
My guess is that only a single version number is expected and is inserted into
the url and the text presented to the user. However, since NEW can contain
multiple versions (as opposed to what releases would), it might make more sense
to treat this as a list and generate separate links for each version.
Best regards,
Hans Joachim Desserud
PS. I realized this issue would likely only be visible on the clang page for a
short period of time, so I included the HTML which demonstrates it.
[1] http://packages.qa.debian.org/c/clang.html
--- End Message ---