[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
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.
"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
![GIF image](gifukB3B3ZVpv.gif)
![GIF image](gifTkscpd4e4u.gif)