]
Jeff MAURY updated JBIDE-21307:
-------------------------------
Story Points: 8
Server Adapter: ensure oc binary that's used for rsync is
v1.1.1+
-----------------------------------------------------------------
Key: JBIDE-21307
URL:
https://issues.jboss.org/browse/JBIDE-21307
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.0.Beta1
Reporter: Andre Dietisheim
Assignee: Jeff MAURY
Labels: oc_binary, openshift_v3, server_adapter
Fix For: 4.4.0.Alpha1
Because of
https://github.com/openshift/origin/issues/6109 publishing with the server
adapter (which does a oc rsync behind the scenes) only properly works with oc v1.1.1.
Versions below require the user to manually
{code}
oc login --server=<server that we publish to> --token=...
{code}
We should check the version and warn if the user is using an oc that is older than this.
the changelog of oc in [
v1.1.1|https://github.com/openshift/origin/releases/tag/v1.1.1]
states the following refering to the issue:
{quote}
Support some of the global rsync flags on oc rsync for displaying progress information -
not supported on all rsync backends (like tar)
{quote}