Skip to content

[FEATURE]: Allow only single UCX installation per workspace or dynamically determine it #803

@nfx

Description

@nfx

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

Multiple UCX installations per workspace cause plenty of problems

Proposed Solution

  • by default, install into /.ucx (workspace root), giving prompt.confirm("do you want to install ucx just for a user?") to install it in /Users/$currentUser.me/.ucx instead. default name of ucx database should use WorkspaceInstaller._app (username suffix) then
  • when being installed on a user level, check other installations and verify that no conflicting databases exist
  • introduce InstallationManager.current() to pick installation either from current user or workspace root

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions