[elbe-devel] Elbe ignores Built-Using fields

Olivier Dion dion at linutronix.de
Mon May 4 20:20:00 CEST 2020


On Thu, 02 Apr 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:

> I have looked around. But i was unable to find this info in python-apt.
> We probably have to dig deeper, to find out, how we can obtain
> this information.
>
> here is a hint:
>
> https://apt-team.pages.debian.net/python-apt/library/apt_pkg.html#apt_pkg.TagFile
>
> the example points at the right file.
> -----------------------------------------------------------------------
> with apt_pkg.TagFile('/var/lib/dpkg/status') as tagfile:
>     for section in tagfile:
>             print(section['Package'])
> -----------------------------------------------------------------------
>
> section['Built-Using'] should point to the right field.
>
> This is pretty manual. and doesnt have locking, etc.
> So i am not very happy with this interface. But its a start.

What does this imply?  Also, should these source packages be added in
the main component?

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen



More information about the elbe-devel mailing list