Commit e9f4b3d
authored
[AGENTRUN-1073] Replace gopkg.in/yaml with go.yaml.in/yaml (#46742)
### What does this PR do?
Replace `gopkg.in/yaml` with `go.yaml.in/yaml`, for the v2 and v3.
Also bumps our viper fork to remove an extra import of the archived yaml lib.
### Motivation
`gopkg.in/yaml` has been archived for a long time, `go.yaml.in/yaml` is a maintained fork. The major versions are equivalent.
I'm hoping this will help reduce the size increase from bumping `dd-trace-go` to v2 (#46016).
### Describe how you validated your changes
CI
### Additional Notes
We keep using the same major version (which are not quite compatible), so no risk of breaking change.
I might look into replacing v2 with v3 but I remember there were some incompatibilities.
Co-authored-by: pierre.gimalac <pierre.gimalac@datadoghq.com>1 parent f42450a commit e9f4b3d
File tree
443 files changed
+1001
-832
lines changed- cmd
- agent/common
- otel-agent/subcommands/flare
- secret-generic-connector/backend/file
- system-probe/subcommands/usm
- trace-agent/test
- comp
- checks
- agentcrashdetect/agentcrashdetectimpl
- windowseventlog/windowseventlogimpl/check
- eventdatafilter
- winregistry/impl
- collector/collector/collectorimpl
- core
- agenttelemetry
- def
- fx
- impl
- autodiscovery
- integration
- providers
- datastreams
- configsync
- config
- delegatedauth
- api/cloudauth/aws
- gui/guiimpl
- hostname/hostnameinterface
- ipc
- httphelpers
- impl
- mock
- log
- def
- fx
- impl-trace
- impl
- mock
- secrets
- fx
- impl
- mock
- utils
- settings/settingsimpl
- status
- statusimpl
- tagger
- def
- fx-remote
- generic_store
- impl-remote
- origindetection
- subscriber
- types
- utils
- telemetry
- def
- forwarder
- defaultforwarder
- orchestrator/orchestratorinterface
- host-profiler/collector/impl/converters
- logs-library
- logs/agent/config
- metadata
- clusteragent/impl
- inventoryagent/inventoryagentimpl
- inventorychecks/inventorychecksimpl
- securityagent/impl
- systemprobe/impl
- otelcol
- collector-contrib
- def
- impl
- converter/impl
- ddflareextension/impl
- ddprofilingextension/impl
- logsagentpipeline
- logsagentpipelineimpl
- otlp
- components
- exporter
- datadogexporter
- logsagentexporter
- serializerexporter
- metricsclient
- processor/infraattributesprocessor
- internal/configutils
- testutil
- status/impl
- serializer
- logscompression
- metricscompression
- snmptraps/oidresolver/oidresolverimpl
- trace/config
- deps
- internal/tools
- modparser
- worksynchronizer
- pkg
- aggregator/ckey
- api
- cli/subcommands
- check
- workloadfilter
- clusteragent/clusterchecks
- collector
- check
- corechecks
- agentprofiling
- cluster
- helm
- ksm
- kubernetesapiserver
- orchestrator
- processors/k8s
- containerimage
- containerlifecycle
- containers
- containerd
- cri
- docker
- generic
- kubelet/common
- ebpf
- noisyneighbor
- oomkill
- tcpqueuelength
- embed
- apm
- process
- network-devices
- cisco-sdwan
- versa
- networkpath
- net
- networkv2
- network
- ntp
- nvidia/jetson
- oracle
- config
- sbom
- snmp/internal
- checkconfig
- profile
- report
- systemd
- system
- cpu/cpu
- disk
- diskv2
- disk
- io
- memory
- wincrashdetect
- windowscertificate
- winkmem
- python
- compliance
- dbconfig
- k8sconfig
- config
- basic
- create
- env
- helper
- legacy
- mock
- nodetreemodel
- remote
- setup
- structure
- teeconfig
- utils
- viperconfig
- discovery/usm
- dyninst
- actuator
- irprinter
- testprogs
- progs
- uploader
- errors
- flare
- clusteragent
- common
- fleet/installer
- commands
- config
- installinfo
- packages
- apminject
- setup/config
- gohai
- jmxfetch
- logs
- client
- diagnostic
- message
- metrics
- pipeline
- processor
- schedulers/ad
- sender
- sources
- status/utils
- util/testutils
- metrics
- networkconfigmanagement
- config
- profile
- networkdevice/profile
- profiledefinition
- normalize_cmd/cmd
- networkpath/payload
- network/driver
- obfuscate
- opentelemetry-mapping-go
- inframetadata
- gohai/internal/gohaitest
- otlp
- attributes
- logs
- metrics
- rum
- orchestrator
- model
- util
- privateactionrunner/bundles/script
- process
- metadata/parser/java
- util/api
- proto
- remoteconfig/state
- security
- probe
- secl
- rules
- tests
- serializer
- snmp
- snmpintegration
- snmpparse
- ssi/testutils
- status/health
- tagset
- telemetry
- trace
- log
- otel
- stats
- traceutil
- util
- aws/creds
- backoff
- buf
- cache
- cgroups
- common
- compression
- containers/image
- defaultpaths
- executable
- filesystem
- flavor
- fxutil
- grpc
- hostinfo
- hostname/validate
- http
- installinfo
- jsonquery
- json
- kubernetes/apiserver/common/namespace
- log
- setup
- option
- otel
- prometheus
- quantile
- sketchtest
- scrubber
- sort
- startstop
- statstracker
- system
- testutil
- flake
- tmplvar
- utilizationtracker
- uuid
- winutil
- version
- rtloader/test
- datadog_agent
- kubeutil
- rtloader
- util
- tasks/unit_tests/testdata/go_mod_formatter
- invalid_package
- valid_package
- test
- e2e-framework
- common/utils
- components
- datadog
- agent
- kubernetesagentparams
- operator
- kubernetes/cilium
- testing/runner/parameters
- fakeintake
- new-e2e
- tests
- agent-configuration/config-refresh
- agent-metric-pipelines/jmxfetch
- agent-platform/common
- agent-subcommands/config
- containers
- cws/config
- installer
- script
- unix
- windows
- remote-host-assertions
- suites
- apm-inject-package
- install-exe
- orchestrator
- otel/utils
- windows/install-test
- otel
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
443 files changed
+1001
-832
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments