]
Max Rydahl Andersen commented on JBIDE-20763:
---------------------------------------------
that or wrap oc in a p2 installable unit and download it when need be.
btw. a side issue for this is how we ensure 'oc's 'api' that we rely on
won't change or how we handle mulitple versions of it. is oc's api
well-defined/guaranteed like the client api ?
Provide 'oc' binaries per platform
----------------------------------
Key: JBIDE-20763
URL:
https://issues.jboss.org/browse/JBIDE-20763
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.3.0.CR1
Reporter: Fred Bricon
Instead of forcing the user to search, download and install the 'oc' library
manually before being able to use port forwarding or log streaming, the platform-related
binary could be installed automatically.
Possible implementation:
- define the oc binary URLs in stacks.yaml
- on openshift 3 plugin startup, check if oc binary is set in preferences
- if not set trigger background job to d/l oc binary matching current platform, and
update preferences, else, do nothing.
[~maxandersen] does it correspond to what you had in mind?