Skip to content

[FEATURE]: If UCX installed remotely on the workspace has different version than the one installed locally and we don't launch databricks labs update ucx, simply install UCX locally as the CLI #1072

@nfx

Description

@nfx

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

At the moment, we install UCX both remotely (on a workspace) and on a workstation (in ~/.databricks/labs/ucx folder on a dev machine). We don't always need to re-install the workspace installation if the version that is local equals to the version that is remote (/Applications/ucx/version.json)

Proposed Solution

  1. read the /Applications/ucx/version.json (remote config) using the WheelsV2 class
  2. compare with ProductInfo.released_version()
  3. if released_version is the same as the remotely installed version, skip the installer
  4. optionally, prompt.confirm user if they want to change the existing installation (default false)

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions