databricks-cli/bundle/artifacts
Denis Bilenko 54e16d5f62
Always print warnings and errors; clean up format (#2213)
## Changes
- Print warnings and errors by default.
- Fix ErrAlreadyPrinted not to be logged at Error level.
- Format log messages as "Warn: message" instead of "WARN" to make it
more readable and in-line with the rest of the output.
- Only print attributes (pid, mutator, etc) and time when the overall
level is debug (so --debug output has not changed much).

## Tests
- Existing acceptance tests show how warning messages appear in various
test case.
- Added new test for `--debug` output.
- Add sort_lines.py helper to avoid dependency on 'sort' which is
locale-sensitive.
2025-02-07 11:29:40 +00:00
..
whl Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
all.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
artifacts.go Upload local libraries even if they don't have artifact defined (#1664) 2024-08-14 09:03:44 +00:00
autodetect.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
build.go Fix glob expansion after running a generic build command (#1662) 2024-08-07 14:47:03 +00:00
expand_globs.go Fix lost diags across different mutators (#2057) 2024-12-31 14:01:45 +00:00
expand_globs_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
infer.go Return `diag.Diagnostics` from mutators (#1305) 2024-03-25 14:18:47 +00:00
prepare.go Rename `RootPath` -> `BundleRootPath` (#1792) 2024-09-27 10:03:05 +00:00
upload.go Always print warnings and errors; clean up format (#2213) 2025-02-07 11:29:40 +00:00