diff options
38 files changed, 77 insertions, 629 deletions
@@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 /* Package gopherschwift contains a Gophercloud backend for Schwift. @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <http://www.gnu.org/licenses/>. -* -*******************************************************************************/ +// SPDX-FileCopyrightText: 2018 Stefan Majewsky <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// 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 <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package main @@ -1,20 +1,5 @@ -/****************************************************************************** -* -* Copyright 2018 Stefan Majewsky <majewsky@gmx.net> -* -* 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 <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package schwift |
