You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great tool for us to use, to be able to identify the licenses that we're using (including the dependencies) to ensure we dont use any forbidden or restricted licenses.
However the error reporting from the tool includes the warnings:
W0104 10:49:27.896553 54153 library.go:101] "golang.org/x/sys/unix" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/golang.org/x/[email protected]/unix/asm_bsd_arm64.s
/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.s
W0104 10:49:27.927581 54153 library.go:101] "github.com/petermattis/goid" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/github.com/petermattis/[email protected]/goid_go1.5.s
W0104 10:49:29.034446 54153 library.go:101] "golang.org/x/crypto/chacha20" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/golang.org/x/[email protected]/chacha20/chacha_arm64.s
W0104 10:49:29.739647 54153 library.go:101] "github.com/confluentinc/confluent-kafka-go/kafka" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/github.com/confluentinc/[email protected]/kafka/glue_rdkafka.h
/pkg/mod/github.com/confluentinc/[email protected]/kafka/select_rdkafka.h
W0104 10:49:29.764589 54153 library.go:101] "github.com/confluentinc/confluent-kafka-go/kafka/librdkafka_vendor" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/github.com/confluentinc/[email protected]/kafka/librdkafka_vendor/rdkafka.h
/pkg/mod/github.com/confluentinc/[email protected]/kafka/librdkafka_vendor/rdkafka_mock.h
It would be great if these W0104 warnings can be suppressed to actually get to real errors. We want to be able to include this in our CI to alert developers if any new components/dependencies were included which has licenses that we shouldnt be using in our codebase.
The text was updated successfully, but these errors were encountered:
samirsss
changed the title
Ignore contains non-Go code warnings in errors
Ignore W0104 contains non-Go code warnings in errors
Jan 4, 2024
Hi,
This is a great tool for us to use, to be able to identify the licenses that we're using (including the dependencies) to ensure we dont use any forbidden or restricted licenses.
However the error reporting from the tool includes the warnings:
W0104 10:49:27.896553 54153 library.go:101] "golang.org/x/sys/unix" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/golang.org/x/[email protected]/unix/asm_bsd_arm64.s
/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.s
W0104 10:49:27.927581 54153 library.go:101] "github.com/petermattis/goid" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/github.com/petermattis/[email protected]/goid_go1.5.s
W0104 10:49:29.034446 54153 library.go:101] "golang.org/x/crypto/chacha20" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/golang.org/x/[email protected]/chacha20/chacha_arm64.s
W0104 10:49:29.739647 54153 library.go:101] "github.com/confluentinc/confluent-kafka-go/kafka" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/github.com/confluentinc/[email protected]/kafka/glue_rdkafka.h
/pkg/mod/github.com/confluentinc/[email protected]/kafka/select_rdkafka.h
W0104 10:49:29.764589 54153 library.go:101] "github.com/confluentinc/confluent-kafka-go/kafka/librdkafka_vendor" contains non-Go code that can't be inspected for further dependencies:
/pkg/mod/github.com/confluentinc/[email protected]/kafka/librdkafka_vendor/rdkafka.h
/pkg/mod/github.com/confluentinc/[email protected]/kafka/librdkafka_vendor/rdkafka_mock.h
It would be great if these W0104 warnings can be suppressed to actually get to real errors. We want to be able to include this in our CI to alert developers if any new components/dependencies were included which has licenses that we shouldnt be using in our codebase.
The text was updated successfully, but these errors were encountered: