docker / libcompose

*Unmaintained/Deprecated* An experimental go library providing Compose-like functionality
https://godoc.org/github.com/docker/libcompose
Apache License 2.0
586 stars 191 forks source link

'hack' contains two packages in the same directory - breaking some tools #499

Open kdykeman opened 6 years ago

kdykeman commented 6 years ago

Some folks are using LicenseFinder to enumerate the open source dependencies and licenses used by their code. LicenseFinder runs go list, and in the case where there are two golang packages in the same directory (in this case 'libcompose/hack'), go list fails with:

can't load package: package .: found packages main (inline_schema.go) and config (schema_template.go) in ./libcompose/hack

Can each package move into its own folder?

vdemeester commented 6 years ago

@kdykeman ohh yeah, that's not good, I'll take a look 😉