[Bug 597041] Re: No way to get from binary package to source package

Łukasz Zemczak 597041 at bugs.launchpad.net
Mon Mar 30 10:39:25 UTC 2015


Hi Colin!

Regarding your proposition in comment #4:
Archive.getPublishedSources(binary_name=...) would work perfectly for my
needs at least. It seems error proof and I could do the rest of
validation myself to be sure that it's the source package that I'm
actually interested in. Are there any plans on getting something like
this implemented soon? I know it's a low priority issue, but would be
nice to have something like that in the LP API. I could finally remove
those multiple hacks in all my analysis tools that do the binary ->
source conversion.

Thanks!

-- 
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:
  Triaged
Status in python-launchpadlib package in Ubuntu:
  Invalid

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