zopencommunity / wharf

Apache License 2.0
6 stars 4 forks source link

Panic on "Build constraints exclude all Go files" #22

Closed dustin-ward closed 7 months ago

dustin-ward commented 1 year ago

When wharf encounters a package that contains no "buildable" Go files a panic occurs:

github.com/elastic/beats/filebeat as an example:

unable to load packages: unable to load github.com/elastic/beats/v7/libbeat/processors/add_docker_metadata: build constraints exclude all Go files in /u/kishku1/projects/wharf-work/beats/libbeat/processors/add_docker_metadata

i.e. All files within this package are tagged in a way that zOS is excluded. The best solution for most cases is to simply apply the zos tag to each file within the package.

dustin-ward commented 1 year ago

A fix is in progress

bluecivet commented 7 months ago

fix in 65a96663361795d30