From f722f515ae3cf3ea7f0a35c8b02e1a68f7243885 Mon Sep 17 00:00:00 2001 From: Ben McClelland Date: Mon, 6 May 2024 16:16:31 -0700 Subject: [PATCH] chore: add missing copyright headers to files --- auth/iam_ldap.go | 14 ++++++++++++++ backend/meta/meta.go | 14 ++++++++++++++ backend/meta/xattr.go | 14 ++++++++++++++ backend/mkdir.go | 1 + s3api/utils/auth_test.go | 14 ++++++++++++++ s3api/utils/utils_test.go | 14 ++++++++++++++ tests/integration/bench.go | 14 ++++++++++++++ tests/integration/data-io.go | 14 ++++++++++++++ tests/integration/group-tests.go | 14 ++++++++++++++ tests/integration/output.go | 14 ++++++++++++++ tests/integration/s3conf.go | 14 ++++++++++++++ tests/integration/tests.go | 14 ++++++++++++++ tests/integration/utils.go | 14 ++++++++++++++ 13 files changed, 169 insertions(+) diff --git a/auth/iam_ldap.go b/auth/iam_ldap.go index a751ba4c..a1152299 100644 --- a/auth/iam_ldap.go +++ b/auth/iam_ldap.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package auth import ( diff --git a/backend/meta/meta.go b/backend/meta/meta.go index 97e31938..98ac6d3b 100644 --- a/backend/meta/meta.go +++ b/backend/meta/meta.go @@ -1,3 +1,17 @@ +// Copyright 2024 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package meta // MetadataStorer defines the interface for managing metadata. diff --git a/backend/meta/xattr.go b/backend/meta/xattr.go index c3ea5779..f3789916 100644 --- a/backend/meta/xattr.go +++ b/backend/meta/xattr.go @@ -1,3 +1,17 @@ +// Copyright 2024 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package meta import ( diff --git a/backend/mkdir.go b/backend/mkdir.go index 09e4e655..418e1118 100644 --- a/backend/mkdir.go +++ b/backend/mkdir.go @@ -1,6 +1,7 @@ // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Copyright 2024 Versity Software // MkdirAll borrowed from stdlib to add ability to set ownership // as directories are created diff --git a/s3api/utils/auth_test.go b/s3api/utils/auth_test.go index f25c2c12..38876e74 100644 --- a/s3api/utils/auth_test.go +++ b/s3api/utils/auth_test.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package utils import ( diff --git a/s3api/utils/utils_test.go b/s3api/utils/utils_test.go index e0c409f0..a4987451 100644 --- a/s3api/utils/utils_test.go +++ b/s3api/utils/utils_test.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package utils import ( diff --git a/tests/integration/bench.go b/tests/integration/bench.go index f9f86378..442d16fa 100644 --- a/tests/integration/bench.go +++ b/tests/integration/bench.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration import ( diff --git a/tests/integration/data-io.go b/tests/integration/data-io.go index 491059fb..5bdd7744 100644 --- a/tests/integration/data-io.go +++ b/tests/integration/data-io.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration import ( diff --git a/tests/integration/group-tests.go b/tests/integration/group-tests.go index 66bbbf24..646afe9d 100644 --- a/tests/integration/group-tests.go +++ b/tests/integration/group-tests.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration func TestAuthentication(s *S3Conf) { diff --git a/tests/integration/output.go b/tests/integration/output.go index e4ad1479..871feacd 100644 --- a/tests/integration/output.go +++ b/tests/integration/output.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration import "fmt" diff --git a/tests/integration/s3conf.go b/tests/integration/s3conf.go index 89ea13f8..34e14572 100644 --- a/tests/integration/s3conf.go +++ b/tests/integration/s3conf.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration import ( diff --git a/tests/integration/tests.go b/tests/integration/tests.go index 2a24b7d6..84ff58b2 100644 --- a/tests/integration/tests.go +++ b/tests/integration/tests.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration import ( diff --git a/tests/integration/utils.go b/tests/integration/utils.go index bfc4f603..6c9c5879 100644 --- a/tests/integration/utils.go +++ b/tests/integration/utils.go @@ -1,3 +1,17 @@ +// Copyright 2023 Versity Software +// This file is licensed under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + package integration import (