Kent Fredric wrote: > On 7/8/07, Mike Frysinger <[EMAIL PROTECTED]> wrote: >> often times when i get a bug report about certain packages, there's >> information about that package that i usually ask for ... i wonder if >> this can be automated
>> > pkg_getinfo(){ >> > if [[ installed ]]; then >> > someSelfCheck; >> > someSelfCheck; >> > echo someversionNumberStuff; >> > fi >> > someBasicSystemCheckRequiredForPkgToWork(); >> > if [[ someCondition ]]; then >> > get_info( some-cat/d-lib ); # its not on the dep list, but we >> > want >> > to check its info status as part of /our/ info status. >> > fi >> > } >> Sorry to have skipped the rest of this fascinating discussion, but all I want to know is does the above fulfil the original criteria? I'm guessing it does, since the pkgInfo() function ``trumped it all." >> > The basic concept of 'check' was >> > 'this will work even if the package aint installed yet' and info was >> > 'for working but bust packages only', but that can be superceded with >> > a CHECKLIST and a conditional driven INFO function. >> hmm sounds a bit complex to me. "Abstract designs are simple." <tuomov> But hey, there appear to be loads of 3 line functions all over the shop.. >> the claim i'm making is that there generally isnt any code/checks worth >> adding to ebuilds that would be useful for the purpose of an ebuild I think the intent was for the maintainer to decide what to put there? >> diagnosing >> itself to determine whether it is broken and how it is broken. we just >> dont have a language yet to properly describe the process of diagnosing >> and fixing >> oneself. a fun thesis for an AI doctorate :p Er no a fun project for a noob programmer in a VVHLL. An interesting project would be to make a semantic map of all the terms you guys have finally settled on for the portage API, and then tie that into linguistic analysis (and perhaps even consider i18n for portCore?) all that other stuff you were thinking of, yadda yadda. Have you got a PhD yet? ;P /me runs to pub Er ofc it's not my trademark... *sheesh*. But I'll claim it if you lot don't hurry up. -- [EMAIL PROTECTED] mailing list