[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl AptPkg bindings: no binpkg(name, ver) -> srcpkg(name, ver) mapping?



https://salsa.debian.org/bod/libapt-pkg-perl/-/commit/59ff74eb7f513fe0436087c26996dbfdfb0127cd

On Sat, 22 Nov 2025 at 05:10, Mihai Moldovan <ionic@ionic.de> wrote:
* On 11/21/25 18:47, Mihai Moldovan wrote:
> It looks like SourceVer has been part of the Record parser since 2007:
> https://salsa.debian.org/apt-team/apt/-/commit/c2f2b86252cec3a9ec68df2f55850067faa705d6
>
> I figure all that is missing would be a
> PUSH_PAIR (p, SourceVer);
>
> in
> https://salsa.debian.org/bod/libapt-pkg-perl/-/blob/master/AptPkg.xs?ref_type=heads#L1233
> .
>
> I'll have to test that.

Yep, this is doing exactly what I expected and would need.

Good to know that it's as easy as that!



Mihai

Reply to: