[Aptitude-devel] Bug#677551: Let's get rid of libept

Daniel Hartwig mandyke at gmail.com
Fri Jun 15 05:41:17 BST 2012


On 15 June 2012 02:33, Enrico Zini <enrico at debian.org> wrote:
> aptitude doesn't need libept for much, and I'd love it if its dependency tree
> were simplified by getting rid of it. See also #540218.
>
> I reviewed aptitude's use of libept and I'm suggesting alternate
> implementations, but I regret I'm not in a position at the moment to also take
> care of patching and testing aptitude.

> In src/generic/apt/tags.h and src/generic/apt/tags.cc one can just get rid of
> libept without loss of functionality: ept::debtags::Tag is already typedef to
> std::string in libept. Just getting rid of the libept branches of #ifdefs
> should do the trick.

Hello

Although relatively simple, it is still nice to have a common debtags
parser rather than each program implementing it's own.  Are there
migration plans for this?  In principal I do like the idea of libept
being an extension to the apt database.

Either way, it will be no problem to test and update aptitude's
internal parser to remove libept for the next release.

Regards





More information about the Aptitude-devel mailing list