PPA with no packages says "No matching package for ''."

Bug #513085 reported by Matthew Paul Thomas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Thiago F. Pappacena

Bug Description

At the time of writing, <https://edge.launchpad.net/~adiroiban/+archive/lucruri> and <https://edge.launchpad.net/~adiroiban/+archive/lucruri/+packages> both say:

    No matching package for ''.

If there is no package search string, the result text shouldn't be written as if there is.

Related branches

Revision history for this message
Julian Edwards (julian-edwards) wrote :

I have a strange feeling there's a dupe of this somewhere but I can't find it.

Changed in soyuz:
status: New → Triaged
importance: Undecided → Low
tags: added: trivial ui
Revision history for this message
Vikram Dhillon (dhillon-v10) wrote :

In this case it makes sense to just include something like this: No packages present in this archive. So that's a little string change, will work on it. Thanks.

Changed in soyuz:
assignee: nobody → Vikram Dhillon (dhillon-v10)
Revision history for this message
Vikram Dhillon (dhillon-v10) wrote :

Well, almost like a string change, you just have to add a condition something like: if self.owner.archive is None: print "No packages ..." something along those lines.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Not quite :)

The template needs to see if there are any published packages using IArchive.getPublishedSources() and then change the message if so, to something like "No packages published yet"

William Grant (wgrant)
Changed in launchpad:
assignee: Vikram Dhillon (dhillon-v10) → nobody
Revision history for this message
Thiago F. Pappacena (pappacena) wrote :

I could not reproduce the issue.

- If the PPA has no packages at all, it shows a help message on how to use dput to upload packages
- If there are packages and you search without insert anything on the search field, all packages are shown.

I could only see "No matching package for ''." if I search for empty spaces, and in this case I think the message is coherent.

Revision history for this message
Colin Watson (cjwatson) wrote :

Thiago, you can see the message on https://launchpad.net/~cjwatson/+archive/ubuntu/grub (or https://launchpad.net/~cjwatson/+archive/ubuntu/grub/+packages). Yes, you do see the help message you mention, but the odd "No matching package for ''" message shows up under "Overview of published packages" without needing to search for anything.

Changed in launchpad:
status: Triaged → In Progress
Colin Watson (cjwatson)
Changed in launchpad:
assignee: nobody → Thiago F. Pappacena (pappacena)
status: In Progress → Fix Committed
Colin Watson (cjwatson)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.