IDistribution.archives title text is wrong

Bug #607282 reported by James Westby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Unassigned

Bug Description

    all_distro_archives = exported(
        CollectionField(
            title=_("A sequence of the distribution's non-PPA Archives."),
            readonly=True, required=False,
            value_type=Reference(schema=Interface)),
                # Really IArchive, see _schema_circular_imports.py.

The title is wrong, it should say "A sequence of the distribution's primary, partner and debug archives"

Related branches

Curtis Hovey (sinzui)
affects: launchpad-registry → soyuz
Revision history for this message
Julian Edwards (julian-edwards) wrote :

IDistribution.getArchive(name=xxx) will return copy archives.

Changed in soyuz:
status: New → Invalid
Revision history for this message
Julian Edwards (julian-edwards) wrote :

After chatting to James, it appears he was confused because the title of the "archives" property sucks:

    all_distro_archives = exported(
        CollectionField(
            title=_("A sequence of the distribution's non-PPA Archives."),
            readonly=True, required=False,
            value_type=Reference(schema=Interface)),
                # Really IArchive, see _schema_circular_imports.py.
        exported_as='archives')

It actually doesn't return COPY archives, it only returns PRIMARY, PARTNER and DEBUG archives.

The title text should be fixed.

summary: - Copy archives not accessible from IDistribution over the API
+ IDistribution.archives title text is wrong
Changed in soyuz:
status: Invalid → Triaged
importance: Undecided → Medium
tags: added: ppa trivial
description: updated
tags: added: api
removed: ppa
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.05
status: In Progress → Fix Committed
tags: added: qa-ok
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
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.