ddev icon indicating copy to clipboard operation
ddev copied to clipboard

build: use yaml/go-yaml instead of unmaintained yaml.v3, fixes #7280

Open rfay opened this issue 5 months ago • 2 comments

The Issue

  • #7280

yaml/go-yaml seems to have reached some kind of maturity

How This PR Solves The Issue

Try it out.

Manual Testing Instructions

Look at test results. Use it. Tests should tell us everything.

Automated Testing Overview

Release/Deployment Notes

rfay avatar Jun 15 '25 14:06 rfay

Updated mergo to lose its dependency.

The traditional module is still required by stretchr/testify, which is used in testcommon tests (assert)

$ go mod why gopkg.in/yaml.v3
# gopkg.in/yaml.v3
github.com/ddev/ddev/pkg/testcommon
github.com/stretchr/testify/assert
github.com/stretchr/testify/assert/yaml
gopkg.in/yaml.v3
  • https://github.com/stretchr/testify/issues/1724

rfay avatar Jun 15 '25 18:06 rfay