diff --git a/.golangci.yml b/.golangci.yml index 20968c7a..27ef8523 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright IBM Corp. 2013, 2025 +# SPDX-License-Identifier: MIT + version: "2" linters: enable: diff --git a/codec/bench/bench.sh b/codec/bench/bench.sh index e6b2070e..d4b281a7 100755 --- a/codec/bench/bench.sh +++ b/codec/bench/bench.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright IBM Corp. 2013, 2025 +# SPDX-License-Identifier: MIT + # download the code and all its dependencies _go_get() { diff --git a/codec/build.sh b/codec/build.sh index 831bd864..37f053ea 100755 --- a/codec/build.sh +++ b/codec/build.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright IBM Corp. 2013, 2025 +# SPDX-License-Identifier: MIT + # Run all the different permutations of all the tests and other things # This helps ensure that nothing gets broken. diff --git a/codec/codecgen.go b/codec/codecgen.go index 28fa8105..145278ab 100644 --- a/codec/codecgen.go +++ b/codec/codecgen.go @@ -1,3 +1,6 @@ +// Copyright IBM Corp. 2013, 2025 +// SPDX-License-Identifier: MIT + //go:build codecgen || generated // +build codecgen generated diff --git a/codec/gen_test.go b/codec/gen_test.go index 21b7c4a1..976c6f41 100644 --- a/codec/gen_test.go +++ b/codec/gen_test.go @@ -1,3 +1,6 @@ +// Copyright IBM Corp. 2013, 2025 +// SPDX-License-Identifier: MIT + //go:build codecgen.exec package codec diff --git a/codec/raft_test.go b/codec/raft_test.go index dedffbc3..342df2db 100644 --- a/codec/raft_test.go +++ b/codec/raft_test.go @@ -1,3 +1,6 @@ +// Copyright IBM Corp. 2013, 2025 +// SPDX-License-Identifier: MIT + package codec import ( diff --git a/codec/test.py b/codec/test.py index 8418fee4..696b0cbf 100755 --- a/codec/test.py +++ b/codec/test.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright IBM Corp. 2013, 2025 +# SPDX-License-Identifier: MIT + # This will create golden files in a directory passed to it. # A Test calls this internally to create the golden files