Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] [prov] Ruminations on IDirector vs. ProvisioningHelper-like entity


Yes, the "oracle" thing is what I need, and it is very high level, not the details of operands or anything like that....

I think what I (as the UI developer) want to know is:
- which IU's will be installed/updated/removed

from which I can derive/compute/guess :

- how much space do I need
- how long might it take?

What I report to the user will depend on the type of user.  Developer/users may want to see the info as is, but I think many users just want to know:

- is this a big deal?
- will this take long?
- can my computer handle this?

I would expect the UI code would figure out how/when/if to communicate this info to an end user.

susan


Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

08/14/2007 02:19 PM
Please respond to Equinox development mailing list

       
        To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
        cc:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>, equinox-dev-bounces@xxxxxxxxxxx
        Subject:        Re: [equinox-dev] [prov] Ruminations on IDirector vs.        ProvisioningHelper-like entity



Susan,

It seems to me that what you are after if some kind of "oracle" who given a
profile, a bunch of IUs selected by the user, and repos would be able to
tell which IU can be added to the profile.
Unfortunately the "oracle" is not implemented. but something could probably
be done quickly based on the code available in the director.

Also would you want to show to the end user what will happen?

PaScaL




                                                                         
            Susan M Franklin                                              
            <susan_franklin@u                                            
            s.ibm.com>                                                 To
            Sent by:                  Equinox development mailing list    
            equinox-dev-bounc         <equinox-dev@xxxxxxxxxxx>          
            es@xxxxxxxxxxx                                             cc
                                                                         
                                                                  Subject
            08/14/2007 03:46          Re: [equinox-dev] [prov]            
            PM                        Ruminations on IDirector vs.        
                                      ProvisioningHelper-like entity      
                                                                         
            Please respond to                                            
                 Equinox                                                  
               development                                                
              mailing list                                                
            <equinox-dev@ecli                                            
                pse.org>                                                  
                                                                         
                                                                         





Tim,
I have the same concerns/questions as you pose here, you are just a day or
so ahead of me....I am beginning to work on the UI that follows more of an
update manager workflow in Eclipse.  The admin UI in M1 forced you to
locate the IU you wanted and then select a profile.  The more typical use
case, where you are looking to install/update from your profile, is my next
task.  I've had the same low level concern (but had not yet investigated
the code thoroughly) that you have to ask the code to do something before
you can know what will be done.  I was wondering if the fact that you get
pre and post notification events was going to help me, but I don't think it
will.

So I'm hoping Pascal or someone can elaborate on this issue, as I'm about
to face it myself and will have more to contribute to this conversation in
a day or so....

>Currently the IDirector interface has two methods : install and uninstall.
In looking through the code of ProvisioningHelper and IDirector
(SimpleDirector) I'm not sure as to the right way to >describe to the user
the series of operations that would be performed in installing software X
prior to actually initiating the installation.  I could duplicate similar
code to what is found in >SimpleDirector using the ProfileInstallRegistry
and DependencyExpander to determine what would be required

susan_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top