On Thu, 26 Mar 2009 19:09:17 +0100 Donnie Berkholz <dberkh...@gentoo.org> wrote: > I like dosed because I've used it many times for the $D-removing > feature. If there was (is?) an automatic filter at install-time that > scanned files to remove $D references, that would work for me instead.
The fix is to write code that does exactly what you need, rather than relying upon weird voodoo. > > I think you're misunderstanding what this is for. It's to allow > > packages to work out whether they're upgrading / downgrading / > > reinstalling / whatever, since Zac broke the devmanual-documented > > and PMS-required way of doing it using has_version and refuses to > > revert it. > > Ah, I see. This is the first I'd heard about this anywhere (the > problem or the proposal). So running has_version in setup/preinst and > again in postinst doesn't do what you'd want anymore? They don't do what the devmanual says they do these days, yes. Zac decided to change the version order code a while ago without telling anyone, and without an EAPI bump. After he was told it broke a load of ebuilds (and devmanual-described things), which he didn't know about before he implemented the changes, he went and fixed some, but probably not all, things relying upon it in a big commit spree... -- Ciaran McCreesh
signature.asc
Description: PGP signature