Re: Source field in binary Packages list
On Sat, Aug 30, 2008 at 07:13:50PM -0300, Thadeu Lima de Souza Cascardo <email@example.com> was heard to say:
> On Sat, Aug 30, 2008 at 03:21:36PM -0500, Raphael Geissert wrote:
> > Thadeu Lima de Souza Cascardo wrote:
> > > Hello,
> > >
> > > I am working on a grouping feature for aptitude, to group binary
> > > packages by their source package. However, some packages in the Packages
> > > file do not have a Source field. My guess was to use the package name as
> > > the source package name. Is this right?
> > Yup
> > >
> > > Thanks,
> > > Thadeu Cascardo.
> Thanks again!
> For those interested, I've submitted the patches to the BTS as bugs
> 497205 and 497206. Note that 497205 should break libapt-pkg ABI, so take
> care. :-)
Why do you need #497205? Is it too slow to just use SourcePkg() in
the package records object?