[Bug 597041] Re: No way to get from binary package to source package
Colin Watson
cjwatson at canonical.com
Thu Apr 2 10:55:17 UTC 2015
I've changed my position on this a little: auto-sync in practice copes
most of the time, and most users only need a way to get to a single
corresponding SPPH, so I think it's better to just introduce
BPPH.getPublishedSource() rather than complicating things for a rare
corner case.
It looks like I need this as part of the ddeb-retriever work I'm doing
at the moment (or, at least, it's probably going to be rather
complicated and slow to work around not having this), so I'll take it.
** Changed in: launchpad
Status: Triaged => In Progress
** Changed in: launchpad
Assignee: (unassigned) => Colin Watson (cjwatson)
** No longer affects: python-launchpadlib (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-launchpadlib in Ubuntu.
https://bugs.launchpad.net/bugs/597041
Title:
No way to get from binary package to source package
Status in Launchpad itself:
In Progress
Bug description:
Binary package hint: python-launchpadlib
This is basically the same bug as bug #53171, but for the Launchpad
API:
There should be a way to either determine the "source_package" object
or the "source_package_publishing_history" object when having a
"binary_package_publishing_history" object.
One could (for example) parse the launchpad page
https://launchpad.net/ubuntu/maverick/i386/libgtk2.0-0 for the link to
https://launchpad.net/ubuntu/+source/gtk+2.0 or run "dpkg-query -W
-f='${Source}' libgtk2.0-0", but a API call would be very handy.
Some attribute like "source_package_name" would also suffice, but
"getSourcePackage()" or "getSourcePackagePublishingHistory()" would be
really great.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-launchpadlib 1.6.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-4.5-generic 2.6.35-rc3
Uname: Linux 2.6.35-4-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Jun 21 23:20:44 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100602.2)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: python-launchpadlib
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/597041/+subscriptions
More information about the foundations-bugs
mailing list