Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing installer not opening config file during the installation #945

Merged
merged 5 commits into from
Feb 14, 2024

Conversation

william-conti
Copy link
Contributor

Changes

self._installation.save(config) returns a local path from the workspace.
Changed the installer to build an URL that can be resolved by webbrowser.open()

Linked issues

fixes #944

Functionality

Tests

  • [X ] manually tested
  • [X ] added unit tests

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b8a0535) 87.72% compared to head (0656df1) 87.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #945      +/-   ##
==========================================
+ Coverage   87.72%   87.76%   +0.04%     
==========================================
  Files          43       43              
  Lines        5212     5213       +1     
  Branches      939      939              
==========================================
+ Hits         4572     4575       +3     
+ Misses        435      434       -1     
+ Partials      205      204       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a change to https://github.com/databrickslabs/blueprint to me, not to ucx

@nfx nfx merged commit f951aac into main Feb 14, 2024
6 of 7 checks passed
@nfx nfx deleted the fix/web_browser_open branch February 14, 2024 19:29
nfx added a commit that referenced this pull request Feb 16, 2024
* Added CLI Command `databricks labs ucx principal-prefix-access` ([#949](#949)).
* Added a widget with all jobs to track migration progress ([#940](#940)).
* Added legacy cluster types to the assessment result ([#932](#932)).
* Cleanup of install documentation ([#951](#951), [#947](#947)).
* Fixed `WorkspaceConfig` initialization for `DEBUG` notebook ([#934](#934)).
* Fixed installer not opening config file during the installation ([#945](#945)).
* Fixed groups in config file not considered for group migration job ([#943](#943)).
* Fixed bug where `tenant_id` inside secret scope is not detected ([#942](#942)).
@nfx nfx mentioned this pull request Feb 16, 2024
nfx added a commit that referenced this pull request Feb 16, 2024
* Added CLI Command `databricks labs ucx principal-prefix-access`
([#949](#949)).
* Added a widget with all jobs to track migration progress
([#940](#940)).
* Added legacy cluster types to the assessment result
([#932](#932)).
* Cleanup of install documentation
([#951](#951),
[#947](#947)).
* Fixed `WorkspaceConfig` initialization for `DEBUG` notebook
([#934](#934)).
* Fixed installer not opening config file during the installation
([#945](#945)).
* Fixed groups in config file not considered for group migration job
([#943](#943)).
* Fixed bug where `tenant_id` inside secret scope is not detected
([#942](#942)).
dmoore247 pushed a commit that referenced this pull request Mar 23, 2024
## Changes
`self._installation.save(config)` returns a local path from the
workspace.
Changed the installer to build an URL that can be resolved by
webbrowser.open()

### Linked issues
fixes #944

### Functionality 

### Tests
<!-- How is this tested? Please see the checklist below and also
describe any other relevant tests -->

- [X ] manually tested
- [X ] added unit tests
dmoore247 pushed a commit that referenced this pull request Mar 23, 2024
* Added CLI Command `databricks labs ucx principal-prefix-access`
([#949](#949)).
* Added a widget with all jobs to track migration progress
([#940](#940)).
* Added legacy cluster types to the assessment result
([#932](#932)).
* Cleanup of install documentation
([#951](#951),
[#947](#947)).
* Fixed `WorkspaceConfig` initialization for `DEBUG` notebook
([#934](#934)).
* Fixed installer not opening config file during the installation
([#945](#945)).
* Fixed groups in config file not considered for group migration job
([#943](#943)).
* Fixed bug where `tenant_id` inside secret scope is not detected
([#942](#942)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: During installation, ucx does not open config file in the browser even when prompted.
2 participants