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

Include [DEFAULT] section header when writing ~/.databrickscfg #464

Merged
merged 5 commits into from
Jun 13, 2023

Commits on Jun 12, 2023

  1. Include [DEFAULT] section header when writing ~/.databrickscfg

    The ini library omits the default section header and in doing so
    breaks compatibility with Python's config parser. It raises:
    
    ```
    Error: MissingSectionHeaderError: File contains no section headers.
    ```
    
    This commit makes sure the DEFAULT section header is included.
    
    If the config file doesn't include a DEFAULT section itself,
    we include a comment describing its purpose.
    pietern committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    6482a8c View commit details
    Browse the repository at this point in the history
  2. .

    pietern committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    c3a0314 View commit details
    Browse the repository at this point in the history
  3. Update libs/databrickscfg/ops.go

    Co-authored-by: PaulCornellDB <paul.cornell@databricks.com>
    pietern and PaulCornellDB authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1a7bd46 View commit details
    Browse the repository at this point in the history
  4. Update libs/databrickscfg/ops_test.go

    Co-authored-by: PaulCornellDB <paul.cornell@databricks.com>
    pietern and PaulCornellDB authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    df414cf View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Configuration menu
    Copy the full SHA
    21717be View commit details
    Browse the repository at this point in the history