From 8e41472447315290b2748709e09b27372adc2b7c Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 21 Jul 2026 14:34:57 +0200 Subject: convert copyright headers to SPDX format --- account.go | 19 ++----------------- backend.go | 19 ++----------------- bulk.go | 19 ++----------------- capabilities.go | 19 ++----------------- capabilities/package.go | 19 ++----------------- container.go | 19 ++----------------- container_iterator.go | 19 ++----------------- doc.go | 19 ++----------------- download.go | 19 ++----------------- errors.go | 19 ++----------------- field_metadata.go | 19 ++----------------- field_string.go | 19 ++----------------- field_time.go | 19 ++----------------- field_uint64.go | 19 ++----------------- gopherschwift/package.go | 19 ++----------------- headers.go | 19 ++----------------- iterator.go | 19 ++----------------- largeobject.go | 19 ++----------------- largeobject_test.go | 19 ++----------------- object.go | 19 ++----------------- object_iterator.go | 19 ++----------------- object_test.go | 19 ++----------------- request.go | 19 ++----------------- tests/account_test.go | 19 ++----------------- tests/backend_test.go | 19 ++----------------- tests/bulk_delete_test.go | 19 ++----------------- tests/bulk_upload_test.go | 19 ++----------------- tests/container_iterator_test.go | 19 ++----------------- tests/container_test.go | 19 ++----------------- tests/field_test.go | 19 ++----------------- tests/headers_test.go | 19 ++----------------- tests/largeobject_test.go | 19 ++----------------- tests/object_iterator_test.go | 19 ++----------------- tests/object_test.go | 19 ++----------------- tests/pkg.go | 3 +++ tests/shared_test.go | 19 ++----------------- util/render_template.go | 19 ++----------------- version.go | 19 ++----------------- 38 files changed, 77 insertions(+), 629 deletions(-) diff --git a/account.go b/account.go index 12d4d75..a646dce 100644 --- a/account.go +++ b/account.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/backend.go b/backend.go index e45822f..54e6c85 100644 --- a/backend.go +++ b/backend.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/bulk.go b/bulk.go index 34f1be6..9a9ff49 100644 --- a/bulk.go +++ b/bulk.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/capabilities.go b/capabilities.go index 26a3532..a8a9561 100644 --- a/capabilities.go +++ b/capabilities.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/capabilities/package.go b/capabilities/package.go index 9ea2921..69d228d 100644 --- a/capabilities/package.go +++ b/capabilities/package.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// // SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 // Package capabilities contains feature switches that Schwift's unit tests can // set to exercise certain fallback code paths in Schwift that they could not diff --git a/container.go b/container.go index b54a8f9..9f3c95a 100644 --- a/container.go +++ b/container.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/container_iterator.go b/container_iterator.go index 9ff9be9..64e02ef 100644 --- a/container_iterator.go +++ b/container_iterator.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/doc.go b/doc.go index 639301c..c24c266 100644 --- a/doc.go +++ b/doc.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 /* Package schwift is a client library for OpenStack Swift diff --git a/download.go b/download.go index 8367f3d..1297850 100644 --- a/download.go +++ b/download.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/errors.go b/errors.go index fd34eec..fbecce2 100644 --- a/errors.go +++ b/errors.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/field_metadata.go b/field_metadata.go index 447f293..a91070d 100644 --- a/field_metadata.go +++ b/field_metadata.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/field_string.go b/field_string.go index 8621a69..60b5ab3 100644 --- a/field_string.go +++ b/field_string.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/field_time.go b/field_time.go index 8c51f6b..a2513ef 100644 --- a/field_time.go +++ b/field_time.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/field_uint64.go b/field_uint64.go index 8e1a6c2..ab14358 100644 --- a/field_uint64.go +++ b/field_uint64.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/gopherschwift/package.go b/gopherschwift/package.go index 834d0b7..b0d09b8 100644 --- a/gopherschwift/package.go +++ b/gopherschwift/package.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 /* Package gopherschwift contains a Gophercloud backend for Schwift. diff --git a/headers.go b/headers.go index 90574db..ab62a0f 100644 --- a/headers.go +++ b/headers.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/iterator.go b/iterator.go index 97ab665..c566f59 100644 --- a/iterator.go +++ b/iterator.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/largeobject.go b/largeobject.go index 648ef46..acaa47a 100644 --- a/largeobject.go +++ b/largeobject.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/largeobject_test.go b/largeobject_test.go index fc0a2e4..56d4c4a 100644 --- a/largeobject_test.go +++ b/largeobject_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/object.go b/object.go index a09b18c..a3ca1ea 100644 --- a/object.go +++ b/object.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/object_iterator.go b/object_iterator.go index 314b9bf..ae4c896 100644 --- a/object_iterator.go +++ b/object_iterator.go @@ -1,20 +1,5 @@ -/******************************************************************************* -* -* Copyright 2018 Stefan Majewsky -* -* This program is free software: you can redistribute it and/or modify it under -* the terms of the GNU General Public License as published by the Free Software -* Foundation, either version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY -* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -* A PARTICULAR PURPOSE. See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with -* this program. If not, see . -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/object_test.go b/object_test.go index 33ea442..3c0d276 100644 --- a/object_test.go +++ b/object_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/request.go b/request.go index 2ca98c0..34513d7 100644 --- a/request.go +++ b/request.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift diff --git a/tests/account_test.go b/tests/account_test.go index 1c5e8cc..04abef1 100644 --- a/tests/account_test.go +++ b/tests/account_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/backend_test.go b/tests/backend_test.go index f18a9c6..cd10c8b 100644 --- a/tests/backend_test.go +++ b/tests/backend_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/bulk_delete_test.go b/tests/bulk_delete_test.go index 33f249d..9ff40e5 100644 --- a/tests/bulk_delete_test.go +++ b/tests/bulk_delete_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/bulk_upload_test.go b/tests/bulk_upload_test.go index dc5b033..c25f2de 100644 --- a/tests/bulk_upload_test.go +++ b/tests/bulk_upload_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/container_iterator_test.go b/tests/container_iterator_test.go index 113c3c5..76a0de4 100644 --- a/tests/container_iterator_test.go +++ b/tests/container_iterator_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/container_test.go b/tests/container_test.go index caa98d1..ec9f428 100644 --- a/tests/container_test.go +++ b/tests/container_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/field_test.go b/tests/field_test.go index 5069be6..7fdc138 100644 --- a/tests/field_test.go +++ b/tests/field_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/headers_test.go b/tests/headers_test.go index 7e4b253..0c9d886 100644 --- a/tests/headers_test.go +++ b/tests/headers_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/largeobject_test.go b/tests/largeobject_test.go index d1ea6fb..85946f8 100644 --- a/tests/largeobject_test.go +++ b/tests/largeobject_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/object_iterator_test.go b/tests/object_iterator_test.go index 751efc8..905f231 100644 --- a/tests/object_iterator_test.go +++ b/tests/object_iterator_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/object_test.go b/tests/object_test.go index 541a843..3259e89 100644 --- a/tests/object_test.go +++ b/tests/object_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/tests/pkg.go b/tests/pkg.go index 7edd248..aed208e 100644 --- a/tests/pkg.go +++ b/tests/pkg.go @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 + package tests // This empty source file is required to make `make test` work. diff --git a/tests/shared_test.go b/tests/shared_test.go index 9ff9053..2e945ae 100644 --- a/tests/shared_test.go +++ b/tests/shared_test.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package tests diff --git a/util/render_template.go b/util/render_template.go index 64ef939..cf17739 100755 --- a/util/render_template.go +++ b/util/render_template.go @@ -1,22 +1,7 @@ ///usr/bin/env go run "$0" "$@"; exit $! -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/version.go b/version.go index 1a8d1d5..f8ccfd8 100644 --- a/version.go +++ b/version.go @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky -* -* 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. -* -******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky +// SPDX-License-Identifier: Apache-2.0 package schwift -- cgit v1.3.1