databricks-cli/libs
Pieter Noordhuis 965a3fcd53
Remove dependency on ghodss/yaml (#2032)
## Changes

I noticed that #1957 took a dep on this library even though we no longer
need it. This change removes the dep and cleans up other (unused) uses
of the library. We originally relied on this library to deserialize
bundle configuration and JSON payloads to non-bundle CLI commands.

Relevant commits:
* The YAML flag was added to support apps (very early), and is not
longer used: e408b701
* First use for bundle configuration loading: e47fa619
* Switch bundle configuration loading to use `libs/dyn`: 87dd46a3

## Tests

The build works without the dependency.
2024-12-19 08:23:05 +00:00
..
auth Enable errcheck everywhere and fix or silent remaining issues (#1987) 2024-12-11 13:26:00 +01:00
cmdgroup Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
cmdio Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
databrickscfg Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
dbr Extract functionality to detect if the CLI is running on DBR (#1889) 2024-11-14 16:10:45 +00:00
diag Properly read Git metadata when running inside workspace (#1945) 2024-12-05 10:13:13 +00:00
dyn Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
env Enable errcheck everywhere and fix or silent remaining issues (#1987) 2024-12-11 13:26:00 +01:00
errs Rewrite 'interface{} -> any' (#1959) 2024-12-05 15:37:24 +00:00
exec Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
fakefs Consolidate test helpers for `io/fs` (#1906) 2024-11-15 15:37:21 +00:00
filer Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
fileset Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00
flags Remove dependency on ghodss/yaml (#2032) 2024-12-19 08:23:05 +00:00
folders Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
git Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
iamutil Move utility functions dealing with IAM to libs/iamutil (#1820) 2024-10-10 13:02:25 +00:00
jsonschema Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
locker Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
log Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
notebook Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
process Enable errcheck everywhere and fix or silent remaining issues (#1987) 2024-12-11 13:26:00 +01:00
python Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
set Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
sync Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
tags Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
template Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
terraform Move to a single prompt during bundle destroy (#1583) 2024-07-24 13:02:19 +00:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00
textutil Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
vfs Switch to `folders.FindDirWithLeaf` (#1963) 2024-12-11 09:44:22 +01:00