Skip to content

Rename bricks to databricks#721

Merged
fjakobs merged 1 commit intomainfrom
databricks-cli
May 23, 2023
Merged

Rename bricks to databricks#721
fjakobs merged 1 commit intomainfrom
databricks-cli

Conversation

@fjakobs
Copy link
Copy Markdown
Contributor

@fjakobs fjakobs commented May 19, 2023

Changes

Rename CLI from bricks to databricks

Testing

  • manually tested AWS OAuth
  • manually tested sync

@fjakobs fjakobs requested review from nfx and pietern May 19, 2023 15:15
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:15 — with GitHub Actions Inactive
| "azure-cli"
| "google-id"
| "metadata-service"
| "bricks-cli";
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@nfx @pietern we need to make this change consistently. How did you name it in go?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not done yet, should be databricks-cli, and we check for os.Stat of the binary to be >= 1 meg.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you revert just the auth type name? Then we unblock merging this and we do it in a patch bump.

Copy link
Copy Markdown
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

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

Looks straightforward

| "azure-cli"
| "google-id"
| "metadata-service"
| "bricks-cli";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not done yet, should be databricks-cli, and we check for os.Stat of the binary to be >= 1 meg.

} catch (e) {
throw new ConfigError(
`bricks-cli: cannot unmarshal Bricks CLI result: ${e}`,
`databricks-cli: cannot unmarshal Bricks CLI result: ${e}`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remaining

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Still remaining in message.

@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:23 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 19, 2023 15:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:16 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:16 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 22, 2023 12:56 — with GitHub Actions Inactive
fjakobs added a commit to databricks/cli that referenced this pull request May 22, 2023
## Changes
related to databricks/databricks-vscode#721

## Rename env vars

`BRICKS_CLI_PATH` -> `DATABRICKS_CLI_PATH`
`BRICKS_OUTPUT_FORMAT` -> `DATABRICKS_OUTPUT_FORMAT`
`BRICKS_LOG_FILE` -> `DATABRICKS_LOG_FILE`
`BRICKS_LOG_LEVEL` -> `DATABRICKS_LOG_LEVEL`
`BRICKS_LOG_FORMAT` -> `DATABRICKS_LOG_FORMAT`
`BRICKS_PROGRESS_FORMAT` -> `DATABRICKS_CLI_PROGRESS_FORMAT`
`BRICKS_UPSTREAM` -> `DATABRICKS_CLI_UPSTREAM`
`BRICKS_UPSTREAM_VERSION` -> `DATABRICKS_CLI_UPSTREAM_VERSION`
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 11:26 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 12:27 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 12:27 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 12:27 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 12:27 — with GitHub Actions Inactive
@fjakobs fjakobs temporarily deployed to azure-prod-usr May 23, 2023 12:27 — with GitHub Actions Inactive
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 23, 2023

Codecov Report

Merging #721 (bdfa66e) into main (d1dc9f8) will decrease coverage by 0.57%.
The diff coverage is 52.63%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #721      +/-   ##
==========================================
- Coverage   82.47%   81.90%   -0.57%     
==========================================
  Files          40       40              
  Lines        1478     1487       +9     
  Branches      290      294       +4     
==========================================
- Hits         1219     1218       -1     
- Misses        259      269      +10     
Flag Coverage Δ
integration 64.02% <26.31%> (-0.46%) ⬇️
unit 66.17% <52.63%> (-0.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
js-sdk 81.90% <52.63%> (-0.57%) ⬇️

@github-actions github-actions bot mentioned this pull request Jun 2, 2023
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.

4 participants