Re: Bug#111654: Bug#113657: aptitude: Support tasks
On Wed, 26 Sep 2001, Daniel Burrows wrote:
> If I have some extra free time, I may try to hack this into apt. It
> doesn't seem like it should be hard, but I remember having some sort of
> trouble. And if this will break backwards compatibility (it'd probably
Well, I'd say, for now it is probably OK to use the GetRec function and
pass that to a tag parser.
Something like
const char *Start;
const char *End;
pkgTagSection Sec;
Rec.GetRec(Start,End);
Sec.Scan(Start,End - Start);
Sec.Find("Tasks",Start,Enn);
debListParser::ParseDepends(....);
I'm not really sure what to do with the task lists, I wonder if they
should be cached? That would be a 3 line binary compatible change..
Jason
Reply to: