Ah yes.   "Code copying".  The single most common anti-pattern.  :-)

Thanks for the explanation.

--chris


John Rice wrote:
> Chris Quenelle wrote:
>> I was the preinception review for IPS, and I jotted down
>> some notes and questions.  Here they are in no particular order... :-)
>>
>> There was a recent problem where the GUI wouldn't
>> do the BE-creation step.  How did the architecture 
>> permit the GUI to skip the be-create step, but the 
>> cmd line did it?  Does the GUI use the same API
>> as the command line?  Was the smarts for creating BEs
>> put into the wrong place?
>>   
> Chris on the GUI side, it had to pull code from IPS to carry out the 
> functions it needed to do as no API was available at the time of release 
> of 2008.05. So as IPS continued to improve the IPS GUI did not pick up 
> changes to the functions it had duplicated.
> 
> We are are in the process of changing this so pkg(1) and IPS GUI will 
> stay in sync by using a common API to carry out a given action. So if a 
> pkg(1) action creates a BE, then the equivalent IPS GUI action will also 
> do so. By the time 2008.11 comes out hopefully this should be sorted 
> with both clients using a common API to make sure functionality works 
> across them all in the same way.
> 
> JR
> 
> 
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to