Changes to Launchpad's representation of Debian may break importer

Bug #865483 reported by James Westby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Ubuntu Distributed Development
Fix Committed
High
Jonathan Lange

Bug Description

The code currently does this:

    collection = lpapi.lp_call(lpapi.call_with_limited_size,
            lp.distributions['debian'].main_archive.getPublishedSources,
            status="Pending",
            created_since_date=last_published_call)

Recent changes to Launchpad's representation of Debian may mean that all Debian
publications are now "Published" (like Ubuntu), so this code may stop functioning.

Checking if this is the case, and changing the code (which should lead to a simplification)
if it is would be good.

Thanks,

James

Related branches

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 865483] [NEW] Changes to Launchpad's representation of Debian may break importer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/3/2011 6:07 PM, James Westby wrote:
> Public bug reported:
>
> The code currently does this:
>
> collection = lpapi.lp_call(lpapi.call_with_limited_size,
> lp.distributions['debian'].main_archive.getPublishedSources,
> status="Pending", created_since_date=last_published_call)
>
> Recent changes to Launchpad's representation of Debian may mean
> that all Debian publications are now "Published" (like Ubuntu), so
> this code may stop functioning.
>
> Checking if this is the case, and changing the code (which should
> lead to a simplification) if it is would be good.
>
> Thanks,
>
> James
>
> ** Affects: udd Importance: Undecided Status: New
>

 affects bzr
 importance medium
 status confirmed

I'm guessing this will also impact the resent 'is this branch
up-to-date' check I added to bzr itself.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6J4ksACgkQJdeBCYSNAAPQCgCePPUeauBK0i9FiaHtfurIyaxL
Lb4AnRfvAHEkHcBVRp0cOlkdnahAHwKc
=taQi
-----END PGP SIGNATURE-----

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

All Debian publications are now "Published", yes.

James Westby (james-w)
Changed in udd:
status: New → Triaged
importance: Undecided → High
Jonathan Lange (jml)
Changed in udd:
assignee: nobody → Jonathan Lange (jml)
status: Triaged → In Progress
Jonathan Lange (jml)
Changed in udd:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
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.