[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] provplan does not check availability of artifacts?

Thanks Pascal! :)
So, should I file a bugzilla to get this new behaviour into 3.6?
I would be willing to contribute, at least with a use case and API I'd
like to use?
HTH,
Ciao, hh 

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Pascal Rapicault
Sent: Tuesday, February 02, 2010 7:35 PM
To: P2 developer discussions
Cc: P2 developer discussions; p2-dev-bounces@xxxxxxxxxxx
Subject: Re: [p2-dev] provplan does not check availability of artifacts?

The planner is only about dependency resolution.
We perform a check similar to what you need in the Sizing phase. I don't
think it returns an error code when artifacts can't be found, but this
could easily be fixed and rolled out directly in p2.


Inactive hide details for "Haigermoser, Helmut" ---02/02/2010 01:22:51
PM---Ciao Experts! :)"Haigermoser, Helmut" ---02/02/2010 01:22:51
PM---Ciao Experts! :)



From:	
"Haigermoser, Helmut" <Helmut.Haigermoser@xxxxxxxxxxxxx>	

To:	
"P2 developer discussions" <p2-dev@xxxxxxxxxxx>	

Date:	
02/02/2010 01:22 PM	

Subject:	
[p2-dev] provplan does not check availability of artifacts?	
________________________________




Ciao Experts! :)
I was just trying to write some pre-install verification code and was
surprised to find out that even if no artifact repo was present my
IPlanner.getProvPlan method would return IStatus.isOK() == true.

Maybe I'm doing something wrong here, or am I using the wrong methods to
check for something like this?

My use case is that I want to evaluate the available IUs + artifacts for
"sanity", especially in regards of whether or not all artifact(key)s
needed can actually be found. Is this a workflow you guys do support, or
one you would like to get a contribution for?

Thanks for your insights! :)
HTH,
Ciao, hh

everyone's first vi session:
^C^C^X^X^X^XquitqQ!qdammit[esc]qwertyuiopasdfghjkl;:xwhat
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev