testify icon indicating copy to clipboard operation
testify copied to clipboard

Replace Apache 2.0 licensed gopkg.in/yaml.v3 with MIT licensed github.com/goccy/go-yaml

Open Al2Klimov opened this issue 2 years ago • 2 comments

... to be compatible with GPLv2 applications.

Al2Klimov avatar Oct 12 '21 12:10 Al2Klimov

We at @Icinga are developing applications under GPLv2. Unfortunately due to its viral copyleft nature it's not compatible with the Apache 2.0 license. And even more unfortunately at the moment your MIT licensed lib depends on the Apache 2.0 licensed gopkg.in/yaml.v3 which makes it unusable for us (Icinga/icingadb#381). This PR shall fix that... mostly. Now there are only permissively licensed non-golang.org/x deps ex. gopkg.in/yaml.v2 (go mod graph |cut -d ' ' -f 2- |cut -d @ -f 1 |cut -d / -f 1-3 |sort -u). That is only required by github.com/stretchr/[email protected] (go mod graph |grep -Fwe gopkg.in/yaml.v2) which is only required by github.com/leodido/[email protected] (go mod graph |grep -Fwe github.com/stretchr/[email protected]). Only after yet another release of this lib I can continue with fixing github.com/leodido/go-urn, etc. and make another PR for you which removes the gopkg.in/yaml.v2 dep.

Al2Klimov avatar Oct 12 '21 12:10 Al2Klimov

Now with goccy/go-yaml#260 it should be feature-equivalent.

Al2Klimov avatar Jan 12 '22 11:01 Al2Klimov