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

Re: wb brokenness



+ Wouter Verhelst (Wed, 22 Jul 2009 17:34:38 +0200):

> There's a pretty important feature in wanna-build, called
> '--pretend-avail', which is meant to fix up broken build-deps. The only
> other option (that I'm aware of) to remove an incorrect build-dependency
> in the wanna-build db, is to use '--forget' to remove the package from
> the database and then to wait until it is repopulated, but this *will*
> cause data loss. Since I am one of those weirdos who actually likes his
> data, I would like to see that this is not used unless absolutely
> necessary -- if I, for instance, mark a package as 'failed; triggers
> ICE', I may want to not retry the package unless I believe there is a
> reasonable chance that the ICE is fixed, or the wanna-build queue is not
> too long, or something similar. This information, however, is thrown
> away when the --forget option is used. Hence the importance of the
> --pretend-avail option to wanna-build.

Joys of DebConf, this was solved in a short face-to-face talk.

I explained to Wouter we're not using --forget for this purpose at all,
but `give-back -o` instead. We agreed that give-back -o is the correct
command for some cases (eg., a package wrongly build-depending on a
pkg/version that'll eventually become available), and --pretend-avail
for some others (eg., bogus package names introduced in w-b en-masse).

So, unless somebody objects, pretend-avail should be added to the "wb"
wrapper, for those cases when it's useful to have around. Despite it
being of course available via the "wanna-build" binary, it'd be a good
addition to the language of "wb".

I'll try to get it done in the next days, if anybody feels like helping,
please feel free to poke.

Cheers,

-- 
- Are you sure we're good?
- Always.
        -- Rory and Lorelai


Reply to: