trying to syncSource from Debian to PPA returns "Cannot copy to an unsupported distribution: debian."

Bug #451159 reported by Colin Watson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Jelmer Vernooij

Bug Description

>>> ppa = launchpad.me.ppas[2]
>>> debian = launchpad.distributions['debian'].main_archive
>>> try:
... ppa.syncSource(from_archive=debian, include_binaries=False, source_name='webkit', to_pocket='Release', to_series='karmic', version='1.1.15.2-1')
... except launchpadlib.errors.HTTPError, e:
... print e.content
...
webkit 1.1.15.2-1 in sid (Cannot copy to an unsupported distribution: debian.)

The error message is clearly wrong; I'm not trying to copy *to* Debian, but *from* it. This is a useful operation because it permits easy testing whether a Debian upload fixes a bug when built for Ubuntu (in fact, that's exactly what I'm trying to do; the Ubuntu delta currently in the archive has been merged back to Debian and can be discarded).

Bug 320398 seems related, but claims that this only happens when you don't specify the series. However, note that in the code above I *am* specifying the series. Please note that I'm trying to copy to a series which should be published in my PPA, so this shouldn't suffer from issues such as that in bug 386693 where source is copied but will never be published.

Tags: api lp-soyuz

Related branches

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

Right, that error message is crack, it's only triggered when copying between distros which was the change put in to fix bug 386693.

Do you think it would be better to fix that by ensuring that a valid destination series is always present?

Changed in soyuz:
status: New → Triaged
importance: Undecided → Medium
tags: added: ppa
tags: added: api
removed: ppa
Revision history for this message
Julian Edwards (julian-edwards) wrote :

In fact fixing bug 320398 will implicitly fix this one.

Changed in soyuz:
assignee: nobody → Michael Nelson (michael.nelson)
milestone: none → 3.1.10
Changed in soyuz:
milestone: 3.1.10 → 3.1.11
Changed in soyuz:
milestone: 3.1.11 → 3.1.12
assignee: Michael Nelson (michael.nelson) → Julian Edwards (julian-edwards)
Changed in soyuz:
assignee: Julian Edwards (julian-edwards) → Jelmer Vernooij (jelmer)
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in soyuz:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in soyuz:
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.