Vassun, >>I can do this for you. Actually I am doing this for you printing out at the >>end >>of patchadd all results. Here I just extract states of the patches I collect >>during dependency check >> >>PDO_PATCHES_ALREADY_INSTALLED ... >>PDO_REQUIRED_PATCH_HAS_NO_PACKAGES, >> >>And all this is print out to standard output during patchadd.
The list looks ok for our purposes. >>In pdo.c it is all collected in special structure and attached to patch so I >>can do any kind of summaries, any kind of "select" requests etc. I actually >>thinking of printing it out in some kind of XML and let 3rd party tool do all >>this selects and summaries. Also they can alarm sysadmin if needed... Please make the XML output optional - the normal tools in scripts to parse command output are still grep, awk, etc. And I do not know of a usable solution to parse XML output from within a kornshell script. >>I may do any type of output for you. I have all information and really >>confused on how to print it out. So I think we may discuss this here and >>came up with something which satisfy most of you. Maybe patchadd can use a configuration file for selecting the desired output. >>Clearly patchadd now doing what your scripts doing. And honestly you have >>your scripts only because patchadd did not have real multipatching - you >>have to compensate lack of development support from us. True, but please keep always in mind that even if patchadd can now (or in the future) do the tasks our scripts do we still will call it from within a script. >>I get used to participate different web forums and think that this is best >>Internet instrument which combine wed server and mail discussions together. >>I will not do webserver - until I give up some of recursive installation. >>So this threads are best way for me and I will keep everything here as a >>single entry point. IMHO the forum is okay to collect the information. But after the patchadd internal documentation is complete I would also like to see a aggregation on one of Suns web pages (for example bigadmin). regards Bernd This message posted from opensolaris.org
