From 7dfbacffc3b0b7346729a3a27ca53eef9771a913 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Tue, 7 Dec 2021 16:41:37 +0100 Subject: [PATCH 1/2] *: Use SPDX License identifier for source files Use SPDX License identifier headers for all source files, mainly to become community-friendly and reduce maintenance issues. See also https://github.com/flatcar-linux/Flatcar/issues/567. --- auth/azure.go | 15 ++---------- auth/do.go | 15 ++---------- auth/esx.go | 15 ++---------- auth/google.go | 18 +++------------ auth/openstack.go | 15 ++---------- auth/packet.go | 15 ++---------- cli/cli.go | 15 ++---------- cmd/cork/build.go | 15 ++---------- cmd/cork/cork.go | 15 ++---------- cmd/cork/create.go | 15 ++---------- cmd/cork/download.go | 15 ++---------- cmd/cork/downloadimage.go | 15 ++---------- cmd/gangue/gangue.go | 15 ++---------- cmd/gangue/get.go | 15 ++---------- cmd/gangue/prune.go | 15 ++---------- cmd/kola/bootchart.go | 15 ++---------- cmd/kola/console.go | 15 ++---------- cmd/kola/kola.go | 15 ++---------- cmd/kola/options.go | 15 ++---------- cmd/kola/spawn.go | 15 ++---------- cmd/kola/updatepayload.go | 15 ++---------- cmd/kolet/kolet.go | 15 ++---------- cmd/ore/aws.go | 15 ++---------- cmd/ore/aws/aws.go | 15 ++---------- cmd/ore/aws/copy-image.go | 15 ++---------- cmd/ore/aws/delete.go | 15 ++---------- cmd/ore/aws/gc.go | 15 ++---------- cmd/ore/aws/initialize.go | 15 ++---------- cmd/ore/aws/upload.go | 15 ++---------- cmd/ore/azure.go | 15 ++---------- cmd/ore/azure/azure.go | 15 ++---------- cmd/ore/azure/create-image-arm.go | 15 ++---------- cmd/ore/azure/create-image.go | 15 ++---------- cmd/ore/azure/gc.go | 15 ++---------- cmd/ore/azure/replicate-image.go | 15 ++---------- cmd/ore/azure/share-image.go | 15 ++---------- cmd/ore/azure/unreplicate-image.go | 15 ++---------- cmd/ore/azure/upload-blob-arm.go | 15 ++---------- cmd/ore/azure/upload-blob.go | 15 ++---------- cmd/ore/do.go | 15 ++---------- cmd/ore/do/create-image.go | 15 ++---------- cmd/ore/do/delete-image.go | 15 ++---------- cmd/ore/do/delete-keys.go | 15 ++---------- cmd/ore/do/do.go | 15 ++---------- cmd/ore/do/gc.go | 15 ++---------- cmd/ore/do/list-keys.go | 15 ++---------- cmd/ore/esx.go | 15 ++---------- cmd/ore/esx/create-base.go | 15 ++---------- cmd/ore/esx/esx.go | 15 ++---------- cmd/ore/esx/list-vms.go | 15 ++---------- cmd/ore/esx/remove-base.go | 15 ++---------- cmd/ore/esx/remove-vms.go | 15 ++---------- cmd/ore/gcloud.go | 15 ++---------- cmd/ore/gcloud/create-image.go | 15 ++---------- cmd/ore/gcloud/delete-images.go | 15 ++---------- cmd/ore/gcloud/destroy.go | 15 ++---------- cmd/ore/gcloud/gc.go | 15 ++---------- cmd/ore/gcloud/gcloud.go | 15 ++---------- cmd/ore/gcloud/image.go | 15 ++---------- cmd/ore/gcloud/index.go | 15 ++---------- cmd/ore/gcloud/list.go | 15 ++---------- cmd/ore/gcloud/sync.go | 15 ++---------- cmd/ore/gcloud/upload.go | 15 ++---------- cmd/ore/openstack.go | 15 ++---------- cmd/ore/openstack/create.go | 15 ++---------- cmd/ore/openstack/delete.go | 15 ++---------- cmd/ore/openstack/gc.go | 15 ++---------- cmd/ore/openstack/openstack.go | 15 ++---------- cmd/ore/ore.go | 15 ++---------- cmd/ore/packet.go | 15 ++---------- cmd/ore/packet/create-device.go | 15 ++---------- cmd/ore/packet/delete-keys.go | 15 ++---------- cmd/ore/packet/gc.go | 15 ++---------- cmd/ore/packet/list-keys.go | 15 ++---------- cmd/ore/packet/packet.go | 15 ++---------- cmd/plume/containerlinux.go | 15 ++---------- cmd/plume/index.go | 15 ++---------- cmd/plume/plume.go | 15 ++---------- cmd/plume/prerelease.go | 15 ++---------- cmd/plume/prune.go | 15 ++---------- cmd/plume/release.go | 15 ++---------- cmd/plume/types.go | 15 ++---------- harness/_example/doc.go | 15 ++---------- harness/_example/main.go | 15 ++---------- harness/_example/tests.go | 15 ++---------- harness/doc.go | 16 ++----------- harness/harness.go | 16 ++----------- harness/harness_test.go | 16 ++----------- harness/match.go | 16 ++----------- harness/match_test.go | 16 ++----------- harness/reporters/json.go | 15 ++---------- harness/reporters/reporter.go | 15 ++---------- harness/suite.go | 16 ++----------- harness/suite_test.go | 16 ++----------- harness/test.go | 15 ++---------- harness/test_test.go | 15 ++---------- harness/testresult/status.go | 15 ++---------- kola/README.md | 15 ++---------- kola/cluster/cluster.go | 15 ++---------- kola/harness.go | 16 ++----------- kola/register/register.go | 16 ++----------- kola/registry/registry.go | 3 +++ kola/tests/bpf/local-gadget.go | 3 ++- kola/tests/coretest/cloudinit.go | 3 +++ kola/tests/coretest/core.go | 3 +++ kola/tests/coretest/dbus.go | 3 +++ kola/tests/coretest/etcd.go | 3 +++ kola/tests/coretest/fleet.go | 3 +++ kola/tests/coretest/helpers.go | 3 +++ kola/tests/coretest/testgroupglue.go | 3 +++ kola/tests/crio/crio.go | 15 ++---------- kola/tests/docker/docker.go | 15 ++---------- kola/tests/docker/torcx_docker_flag.go | 15 ++---------- kola/tests/docker/torcx_manifest_pkgs.go | 15 ++---------- kola/tests/etcd/discovery.go | 15 ++---------- kola/tests/etcd/rhcos.go | 15 ++---------- kola/tests/etcd/util.go | 15 ++---------- kola/tests/flannel/flannel.go | 15 ++---------- kola/tests/ignition/empty.go | 15 ++---------- kola/tests/ignition/execution.go | 15 ++---------- kola/tests/ignition/filesystem.go | 15 ++---------- kola/tests/ignition/oem.go | 15 ++---------- kola/tests/ignition/passwd.go | 15 ++---------- kola/tests/ignition/resource.go | 15 ++---------- kola/tests/ignition/security.go | 15 ++---------- kola/tests/ignition/sethostname.go | 15 ++---------- kola/tests/ignition/ssh.go | 15 ++---------- kola/tests/ignition/systemd.go | 15 ++---------- kola/tests/kubeadm/kubeadm.go | 16 +++---------- kola/tests/kubeadm/kubeadm_test.go | 16 ++----------- kola/tests/kubeadm/templates.go | 16 +++---------- kola/tests/locksmith/locksmith.go | 15 ++---------- kola/tests/metadata/contents.go | 15 ++---------- kola/tests/misc/auth.go | 15 ++---------- kola/tests/misc/aws.go | 15 ++---------- kola/tests/misc/cloudinit.go | 15 ++---------- kola/tests/misc/files.go | 15 ++---------- kola/tests/misc/grub.go | 15 ++---------- kola/tests/misc/install.go | 15 ++---------- kola/tests/misc/network.go | 15 ++---------- kola/tests/misc/nfs.go | 15 ++---------- kola/tests/misc/ntp.go | 15 ++---------- kola/tests/misc/omaha.go | 15 ++---------- kola/tests/misc/raid.go | 15 ++---------- kola/tests/misc/selinux.go | 15 ++---------- kola/tests/misc/tls.go | 15 ++---------- kola/tests/misc/toolbox.go | 15 ++---------- kola/tests/misc/update.go | 15 ++---------- kola/tests/misc/users.go | 15 ++---------- kola/tests/misc/verity.go | 15 ++---------- kola/tests/ostree/basic.go | 15 ++---------- kola/tests/ostree/unlock.go | 15 ++---------- kola/tests/packages/ipvsadm.go | 15 ++---------- kola/tests/packages/packages.go | 15 ++---------- kola/tests/packages/python.go | 15 ++---------- kola/tests/podman/podman.go | 15 ++---------- kola/tests/rpmostree/deployments.go | 15 ++---------- kola/tests/rpmostree/status.go | 15 ++---------- kola/tests/systemd/journald.go | 15 ++---------- kola/tests/systemd/sysusers.go | 15 ++---------- kola/tests/torcx/torcx.go | 15 ++---------- kola/tests/update/update.go | 15 ++---------- kola/tests/util/containers.go | 15 ++---------- kola/tests/util/rpmostree.go | 15 ++---------- kola/tests/util/template.go | 15 ++---------- kola/tests/util/update.go | 15 ++---------- kola/torcx/torcx_manifest.go | 15 ++---------- lang/destructor/destructor.go | 15 ++---------- lang/doc.go | 15 ++---------- lang/maps/sorted.go | 15 ++---------- lang/maps/sorted_test.go | 15 ++---------- lang/natsort/cmp.go | 16 ++----------- lang/natsort/cmp_test.go | 15 ++---------- lang/natsort/sort.go | 15 ++---------- lang/natsort/sort_test.go | 15 ++---------- lang/reader/reader.go | 15 ++---------- lang/reader/reader_test.go | 15 ++---------- lang/worker/group.go | 15 ++---------- lang/worker/parallel.go | 15 ++---------- network/journal/_test/main.go | 3 +++ network/journal/entry.go | 15 ++---------- network/journal/entry_test.go | 15 ++---------- network/journal/export.go | 15 ++---------- network/journal/export_test.go | 15 ++---------- network/journal/format.go | 15 ++---------- network/journal/format_test.go | 15 ++---------- network/journal/record.go | 15 ++---------- network/journal/record_test.go | 15 ++---------- network/mockssh/mockssh.go | 15 ++---------- network/mockssh/mockssh_test.go | 16 ++----------- network/neterror/error.go | 15 ++---------- network/nsdialer.go | 15 ++---------- network/ntp/_ntpd/ntpd.go | 15 ++---------- network/ntp/protocol.go | 15 ++---------- network/ntp/protocol_test.go | 15 ++---------- network/ntp/server.go | 15 ++---------- network/ntp/server_test.go | 15 ++---------- network/retrydialer.go | 15 ++---------- network/ssh.go | 15 ++---------- network/ssh_test.go | 15 ++---------- platform/api/aws/ami.go | 15 ++---------- platform/api/aws/api.go | 15 ++---------- platform/api/aws/ec2.go | 15 ++---------- platform/api/aws/iam.go | 15 ++---------- platform/api/aws/images.go | 15 ++---------- platform/api/aws/network.go | 15 ++---------- platform/api/aws/s3.go | 15 ++---------- platform/api/azure/api.go | 15 ++---------- platform/api/azure/groups.go | 15 ++---------- platform/api/azure/image.go | 15 ++---------- platform/api/azure/instance.go | 15 ++---------- platform/api/azure/network.go | 15 ++---------- platform/api/azure/options.go | 15 ++---------- platform/api/azure/replication.go | 15 ++---------- platform/api/azure/storage.go | 15 ++---------- platform/api/azure/storage_mit.go | 29 +++--------------------- platform/api/do/api.go | 15 ++---------- platform/api/esx/api.go | 16 ++----------- platform/api/esx/archive.go | 16 ++----------- platform/api/esx/lease.go | 16 ++----------- platform/api/gcloud/api.go | 16 ++----------- platform/api/gcloud/compute.go | 15 ++---------- platform/api/gcloud/image.go | 15 ++---------- platform/api/gcloud/pending.go | 15 ++---------- platform/api/openstack/api.go | 15 ++---------- platform/api/packet/api.go | 15 ++---------- platform/cluster.go | 15 ++---------- platform/conf/conf.go | 15 ++---------- platform/conf/conf_test.go | 15 ++---------- platform/flight.go | 16 ++----------- platform/journal.go | 15 ++---------- platform/local/cluster.go | 15 ++---------- platform/local/configdrive.go | 15 ++---------- platform/local/dnsmasq.go | 16 ++----------- platform/local/dnsmasq_test.go | 16 ++----------- platform/local/etcd.go | 15 ++---------- platform/local/flight.go | 16 ++----------- platform/local/omaha.go | 15 ++---------- platform/local/tap.go | 15 ++---------- platform/machine/aws/cluster.go | 15 ++---------- platform/machine/aws/flight.go | 16 ++----------- platform/machine/aws/machine.go | 15 ++---------- platform/machine/azure/cluster.go | 15 ++---------- platform/machine/azure/flight.go | 15 ++---------- platform/machine/azure/machine.go | 15 ++---------- platform/machine/do/cluster.go | 15 ++---------- platform/machine/do/flight.go | 16 ++----------- platform/machine/do/machine.go | 15 ++---------- platform/machine/esx/cluster.go | 15 ++---------- platform/machine/esx/flight.go | 16 ++----------- platform/machine/esx/machine.go | 15 ++---------- platform/machine/external/cluster.go | 3 +++ platform/machine/external/console.go | 3 +++ platform/machine/external/flight.go | 3 +++ platform/machine/external/machine.go | 3 +++ platform/machine/gcloud/cluster.go | 16 ++----------- platform/machine/gcloud/flight.go | 17 ++------------ platform/machine/gcloud/machine.go | 15 ++---------- platform/machine/openstack/cluster.go | 15 ++---------- platform/machine/openstack/flight.go | 15 ++---------- platform/machine/openstack/machine.go | 15 ++---------- platform/machine/packet/cluster.go | 15 ++---------- platform/machine/packet/console.go | 15 ++---------- platform/machine/packet/flight.go | 16 ++----------- platform/machine/packet/machine.go | 15 ++---------- platform/machine/qemu/cluster.go | 15 ++---------- platform/machine/qemu/flight.go | 16 ++----------- platform/machine/qemu/machine.go | 15 ++---------- platform/machine/unprivqemu/cluster.go | 15 ++---------- platform/machine/unprivqemu/flight.go | 15 ++---------- platform/machine/unprivqemu/machine.go | 15 ++---------- platform/platform.go | 15 ++---------- platform/qemu.go | 15 ++---------- platform/util.go | 15 ++---------- sdk/const.go | 15 ++---------- sdk/create.go | 16 ++----------- sdk/download.go | 15 ++---------- sdk/enter.go | 15 ++---------- sdk/omaha/generate.go | 15 ++---------- sdk/repo.go | 15 ++---------- sdk/repo/manifest.go | 16 ++----------- sdk/repo/manifest_test.go | 15 ++---------- sdk/repo/verify.go | 15 ++---------- sdk/verify.go | 15 ++---------- sdk/verify_test.go | 15 ++---------- sdk/version.go | 15 ++---------- sdk/version_test.go | 15 ++---------- storage/bucket.go | 15 ++---------- storage/bucket_test.go | 15 ++---------- storage/error.go | 15 ++---------- storage/index/indexer.go | 15 ++---------- storage/index/job.go | 15 ++---------- storage/index/set.go | 15 ++---------- storage/index/sync.go | 15 ++---------- storage/index/tree.go | 15 ++---------- storage/object.go | 15 ++---------- storage/object_test.go | 15 ++---------- storage/storage.go | 15 ++---------- storage/sync.go | 15 ++---------- system/anonfile_linux.go | 15 ++---------- system/anonfile_linux_test.go | 15 ++---------- system/arch.go | 15 ++---------- system/copy.go | 15 ++---------- system/copy_test.go | 15 ++---------- system/exec/exec.go | 15 ++---------- system/exec/exec_test.go | 15 ++---------- system/exec/multicall.go | 15 ++---------- system/exec/multicall_test.go | 15 ++---------- system/hostname.go | 15 ++---------- system/mount_linux.go | 15 ++---------- system/mount_linux_test.go | 15 ++---------- system/ns/enter.go | 15 ++---------- system/ns/exec.go | 15 ++---------- system/symlink.go | 15 ++---------- system/targen/ldd.go | 15 ++---------- system/targen/ldd_test.go | 15 ++---------- system/targen/tar.go | 15 ++---------- system/targen/tar_test.go | 15 ++---------- system/user/user.go | 15 ++---------- system/user/user_test.go | 16 ++----------- update/_apply/main.go | 3 +++ update/_dump/main.go | 3 +++ update/generator/bzip2.go | 15 ++---------- update/generator/bzip2_test.go | 15 ++---------- update/generator/full.go | 15 ++---------- update/generator/full_test.go | 15 ++---------- update/generator/generator.go | 15 ++---------- update/generator/generator_test.go | 15 ++---------- update/generator/info.go | 15 ++---------- update/generator/info_test.go | 15 ++---------- update/generator/testdata_test.go | 15 ++---------- update/metadata/update_metadata.go | 15 ++---------- update/operation.go | 15 ++---------- update/payload.go | 15 ++---------- update/signature/signature.go | 15 ++---------- update/signature/signature_test.go | 15 ++---------- update/updater.go | 15 ++---------- util/bunzip.go | 15 ++---------- util/common.go | 15 ++---------- util/image.go | 15 ++---------- util/logio.go | 15 ++---------- util/retry.go | 15 ++---------- util/xz.go | 15 ++---------- version/version.go | 15 ++---------- 344 files changed, 707 insertions(+), 4311 deletions(-) diff --git a/auth/azure.go b/auth/azure.go index 4acddfa28..7dbce22fd 100644 --- a/auth/azure.go +++ b/auth/azure.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/do.go b/auth/do.go index 5fdbb5cec..207c7932a 100644 --- a/auth/do.go +++ b/auth/do.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/esx.go b/auth/esx.go index 564f9c3a0..5ce3f612b 100644 --- a/auth/esx.go +++ b/auth/esx.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/google.go b/auth/google.go index 7096d0923..a2a05ad95 100644 --- a/auth/google.go +++ b/auth/google.go @@ -1,18 +1,6 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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 provides Google oauth2 and Azure credential bindings for mantle. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package auth import ( diff --git a/auth/openstack.go b/auth/openstack.go index 6dab254a0..0b4feb55a 100644 --- a/auth/openstack.go +++ b/auth/openstack.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/auth/packet.go b/auth/packet.go index 9c868a8c7..9f30742bd 100644 --- a/auth/packet.go +++ b/auth/packet.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/cli/cli.go b/cli/cli.go index e42e1fe90..d0d09a86d 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -1,16 +1,5 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package cli diff --git a/cmd/cork/build.go b/cmd/cork/build.go index 89de1ca99..462361b95 100644 --- a/cmd/cork/build.go +++ b/cmd/cork/build.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/cork/cork.go b/cmd/cork/cork.go index 180ee814d..08d79e61b 100644 --- a/cmd/cork/cork.go +++ b/cmd/cork/cork.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/cork/create.go b/cmd/cork/create.go index 940940dfc..7e1eabe0d 100644 --- a/cmd/cork/create.go +++ b/cmd/cork/create.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/cork/download.go b/cmd/cork/download.go index 9d456ccd8..487d7be43 100644 --- a/cmd/cork/download.go +++ b/cmd/cork/download.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/cork/downloadimage.go b/cmd/cork/downloadimage.go index 9971bfa30..91e1bd5b6 100644 --- a/cmd/cork/downloadimage.go +++ b/cmd/cork/downloadimage.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/gangue/gangue.go b/cmd/gangue/gangue.go index 833581f88..c41572a6e 100644 --- a/cmd/gangue/gangue.go +++ b/cmd/gangue/gangue.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/gangue/get.go b/cmd/gangue/get.go index 4010fdf32..21ab65abc 100644 --- a/cmd/gangue/get.go +++ b/cmd/gangue/get.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/gangue/prune.go b/cmd/gangue/prune.go index 91db034f5..82c7022f6 100644 --- a/cmd/gangue/prune.go +++ b/cmd/gangue/prune.go @@ -1,16 +1,5 @@ -// Copyright 2020 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kola/bootchart.go b/cmd/kola/bootchart.go index f5a6f86e4..cea18a2ed 100644 --- a/cmd/kola/bootchart.go +++ b/cmd/kola/bootchart.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kola/console.go b/cmd/kola/console.go index bbc0c2313..198b3b3e0 100644 --- a/cmd/kola/console.go +++ b/cmd/kola/console.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kola/kola.go b/cmd/kola/kola.go index d2bc43f14..bf3e461f9 100644 --- a/cmd/kola/kola.go +++ b/cmd/kola/kola.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kola/options.go b/cmd/kola/options.go index 7940e4713..e467e11fb 100644 --- a/cmd/kola/options.go +++ b/cmd/kola/options.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kola/spawn.go b/cmd/kola/spawn.go index 03563b9d5..511927afb 100644 --- a/cmd/kola/spawn.go +++ b/cmd/kola/spawn.go @@ -1,16 +1,5 @@ -// Copyright 2015-2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kola/updatepayload.go b/cmd/kola/updatepayload.go index a109b2967..ff6afa68e 100644 --- a/cmd/kola/updatepayload.go +++ b/cmd/kola/updatepayload.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/kolet/kolet.go b/cmd/kolet/kolet.go index b1099dce9..d1fa2b4f7 100644 --- a/cmd/kolet/kolet.go +++ b/cmd/kolet/kolet.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/aws.go b/cmd/ore/aws.go index d59096582..981328664 100644 --- a/cmd/ore/aws.go +++ b/cmd/ore/aws.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/aws/aws.go b/cmd/ore/aws/aws.go index dcdee8631..270596006 100644 --- a/cmd/ore/aws/aws.go +++ b/cmd/ore/aws/aws.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/cmd/ore/aws/copy-image.go b/cmd/ore/aws/copy-image.go index ef1dfb90f..633681e0a 100644 --- a/cmd/ore/aws/copy-image.go +++ b/cmd/ore/aws/copy-image.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/cmd/ore/aws/delete.go b/cmd/ore/aws/delete.go index 2e1da37b4..72bb23105 100644 --- a/cmd/ore/aws/delete.go +++ b/cmd/ore/aws/delete.go @@ -1,16 +1,5 @@ -// Copyright 2020 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/cmd/ore/aws/gc.go b/cmd/ore/aws/gc.go index e1e7f765b..356aab0fd 100644 --- a/cmd/ore/aws/gc.go +++ b/cmd/ore/aws/gc.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/cmd/ore/aws/initialize.go b/cmd/ore/aws/initialize.go index 8aadea262..9fa5f1726 100644 --- a/cmd/ore/aws/initialize.go +++ b/cmd/ore/aws/initialize.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/cmd/ore/aws/upload.go b/cmd/ore/aws/upload.go index bb13e45f1..4ceaa762e 100644 --- a/cmd/ore/aws/upload.go +++ b/cmd/ore/aws/upload.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/cmd/ore/azure.go b/cmd/ore/azure.go index 0ddfd0172..30bbd7db4 100644 --- a/cmd/ore/azure.go +++ b/cmd/ore/azure.go @@ -1,16 +1,5 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // The package github.com/Azure/azure-sdk-for-go needs go 1.7 for TLS // renegotiation, so only link in the ore subcommands if we build with go 1.7. diff --git a/cmd/ore/azure/azure.go b/cmd/ore/azure/azure.go index ea07afba3..a62f1d2e3 100644 --- a/cmd/ore/azure/azure.go +++ b/cmd/ore/azure/azure.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/create-image-arm.go b/cmd/ore/azure/create-image-arm.go index 51250b984..025c54dad 100644 --- a/cmd/ore/azure/create-image-arm.go +++ b/cmd/ore/azure/create-image-arm.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/create-image.go b/cmd/ore/azure/create-image.go index ef22854bb..b3f8cffe5 100644 --- a/cmd/ore/azure/create-image.go +++ b/cmd/ore/azure/create-image.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/gc.go b/cmd/ore/azure/gc.go index 6d977d8b3..5538fe118 100644 --- a/cmd/ore/azure/gc.go +++ b/cmd/ore/azure/gc.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/replicate-image.go b/cmd/ore/azure/replicate-image.go index 8736f0307..5e096e30a 100644 --- a/cmd/ore/azure/replicate-image.go +++ b/cmd/ore/azure/replicate-image.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/share-image.go b/cmd/ore/azure/share-image.go index 0ab8aa9f0..720219b54 100644 --- a/cmd/ore/azure/share-image.go +++ b/cmd/ore/azure/share-image.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/unreplicate-image.go b/cmd/ore/azure/unreplicate-image.go index b97611fe3..7ad4c8296 100644 --- a/cmd/ore/azure/unreplicate-image.go +++ b/cmd/ore/azure/unreplicate-image.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/upload-blob-arm.go b/cmd/ore/azure/upload-blob-arm.go index 13521455a..7c61c21a1 100644 --- a/cmd/ore/azure/upload-blob-arm.go +++ b/cmd/ore/azure/upload-blob-arm.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/azure/upload-blob.go b/cmd/ore/azure/upload-blob.go index 3ba5893bb..0fd32bef3 100644 --- a/cmd/ore/azure/upload-blob.go +++ b/cmd/ore/azure/upload-blob.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/cmd/ore/do.go b/cmd/ore/do.go index da22e00ea..7dd6e3f86 100644 --- a/cmd/ore/do.go +++ b/cmd/ore/do.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/do/create-image.go b/cmd/ore/do/create-image.go index e2edca515..1b7fcb4cc 100644 --- a/cmd/ore/do/create-image.go +++ b/cmd/ore/do/create-image.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/cmd/ore/do/delete-image.go b/cmd/ore/do/delete-image.go index c39d49fe9..567ab21d9 100644 --- a/cmd/ore/do/delete-image.go +++ b/cmd/ore/do/delete-image.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/cmd/ore/do/delete-keys.go b/cmd/ore/do/delete-keys.go index 37fb15757..058b16920 100644 --- a/cmd/ore/do/delete-keys.go +++ b/cmd/ore/do/delete-keys.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/cmd/ore/do/do.go b/cmd/ore/do/do.go index c330d8362..739fcfffe 100644 --- a/cmd/ore/do/do.go +++ b/cmd/ore/do/do.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/cmd/ore/do/gc.go b/cmd/ore/do/gc.go index 7d8a456ce..5c54b4da2 100644 --- a/cmd/ore/do/gc.go +++ b/cmd/ore/do/gc.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/cmd/ore/do/list-keys.go b/cmd/ore/do/list-keys.go index 85e832c47..b866bc4b0 100644 --- a/cmd/ore/do/list-keys.go +++ b/cmd/ore/do/list-keys.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/cmd/ore/esx.go b/cmd/ore/esx.go index 44afdeb6f..46637ac3f 100644 --- a/cmd/ore/esx.go +++ b/cmd/ore/esx.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/esx/create-base.go b/cmd/ore/esx/create-base.go index eb1a30038..65813e254 100644 --- a/cmd/ore/esx/create-base.go +++ b/cmd/ore/esx/create-base.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/cmd/ore/esx/esx.go b/cmd/ore/esx/esx.go index 9156dddd2..9902df177 100644 --- a/cmd/ore/esx/esx.go +++ b/cmd/ore/esx/esx.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/cmd/ore/esx/list-vms.go b/cmd/ore/esx/list-vms.go index f994d386e..36329cd72 100644 --- a/cmd/ore/esx/list-vms.go +++ b/cmd/ore/esx/list-vms.go @@ -1,16 +1,5 @@ -// Copyright 2020 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/cmd/ore/esx/remove-base.go b/cmd/ore/esx/remove-base.go index 294023f16..684ee39e1 100644 --- a/cmd/ore/esx/remove-base.go +++ b/cmd/ore/esx/remove-base.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/cmd/ore/esx/remove-vms.go b/cmd/ore/esx/remove-vms.go index 3c7278edb..96421e8be 100644 --- a/cmd/ore/esx/remove-vms.go +++ b/cmd/ore/esx/remove-vms.go @@ -1,16 +1,5 @@ -// Copyright 2020 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/cmd/ore/gcloud.go b/cmd/ore/gcloud.go index 728db0098..0335a4681 100644 --- a/cmd/ore/gcloud.go +++ b/cmd/ore/gcloud.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/gcloud/create-image.go b/cmd/ore/gcloud/create-image.go index 9fda348bc..5f47bc32d 100644 --- a/cmd/ore/gcloud/create-image.go +++ b/cmd/ore/gcloud/create-image.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/delete-images.go b/cmd/ore/gcloud/delete-images.go index 376a796b9..c45ae6d87 100644 --- a/cmd/ore/gcloud/delete-images.go +++ b/cmd/ore/gcloud/delete-images.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/destroy.go b/cmd/ore/gcloud/destroy.go index 39a327f81..a03cd1903 100644 --- a/cmd/ore/gcloud/destroy.go +++ b/cmd/ore/gcloud/destroy.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/gc.go b/cmd/ore/gcloud/gc.go index 199b5fc76..44819efcd 100644 --- a/cmd/ore/gcloud/gc.go +++ b/cmd/ore/gcloud/gc.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/gcloud.go b/cmd/ore/gcloud/gcloud.go index f3a1aeebf..1783239f9 100644 --- a/cmd/ore/gcloud/gcloud.go +++ b/cmd/ore/gcloud/gcloud.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/image.go b/cmd/ore/gcloud/image.go index 38ade53fb..07d23a9f4 100644 --- a/cmd/ore/gcloud/image.go +++ b/cmd/ore/gcloud/image.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/index.go b/cmd/ore/gcloud/index.go index 8125ab473..d1910d664 100644 --- a/cmd/ore/gcloud/index.go +++ b/cmd/ore/gcloud/index.go @@ -1,16 +1,5 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/list.go b/cmd/ore/gcloud/list.go index 2312e120f..09c89f0c4 100644 --- a/cmd/ore/gcloud/list.go +++ b/cmd/ore/gcloud/list.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/sync.go b/cmd/ore/gcloud/sync.go index 52dea176f..ce08248ca 100644 --- a/cmd/ore/gcloud/sync.go +++ b/cmd/ore/gcloud/sync.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/gcloud/upload.go b/cmd/ore/gcloud/upload.go index e929647eb..52afb1d60 100644 --- a/cmd/ore/gcloud/upload.go +++ b/cmd/ore/gcloud/upload.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/cmd/ore/openstack.go b/cmd/ore/openstack.go index 936c70efa..8b8a65c06 100644 --- a/cmd/ore/openstack.go +++ b/cmd/ore/openstack.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/openstack/create.go b/cmd/ore/openstack/create.go index 4ff8e8560..c898aecd4 100644 --- a/cmd/ore/openstack/create.go +++ b/cmd/ore/openstack/create.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/cmd/ore/openstack/delete.go b/cmd/ore/openstack/delete.go index b7c62b891..d3ffaaac4 100644 --- a/cmd/ore/openstack/delete.go +++ b/cmd/ore/openstack/delete.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/cmd/ore/openstack/gc.go b/cmd/ore/openstack/gc.go index 7c3a4688e..01f4bedd0 100644 --- a/cmd/ore/openstack/gc.go +++ b/cmd/ore/openstack/gc.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/cmd/ore/openstack/openstack.go b/cmd/ore/openstack/openstack.go index 077db958b..5669813a8 100644 --- a/cmd/ore/openstack/openstack.go +++ b/cmd/ore/openstack/openstack.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/cmd/ore/ore.go b/cmd/ore/ore.go index 597669a17..586a812dc 100644 --- a/cmd/ore/ore.go +++ b/cmd/ore/ore.go @@ -1,16 +1,5 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/packet.go b/cmd/ore/packet.go index 407b6c030..49cdb62a0 100644 --- a/cmd/ore/packet.go +++ b/cmd/ore/packet.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/ore/packet/create-device.go b/cmd/ore/packet/create-device.go index 5c8d40a36..3d6a2f227 100644 --- a/cmd/ore/packet/create-device.go +++ b/cmd/ore/packet/create-device.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/cmd/ore/packet/delete-keys.go b/cmd/ore/packet/delete-keys.go index 908b7559c..4577aaa5b 100644 --- a/cmd/ore/packet/delete-keys.go +++ b/cmd/ore/packet/delete-keys.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/cmd/ore/packet/gc.go b/cmd/ore/packet/gc.go index 239565ed5..b24d42c5f 100644 --- a/cmd/ore/packet/gc.go +++ b/cmd/ore/packet/gc.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/cmd/ore/packet/list-keys.go b/cmd/ore/packet/list-keys.go index dc69fc13f..6e223675c 100644 --- a/cmd/ore/packet/list-keys.go +++ b/cmd/ore/packet/list-keys.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/cmd/ore/packet/packet.go b/cmd/ore/packet/packet.go index 1e2a05182..69d36ea83 100644 --- a/cmd/ore/packet/packet.go +++ b/cmd/ore/packet/packet.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/cmd/plume/containerlinux.go b/cmd/plume/containerlinux.go index db1557617..e495e651c 100644 --- a/cmd/plume/containerlinux.go +++ b/cmd/plume/containerlinux.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/plume/index.go b/cmd/plume/index.go index 629c8d91b..64de132ae 100644 --- a/cmd/plume/index.go +++ b/cmd/plume/index.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/plume/plume.go b/cmd/plume/plume.go index dea84813f..cbe78e85b 100644 --- a/cmd/plume/plume.go +++ b/cmd/plume/plume.go @@ -1,16 +1,5 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/plume/prerelease.go b/cmd/plume/prerelease.go index d17e67f43..2ec4a538e 100644 --- a/cmd/plume/prerelease.go +++ b/cmd/plume/prerelease.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/plume/prune.go b/cmd/plume/prune.go index 868489a11..df7460704 100644 --- a/cmd/plume/prune.go +++ b/cmd/plume/prune.go @@ -1,16 +1,5 @@ -// Copyright 2020 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/plume/release.go b/cmd/plume/release.go index 819c958d6..6349262c2 100644 --- a/cmd/plume/release.go +++ b/cmd/plume/release.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/plume/types.go b/cmd/plume/types.go index 0c8d012be..cedc54e24 100644 --- a/cmd/plume/types.go +++ b/cmd/plume/types.go @@ -1,16 +1,5 @@ -// Copyright 2016-2018 Red Hat Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/harness/_example/doc.go b/harness/_example/doc.go index 87a25e939..e36da2e42 100644 --- a/harness/_example/doc.go +++ b/harness/_example/doc.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // This example program illustrates how to create a custom test suite // based on the harness package. main.go contains the test suite glue diff --git a/harness/_example/main.go b/harness/_example/main.go index e01226a8b..853f00176 100644 --- a/harness/_example/main.go +++ b/harness/_example/main.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/harness/_example/tests.go b/harness/_example/tests.go index 69c4a9a77..8a9399544 100644 --- a/harness/_example/tests.go +++ b/harness/_example/tests.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/harness/doc.go b/harness/doc.go index 7a1d07781..a9453964c 100644 --- a/harness/doc.go +++ b/harness/doc.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2009 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 // Package harness provides a reusable test framework akin to the standard // "testing" Go package. For now there is no automated code generation diff --git a/harness/harness.go b/harness/harness.go index b2caa08a0..e7fe97be4 100644 --- a/harness/harness.go +++ b/harness/harness.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2009 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/harness_test.go b/harness/harness_test.go index a9aa65919..e8c7ff829 100644 --- a/harness/harness_test.go +++ b/harness/harness_test.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2016 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/match.go b/harness/match.go index 9a9a0a5c6..d69b43934 100644 --- a/harness/match.go +++ b/harness/match.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2015 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/match_test.go b/harness/match_test.go index 3c81d2b6d..d6317043d 100644 --- a/harness/match_test.go +++ b/harness/match_test.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2015 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/reporters/json.go b/harness/reporters/json.go index f0d5fec2e..f6a493172 100644 --- a/harness/reporters/json.go +++ b/harness/reporters/json.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package reporters diff --git a/harness/reporters/reporter.go b/harness/reporters/reporter.go index 239b917c0..cc670b634 100644 --- a/harness/reporters/reporter.go +++ b/harness/reporters/reporter.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package reporters diff --git a/harness/suite.go b/harness/suite.go index 7b58adb50..91d2364f4 100644 --- a/harness/suite.go +++ b/harness/suite.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2009 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/suite_test.go b/harness/suite_test.go index 868c3a312..e65bc36f6 100644 --- a/harness/suite_test.go +++ b/harness/suite_test.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2016 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/test.go b/harness/test.go index bb78678fe..09608df33 100644 --- a/harness/test.go +++ b/harness/test.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/test_test.go b/harness/test_test.go index 970e84e09..65a1bc8ff 100644 --- a/harness/test_test.go +++ b/harness/test_test.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package harness diff --git a/harness/testresult/status.go b/harness/testresult/status.go index 3817aed8f..ce8deaedf 100644 --- a/harness/testresult/status.go +++ b/harness/testresult/status.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package testresult diff --git a/kola/README.md b/kola/README.md index 03f92f953..f9d732f51 100644 --- a/kola/README.md +++ b/kola/README.md @@ -109,19 +109,8 @@ import ( ### File: kola/tests/foo/foo.go ```golang -// Copyright 2019 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package foo diff --git a/kola/cluster/cluster.go b/kola/cluster/cluster.go index 72218ea3d..a0f4f41b6 100644 --- a/kola/cluster/cluster.go +++ b/kola/cluster/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package cluster diff --git a/kola/harness.go b/kola/harness.go index 18df5f54d..99fe99e10 100644 --- a/kola/harness.go +++ b/kola/harness.go @@ -1,17 +1,5 @@ -// Copyright 2021 Kinvolk GmbH -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package kola diff --git a/kola/register/register.go b/kola/register/register.go index f16f3d1d8..76b087b92 100644 --- a/kola/register/register.go +++ b/kola/register/register.go @@ -1,17 +1,5 @@ -// Copyright 2021 Kinvolk GmbH -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package register diff --git a/kola/registry/registry.go b/kola/registry/registry.go index 26a16568c..fbf4b3998 100644 --- a/kola/registry/registry.go +++ b/kola/registry/registry.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package registry // Tests imported for registration side effects. These make up the OS test suite and is explicitly imported from the main package. diff --git a/kola/tests/bpf/local-gadget.go b/kola/tests/bpf/local-gadget.go index ce3b42b2c..7cb66e301 100644 --- a/kola/tests/bpf/local-gadget.go +++ b/kola/tests/bpf/local-gadget.go @@ -1,5 +1,6 @@ -// Copyright The Mantle Authors. +// Copyright The Mantle Authors // SPDX-License-Identifier: Apache-2.0 + package bpf import ( diff --git a/kola/tests/coretest/cloudinit.go b/kola/tests/coretest/cloudinit.go index 7fbddf099..fb78b3ea9 100644 --- a/kola/tests/coretest/cloudinit.go +++ b/kola/tests/coretest/cloudinit.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/coretest/core.go b/kola/tests/coretest/core.go index ebfc1480f..e556484c8 100644 --- a/kola/tests/coretest/core.go +++ b/kola/tests/coretest/core.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/coretest/dbus.go b/kola/tests/coretest/dbus.go index df462279e..06a7b0215 100644 --- a/kola/tests/coretest/dbus.go +++ b/kola/tests/coretest/dbus.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/coretest/etcd.go b/kola/tests/coretest/etcd.go index ed62c39b9..71bddfbb8 100644 --- a/kola/tests/coretest/etcd.go +++ b/kola/tests/coretest/etcd.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/coretest/fleet.go b/kola/tests/coretest/fleet.go index 5ba3ec540..2847ead68 100644 --- a/kola/tests/coretest/fleet.go +++ b/kola/tests/coretest/fleet.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/coretest/helpers.go b/kola/tests/coretest/helpers.go index 360ce66e9..0b8c06414 100644 --- a/kola/tests/coretest/helpers.go +++ b/kola/tests/coretest/helpers.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/coretest/testgroupglue.go b/kola/tests/coretest/testgroupglue.go index 4ec35f599..58e40ad49 100644 --- a/kola/tests/coretest/testgroupglue.go +++ b/kola/tests/coretest/testgroupglue.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package coretest import ( diff --git a/kola/tests/crio/crio.go b/kola/tests/crio/crio.go index 7890e7138..32835efaa 100644 --- a/kola/tests/crio/crio.go +++ b/kola/tests/crio/crio.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package crio diff --git a/kola/tests/docker/docker.go b/kola/tests/docker/docker.go index 7d85204cd..7f972ed5c 100644 --- a/kola/tests/docker/docker.go +++ b/kola/tests/docker/docker.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/kola/tests/docker/torcx_docker_flag.go b/kola/tests/docker/torcx_docker_flag.go index a57b9915a..06c043944 100644 --- a/kola/tests/docker/torcx_docker_flag.go +++ b/kola/tests/docker/torcx_docker_flag.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/kola/tests/docker/torcx_manifest_pkgs.go b/kola/tests/docker/torcx_manifest_pkgs.go index 6568dba88..120e1c6a6 100644 --- a/kola/tests/docker/torcx_manifest_pkgs.go +++ b/kola/tests/docker/torcx_manifest_pkgs.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package docker diff --git a/kola/tests/etcd/discovery.go b/kola/tests/etcd/discovery.go index 8e3c90d29..2e8be93b4 100644 --- a/kola/tests/etcd/discovery.go +++ b/kola/tests/etcd/discovery.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package etcd diff --git a/kola/tests/etcd/rhcos.go b/kola/tests/etcd/rhcos.go index 3d010bd0f..ecfcea96b 100644 --- a/kola/tests/etcd/rhcos.go +++ b/kola/tests/etcd/rhcos.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package etcd diff --git a/kola/tests/etcd/util.go b/kola/tests/etcd/util.go index 2e46f4012..05718cbf6 100644 --- a/kola/tests/etcd/util.go +++ b/kola/tests/etcd/util.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package etcd diff --git a/kola/tests/flannel/flannel.go b/kola/tests/flannel/flannel.go index 808dd07ab..84dbe7771 100644 --- a/kola/tests/flannel/flannel.go +++ b/kola/tests/flannel/flannel.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // flannel tests. tests assume flannel is using the 10.254.0.0/16 network. // these tests should really assert no units failed during boot (such as flanneld) diff --git a/kola/tests/ignition/empty.go b/kola/tests/ignition/empty.go index cd3bf3f19..d830b35c5 100644 --- a/kola/tests/ignition/empty.go +++ b/kola/tests/ignition/empty.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/execution.go b/kola/tests/ignition/execution.go index c44b1e39f..448be7da0 100644 --- a/kola/tests/ignition/execution.go +++ b/kola/tests/ignition/execution.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/filesystem.go b/kola/tests/ignition/filesystem.go index 91badbff5..cb38ae9c2 100644 --- a/kola/tests/ignition/filesystem.go +++ b/kola/tests/ignition/filesystem.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/oem.go b/kola/tests/ignition/oem.go index 1f3c368c6..1cb4fbe42 100644 --- a/kola/tests/ignition/oem.go +++ b/kola/tests/ignition/oem.go @@ -1,16 +1,5 @@ -// Copyright (c) Microsoft. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/passwd.go b/kola/tests/ignition/passwd.go index 895fac9a6..3085e1df6 100644 --- a/kola/tests/ignition/passwd.go +++ b/kola/tests/ignition/passwd.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/resource.go b/kola/tests/ignition/resource.go index 76b57f21e..4fc085d0a 100644 --- a/kola/tests/ignition/resource.go +++ b/kola/tests/ignition/resource.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/security.go b/kola/tests/ignition/security.go index 561205305..c8d3a8862 100644 --- a/kola/tests/ignition/security.go +++ b/kola/tests/ignition/security.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/sethostname.go b/kola/tests/ignition/sethostname.go index afddfe3d4..9b86857ea 100644 --- a/kola/tests/ignition/sethostname.go +++ b/kola/tests/ignition/sethostname.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/ssh.go b/kola/tests/ignition/ssh.go index 2ae87b39b..fdd7857ab 100644 --- a/kola/tests/ignition/ssh.go +++ b/kola/tests/ignition/ssh.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/ignition/systemd.go b/kola/tests/ignition/systemd.go index ed573d4ac..dec936d4d 100644 --- a/kola/tests/ignition/systemd.go +++ b/kola/tests/ignition/systemd.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ignition diff --git a/kola/tests/kubeadm/kubeadm.go b/kola/tests/kubeadm/kubeadm.go index 1270a6cd9..f716079e4 100644 --- a/kola/tests/kubeadm/kubeadm.go +++ b/kola/tests/kubeadm/kubeadm.go @@ -1,16 +1,6 @@ -// Copyright 2021 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package kubeadm import ( diff --git a/kola/tests/kubeadm/kubeadm_test.go b/kola/tests/kubeadm/kubeadm_test.go index 0c13521f6..74a8713d1 100644 --- a/kola/tests/kubeadm/kubeadm_test.go +++ b/kola/tests/kubeadm/kubeadm_test.go @@ -1,17 +1,5 @@ -// Copyright 2021 Kinvolk GmbH -// -// 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. -// local package import and it's behavior as a package +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package kubeadm diff --git a/kola/tests/kubeadm/templates.go b/kola/tests/kubeadm/templates.go index 5321928b1..e63af87c8 100644 --- a/kola/tests/kubeadm/templates.go +++ b/kola/tests/kubeadm/templates.go @@ -1,16 +1,6 @@ -// Copyright 2021 Kinvolk GmbH -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package kubeadm var ( diff --git a/kola/tests/locksmith/locksmith.go b/kola/tests/locksmith/locksmith.go index 1f407899b..35ff22117 100644 --- a/kola/tests/locksmith/locksmith.go +++ b/kola/tests/locksmith/locksmith.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package locksmith diff --git a/kola/tests/metadata/contents.go b/kola/tests/metadata/contents.go index 428844314..70ba4f70e 100644 --- a/kola/tests/metadata/contents.go +++ b/kola/tests/metadata/contents.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package metadata diff --git a/kola/tests/misc/auth.go b/kola/tests/misc/auth.go index f164b8e8c..7e8fc04d1 100644 --- a/kola/tests/misc/auth.go +++ b/kola/tests/misc/auth.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/aws.go b/kola/tests/misc/aws.go index 6fbf6ddf7..469bef533 100644 --- a/kola/tests/misc/aws.go +++ b/kola/tests/misc/aws.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/cloudinit.go b/kola/tests/misc/cloudinit.go index 4f68573bf..727f6c834 100644 --- a/kola/tests/misc/cloudinit.go +++ b/kola/tests/misc/cloudinit.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/files.go b/kola/tests/misc/files.go index 62809e1a5..25210158d 100644 --- a/kola/tests/misc/files.go +++ b/kola/tests/misc/files.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/grub.go b/kola/tests/misc/grub.go index 9c6aa94a7..7f117a025 100644 --- a/kola/tests/misc/grub.go +++ b/kola/tests/misc/grub.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/install.go b/kola/tests/misc/install.go index 5f7ee21b7..77efa5c75 100644 --- a/kola/tests/misc/install.go +++ b/kola/tests/misc/install.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/network.go b/kola/tests/misc/network.go index 5bac611e5..ae4e4161e 100644 --- a/kola/tests/misc/network.go +++ b/kola/tests/misc/network.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/nfs.go b/kola/tests/misc/nfs.go index cad81f903..42c04d058 100644 --- a/kola/tests/misc/nfs.go +++ b/kola/tests/misc/nfs.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/ntp.go b/kola/tests/misc/ntp.go index ec7f7599a..9819fb472 100644 --- a/kola/tests/misc/ntp.go +++ b/kola/tests/misc/ntp.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/omaha.go b/kola/tests/misc/omaha.go index 2129f3419..c4588780d 100644 --- a/kola/tests/misc/omaha.go +++ b/kola/tests/misc/omaha.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/raid.go b/kola/tests/misc/raid.go index 31abd31f4..fbea87707 100644 --- a/kola/tests/misc/raid.go +++ b/kola/tests/misc/raid.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/selinux.go b/kola/tests/misc/selinux.go index df54af4a6..8e394d467 100644 --- a/kola/tests/misc/selinux.go +++ b/kola/tests/misc/selinux.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/tls.go b/kola/tests/misc/tls.go index cd0ea2c6d..fc7a10276 100644 --- a/kola/tests/misc/tls.go +++ b/kola/tests/misc/tls.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/toolbox.go b/kola/tests/misc/toolbox.go index 153bf53d0..1cea81881 100644 --- a/kola/tests/misc/toolbox.go +++ b/kola/tests/misc/toolbox.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/update.go b/kola/tests/misc/update.go index d342cd2f4..2571291ea 100644 --- a/kola/tests/misc/update.go +++ b/kola/tests/misc/update.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/users.go b/kola/tests/misc/users.go index ceff50360..f53a1cccf 100644 --- a/kola/tests/misc/users.go +++ b/kola/tests/misc/users.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/misc/verity.go b/kola/tests/misc/verity.go index a44d3ba0c..3362b05c3 100644 --- a/kola/tests/misc/verity.go +++ b/kola/tests/misc/verity.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package misc diff --git a/kola/tests/ostree/basic.go b/kola/tests/ostree/basic.go index aecd03409..dcaf975e7 100644 --- a/kola/tests/ostree/basic.go +++ b/kola/tests/ostree/basic.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ostree diff --git a/kola/tests/ostree/unlock.go b/kola/tests/ostree/unlock.go index a5ca4fff6..dd204f443 100644 --- a/kola/tests/ostree/unlock.go +++ b/kola/tests/ostree/unlock.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ostree diff --git a/kola/tests/packages/ipvsadm.go b/kola/tests/packages/ipvsadm.go index ecbdaec79..8a503ee48 100644 --- a/kola/tests/packages/ipvsadm.go +++ b/kola/tests/packages/ipvsadm.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packages diff --git a/kola/tests/packages/packages.go b/kola/tests/packages/packages.go index 6e3b34dc5..09f0c5b1e 100644 --- a/kola/tests/packages/packages.go +++ b/kola/tests/packages/packages.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packages diff --git a/kola/tests/packages/python.go b/kola/tests/packages/python.go index a68b71c52..68ba2f41d 100644 --- a/kola/tests/packages/python.go +++ b/kola/tests/packages/python.go @@ -1,16 +1,5 @@ -// Copyright 2019 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packages diff --git a/kola/tests/podman/podman.go b/kola/tests/podman/podman.go index 4f099148c..493171f2c 100644 --- a/kola/tests/podman/podman.go +++ b/kola/tests/podman/podman.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package podman diff --git a/kola/tests/rpmostree/deployments.go b/kola/tests/rpmostree/deployments.go index 09b493aa0..f654230b4 100644 --- a/kola/tests/rpmostree/deployments.go +++ b/kola/tests/rpmostree/deployments.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package rpmostree diff --git a/kola/tests/rpmostree/status.go b/kola/tests/rpmostree/status.go index 9a44abd04..1ba40ad6d 100644 --- a/kola/tests/rpmostree/status.go +++ b/kola/tests/rpmostree/status.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package rpmostree diff --git a/kola/tests/systemd/journald.go b/kola/tests/systemd/journald.go index c5d2b37d2..a6ee3c5cc 100644 --- a/kola/tests/systemd/journald.go +++ b/kola/tests/systemd/journald.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package systemd diff --git a/kola/tests/systemd/sysusers.go b/kola/tests/systemd/sysusers.go index e542e5f37..e099eaf00 100644 --- a/kola/tests/systemd/sysusers.go +++ b/kola/tests/systemd/sysusers.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package systemd diff --git a/kola/tests/torcx/torcx.go b/kola/tests/torcx/torcx.go index b816f8592..2d87aa863 100644 --- a/kola/tests/torcx/torcx.go +++ b/kola/tests/torcx/torcx.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package torcx diff --git a/kola/tests/update/update.go b/kola/tests/update/update.go index 4079a2ea3..149ffdf90 100644 --- a/kola/tests/update/update.go +++ b/kola/tests/update/update.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package update diff --git a/kola/tests/util/containers.go b/kola/tests/util/containers.go index ba671e12f..a2c31de43 100644 --- a/kola/tests/util/containers.go +++ b/kola/tests/util/containers.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/kola/tests/util/rpmostree.go b/kola/tests/util/rpmostree.go index d5a2de79e..1e968c164 100644 --- a/kola/tests/util/rpmostree.go +++ b/kola/tests/util/rpmostree.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/kola/tests/util/template.go b/kola/tests/util/template.go index 0cf9b8fff..638dce5a5 100644 --- a/kola/tests/util/template.go +++ b/kola/tests/util/template.go @@ -1,16 +1,5 @@ -// Copyright 2021 The mantle Authors -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/kola/tests/util/update.go b/kola/tests/util/update.go index 02ffc6448..fafedaf20 100644 --- a/kola/tests/util/update.go +++ b/kola/tests/util/update.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/kola/torcx/torcx_manifest.go b/kola/torcx/torcx_manifest.go index d54908f49..1a39db5fc 100644 --- a/kola/torcx/torcx_manifest.go +++ b/kola/torcx/torcx_manifest.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package torcx diff --git a/lang/destructor/destructor.go b/lang/destructor/destructor.go index ec96a36fc..fa359b9fb 100644 --- a/lang/destructor/destructor.go +++ b/lang/destructor/destructor.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package destructor diff --git a/lang/doc.go b/lang/doc.go index c7dcea612..9e6a58e0c 100644 --- a/lang/doc.go +++ b/lang/doc.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // lang provides an assortment of Go language utilities package lang diff --git a/lang/maps/sorted.go b/lang/maps/sorted.go index 8f591906b..079cef474 100644 --- a/lang/maps/sorted.go +++ b/lang/maps/sorted.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package maps diff --git a/lang/maps/sorted_test.go b/lang/maps/sorted_test.go index 24391ea7b..b2d5db289 100644 --- a/lang/maps/sorted_test.go +++ b/lang/maps/sorted_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package maps diff --git a/lang/natsort/cmp.go b/lang/natsort/cmp.go index 4fb73072f..6241e00e3 100644 --- a/lang/natsort/cmp.go +++ b/lang/natsort/cmp.go @@ -1,17 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// Copyright 2000 Martin Pool -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // natsort implements Martin Pool's Natural Order String Comparison // Original implementation: https://github.com/sourcefrog/natsort diff --git a/lang/natsort/cmp_test.go b/lang/natsort/cmp_test.go index 199557e2a..1df033fc9 100644 --- a/lang/natsort/cmp_test.go +++ b/lang/natsort/cmp_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package natsort diff --git a/lang/natsort/sort.go b/lang/natsort/sort.go index cbe2ca6d4..0ab27d898 100644 --- a/lang/natsort/sort.go +++ b/lang/natsort/sort.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package natsort diff --git a/lang/natsort/sort_test.go b/lang/natsort/sort_test.go index 639a50e68..207ffea11 100644 --- a/lang/natsort/sort_test.go +++ b/lang/natsort/sort_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package natsort diff --git a/lang/reader/reader.go b/lang/reader/reader.go index 3e95002a2..c724b717e 100644 --- a/lang/reader/reader.go +++ b/lang/reader/reader.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package reader diff --git a/lang/reader/reader_test.go b/lang/reader/reader_test.go index a7907365c..eda13a19c 100644 --- a/lang/reader/reader_test.go +++ b/lang/reader/reader_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package reader diff --git a/lang/worker/group.go b/lang/worker/group.go index f9d625943..29c731c2b 100644 --- a/lang/worker/group.go +++ b/lang/worker/group.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/lang/worker/parallel.go b/lang/worker/parallel.go index 84dff8310..4352cd21d 100644 --- a/lang/worker/parallel.go +++ b/lang/worker/parallel.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/network/journal/_test/main.go b/network/journal/_test/main.go index a93b00fb8..c0408d996 100644 --- a/network/journal/_test/main.go +++ b/network/journal/_test/main.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/network/journal/entry.go b/network/journal/entry.go index 6a7cddc12..994f94239 100644 --- a/network/journal/entry.go +++ b/network/journal/entry.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/entry_test.go b/network/journal/entry_test.go index c9a938948..9858c1ae1 100644 --- a/network/journal/entry_test.go +++ b/network/journal/entry_test.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/export.go b/network/journal/export.go index 882736e32..f8a531235 100644 --- a/network/journal/export.go +++ b/network/journal/export.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/export_test.go b/network/journal/export_test.go index 68f4c1d97..0729f8c5f 100644 --- a/network/journal/export_test.go +++ b/network/journal/export_test.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/format.go b/network/journal/format.go index 8d47ccdd4..565266584 100644 --- a/network/journal/format.go +++ b/network/journal/format.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/format_test.go b/network/journal/format_test.go index f401b67fa..f2509915e 100644 --- a/network/journal/format_test.go +++ b/network/journal/format_test.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/record.go b/network/journal/record.go index 5eef00685..c66e4cdb8 100644 --- a/network/journal/record.go +++ b/network/journal/record.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/journal/record_test.go b/network/journal/record_test.go index 0bdbc6d6a..911f11baf 100644 --- a/network/journal/record_test.go +++ b/network/journal/record_test.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package journal diff --git a/network/mockssh/mockssh.go b/network/mockssh/mockssh.go index e110fa3ba..df74d0cd4 100644 --- a/network/mockssh/mockssh.go +++ b/network/mockssh/mockssh.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // mockssh implements a basic ssh server for use in unit tests. // diff --git a/network/mockssh/mockssh_test.go b/network/mockssh/mockssh_test.go index f6bc7924c..220db193b 100644 --- a/network/mockssh/mockssh_test.go +++ b/network/mockssh/mockssh_test.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2014 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package mockssh diff --git a/network/neterror/error.go b/network/neterror/error.go index 2868680d2..4a6260f1e 100644 --- a/network/neterror/error.go +++ b/network/neterror/error.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package neterror diff --git a/network/nsdialer.go b/network/nsdialer.go index f589d0651..63567fbf6 100644 --- a/network/nsdialer.go +++ b/network/nsdialer.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package network diff --git a/network/ntp/_ntpd/ntpd.go b/network/ntp/_ntpd/ntpd.go index 7f55b9c70..069b2b6b3 100644 --- a/network/ntp/_ntpd/ntpd.go +++ b/network/ntp/_ntpd/ntpd.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/network/ntp/protocol.go b/network/ntp/protocol.go index d2e00601f..f66c1f36b 100644 --- a/network/ntp/protocol.go +++ b/network/ntp/protocol.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // NTP v4 (RFC 5905) // http://tools.ietf.org/html/rfc5905 diff --git a/network/ntp/protocol_test.go b/network/ntp/protocol_test.go index 53f8f1d22..9e83e0fb4 100644 --- a/network/ntp/protocol_test.go +++ b/network/ntp/protocol_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ntp diff --git a/network/ntp/server.go b/network/ntp/server.go index fef49d586..591ecd9ce 100644 --- a/network/ntp/server.go +++ b/network/ntp/server.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ntp diff --git a/network/ntp/server_test.go b/network/ntp/server_test.go index 449f72b83..6267f661a 100644 --- a/network/ntp/server_test.go +++ b/network/ntp/server_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ntp diff --git a/network/retrydialer.go b/network/retrydialer.go index a3b3a3720..ab2eea6db 100644 --- a/network/retrydialer.go +++ b/network/retrydialer.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package network diff --git a/network/ssh.go b/network/ssh.go index cf7f80f90..17a6590f6 100644 --- a/network/ssh.go +++ b/network/ssh.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package network diff --git a/network/ssh_test.go b/network/ssh_test.go index eb4a77095..7bf17b73c 100644 --- a/network/ssh_test.go +++ b/network/ssh_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package network diff --git a/platform/api/aws/ami.go b/platform/api/aws/ami.go index 3697e121d..07ccad297 100644 --- a/platform/api/aws/ami.go +++ b/platform/api/aws/ami.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/aws/api.go b/platform/api/aws/api.go index 58bd61b80..83494564d 100644 --- a/platform/api/aws/api.go +++ b/platform/api/aws/api.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/aws/ec2.go b/platform/api/aws/ec2.go index 5bd73cbbf..860d86b8a 100644 --- a/platform/api/aws/ec2.go +++ b/platform/api/aws/ec2.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/aws/iam.go b/platform/api/aws/iam.go index 75b53ba50..1a53448ca 100644 --- a/platform/api/aws/iam.go +++ b/platform/api/aws/iam.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/aws/images.go b/platform/api/aws/images.go index 7846fd8d7..c0739ee0c 100644 --- a/platform/api/aws/images.go +++ b/platform/api/aws/images.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/aws/network.go b/platform/api/aws/network.go index df2746f6a..b8f36e3d7 100644 --- a/platform/api/aws/network.go +++ b/platform/api/aws/network.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/aws/s3.go b/platform/api/aws/s3.go index 071ca275c..62ab67282 100644 --- a/platform/api/aws/s3.go +++ b/platform/api/aws/s3.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/api/azure/api.go b/platform/api/azure/api.go index 177866dc3..3e46c492b 100644 --- a/platform/api/azure/api.go +++ b/platform/api/azure/api.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/groups.go b/platform/api/azure/groups.go index 40748b241..c991aa032 100644 --- a/platform/api/azure/groups.go +++ b/platform/api/azure/groups.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/image.go b/platform/api/azure/image.go index e22d518d6..d92b318cd 100644 --- a/platform/api/azure/image.go +++ b/platform/api/azure/image.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/instance.go b/platform/api/azure/instance.go index d46f79dca..79041052f 100644 --- a/platform/api/azure/instance.go +++ b/platform/api/azure/instance.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/network.go b/platform/api/azure/network.go index fbc4dc653..44f4551ed 100644 --- a/platform/api/azure/network.go +++ b/platform/api/azure/network.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/options.go b/platform/api/azure/options.go index 659a96c65..be1dd01ab 100644 --- a/platform/api/azure/options.go +++ b/platform/api/azure/options.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/replication.go b/platform/api/azure/replication.go index ddb3a47ea..17c332033 100644 --- a/platform/api/azure/replication.go +++ b/platform/api/azure/replication.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/storage.go b/platform/api/azure/storage.go index 595a8fbe3..53df07f3a 100644 --- a/platform/api/azure/storage.go +++ b/platform/api/azure/storage.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/api/azure/storage_mit.go b/platform/api/azure/storage_mit.go index f0fd201e9..8c1074447 100644 --- a/platform/api/azure/storage_mit.go +++ b/platform/api/azure/storage_mit.go @@ -1,30 +1,7 @@ -// Azure VHD Utilities for Go -// Copyright (c) Microsoft Corporation -// -// All rights reserved. -// -// MIT License -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// derived from https://github.com/Microsoft/azure-vhd-utils/blob/8fcb4e03cb4c0f928aa835c21708182dbb23fc83/vhdUploadCmdHandler.go +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 +// Azure VHD Utilities for Go package azure import ( diff --git a/platform/api/do/api.go b/platform/api/do/api.go index eac0786dc..6578daa0e 100644 --- a/platform/api/do/api.go +++ b/platform/api/do/api.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/platform/api/esx/api.go b/platform/api/esx/api.go index 578751363..be95421d3 100644 --- a/platform/api/esx/api.go +++ b/platform/api/esx/api.go @@ -1,17 +1,5 @@ -// Copyright (c) 2016 VMware, Inc. All Rights Reserved. -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/platform/api/esx/archive.go b/platform/api/esx/archive.go index 80d8a68b1..b4943b854 100644 --- a/platform/api/esx/archive.go +++ b/platform/api/esx/archive.go @@ -1,17 +1,5 @@ -// Copyright (c) 2016 VMware, Inc. All Rights Reserved. -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/platform/api/esx/lease.go b/platform/api/esx/lease.go index 15db173bc..e10398045 100644 --- a/platform/api/esx/lease.go +++ b/platform/api/esx/lease.go @@ -1,17 +1,5 @@ -// Copyright (c) 2016 VMware, Inc. All Rights Reserved. -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/platform/api/gcloud/api.go b/platform/api/gcloud/api.go index e0e82b62d..15f7bd5a3 100644 --- a/platform/api/gcloud/api.go +++ b/platform/api/gcloud/api.go @@ -1,17 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2015 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/api/gcloud/compute.go b/platform/api/gcloud/compute.go index 201c751b2..2c6fbec71 100644 --- a/platform/api/gcloud/compute.go +++ b/platform/api/gcloud/compute.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/api/gcloud/image.go b/platform/api/gcloud/image.go index f68161c1f..4e2291fbc 100644 --- a/platform/api/gcloud/image.go +++ b/platform/api/gcloud/image.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/api/gcloud/pending.go b/platform/api/gcloud/pending.go index 614333e41..e050cc9cf 100644 --- a/platform/api/gcloud/pending.go +++ b/platform/api/gcloud/pending.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/api/openstack/api.go b/platform/api/openstack/api.go index e4c4bff7f..b7e4dea0b 100644 --- a/platform/api/openstack/api.go +++ b/platform/api/openstack/api.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/platform/api/packet/api.go b/platform/api/packet/api.go index 7484e8a42..22e5adcd2 100644 --- a/platform/api/packet/api.go +++ b/platform/api/packet/api.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/platform/cluster.go b/platform/cluster.go index 34f19e3b3..d92e7bde5 100644 --- a/platform/cluster.go +++ b/platform/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package platform diff --git a/platform/conf/conf.go b/platform/conf/conf.go index baf6e9c24..0ae700669 100644 --- a/platform/conf/conf.go +++ b/platform/conf/conf.go @@ -1,16 +1,5 @@ -// Copyright 2016-2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package conf diff --git a/platform/conf/conf_test.go b/platform/conf/conf_test.go index 10e57287b..396bd717b 100644 --- a/platform/conf/conf_test.go +++ b/platform/conf/conf_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package conf diff --git a/platform/flight.go b/platform/flight.go index 92eabffde..8053ba16b 100644 --- a/platform/flight.go +++ b/platform/flight.go @@ -1,17 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package platform diff --git a/platform/journal.go b/platform/journal.go index dd6c42b32..859cf0627 100644 --- a/platform/journal.go +++ b/platform/journal.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package platform diff --git a/platform/local/cluster.go b/platform/local/cluster.go index e057b83f1..e7372a1d3 100644 --- a/platform/local/cluster.go +++ b/platform/local/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/local/configdrive.go b/platform/local/configdrive.go index e9bca03f5..5c2de7e79 100644 --- a/platform/local/configdrive.go +++ b/platform/local/configdrive.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/local/dnsmasq.go b/platform/local/dnsmasq.go index 5dd819bac..34f23ad77 100644 --- a/platform/local/dnsmasq.go +++ b/platform/local/dnsmasq.go @@ -1,17 +1,5 @@ -// Copyright 2021 Kinvolk GmbH -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/local/dnsmasq_test.go b/platform/local/dnsmasq_test.go index fa5da21be..996545b5d 100644 --- a/platform/local/dnsmasq_test.go +++ b/platform/local/dnsmasq_test.go @@ -1,17 +1,5 @@ -// Copyright 2021 Kinvolk -// -// 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. -// local package import and it's behavior as a package +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // TODO: use package local_test to validate package local diff --git a/platform/local/etcd.go b/platform/local/etcd.go index 4f34a12a4..b183ab319 100644 --- a/platform/local/etcd.go +++ b/platform/local/etcd.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/local/flight.go b/platform/local/flight.go index 74a732c22..767428b1c 100644 --- a/platform/local/flight.go +++ b/platform/local/flight.go @@ -1,17 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/local/omaha.go b/platform/local/omaha.go index c08e3da92..5a8797993 100644 --- a/platform/local/omaha.go +++ b/platform/local/omaha.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/local/tap.go b/platform/local/tap.go index 57aeba9a3..0791bbf89 100644 --- a/platform/local/tap.go +++ b/platform/local/tap.go @@ -1,16 +1,5 @@ -// Copyright 2014-2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package local diff --git a/platform/machine/aws/cluster.go b/platform/machine/aws/cluster.go index 3d10deee9..87dd17b77 100644 --- a/platform/machine/aws/cluster.go +++ b/platform/machine/aws/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/machine/aws/flight.go b/platform/machine/aws/flight.go index 7ab00f6da..d64d8ff11 100644 --- a/platform/machine/aws/flight.go +++ b/platform/machine/aws/flight.go @@ -1,17 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/machine/aws/machine.go b/platform/machine/aws/machine.go index c22206939..daf8a2b2e 100644 --- a/platform/machine/aws/machine.go +++ b/platform/machine/aws/machine.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package aws diff --git a/platform/machine/azure/cluster.go b/platform/machine/azure/cluster.go index 567b526b9..1e4cb86b0 100644 --- a/platform/machine/azure/cluster.go +++ b/platform/machine/azure/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/machine/azure/flight.go b/platform/machine/azure/flight.go index 8acd18766..a8f1b024f 100644 --- a/platform/machine/azure/flight.go +++ b/platform/machine/azure/flight.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/machine/azure/machine.go b/platform/machine/azure/machine.go index 1daa24133..ef50735a8 100644 --- a/platform/machine/azure/machine.go +++ b/platform/machine/azure/machine.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in campliance 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package azure diff --git a/platform/machine/do/cluster.go b/platform/machine/do/cluster.go index 1b2eb6204..4841870b7 100644 --- a/platform/machine/do/cluster.go +++ b/platform/machine/do/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/platform/machine/do/flight.go b/platform/machine/do/flight.go index a2d98dae9..1c1a5c70f 100644 --- a/platform/machine/do/flight.go +++ b/platform/machine/do/flight.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/platform/machine/do/machine.go b/platform/machine/do/machine.go index caa49ffba..fcd43f731 100644 --- a/platform/machine/do/machine.go +++ b/platform/machine/do/machine.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package do diff --git a/platform/machine/esx/cluster.go b/platform/machine/esx/cluster.go index d6ac6a847..8614612bb 100644 --- a/platform/machine/esx/cluster.go +++ b/platform/machine/esx/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/platform/machine/esx/flight.go b/platform/machine/esx/flight.go index 8a246916e..8a9cf2549 100644 --- a/platform/machine/esx/flight.go +++ b/platform/machine/esx/flight.go @@ -1,17 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/platform/machine/esx/machine.go b/platform/machine/esx/machine.go index 6adf5b3be..886f1ced0 100644 --- a/platform/machine/esx/machine.go +++ b/platform/machine/esx/machine.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package esx diff --git a/platform/machine/external/cluster.go b/platform/machine/external/cluster.go index dbb9d6a47..077232fce 100644 --- a/platform/machine/external/cluster.go +++ b/platform/machine/external/cluster.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + // 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 diff --git a/platform/machine/external/console.go b/platform/machine/external/console.go index 5e55585e2..ea494e5bf 100644 --- a/platform/machine/external/console.go +++ b/platform/machine/external/console.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + // 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 diff --git a/platform/machine/external/flight.go b/platform/machine/external/flight.go index 89b67f50d..9c81d05d2 100644 --- a/platform/machine/external/flight.go +++ b/platform/machine/external/flight.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + // 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 diff --git a/platform/machine/external/machine.go b/platform/machine/external/machine.go index 9f8ba03c5..1789fcce2 100644 --- a/platform/machine/external/machine.go +++ b/platform/machine/external/machine.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + // 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 diff --git a/platform/machine/gcloud/cluster.go b/platform/machine/gcloud/cluster.go index eda46e4e3..324582db3 100644 --- a/platform/machine/gcloud/cluster.go +++ b/platform/machine/gcloud/cluster.go @@ -1,17 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2015 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and Go Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/machine/gcloud/flight.go b/platform/machine/gcloud/flight.go index fdce7397e..8e045a16d 100644 --- a/platform/machine/gcloud/flight.go +++ b/platform/machine/gcloud/flight.go @@ -1,18 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2015 The Go Authors. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/machine/gcloud/machine.go b/platform/machine/gcloud/machine.go index 72ce1f74d..410639ee0 100644 --- a/platform/machine/gcloud/machine.go +++ b/platform/machine/gcloud/machine.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package gcloud diff --git a/platform/machine/openstack/cluster.go b/platform/machine/openstack/cluster.go index e69b6a3b0..2b09018e3 100644 --- a/platform/machine/openstack/cluster.go +++ b/platform/machine/openstack/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/platform/machine/openstack/flight.go b/platform/machine/openstack/flight.go index 8eec48a80..4d5349dc1 100644 --- a/platform/machine/openstack/flight.go +++ b/platform/machine/openstack/flight.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/platform/machine/openstack/machine.go b/platform/machine/openstack/machine.go index 5e89653a2..0f9062e0b 100644 --- a/platform/machine/openstack/machine.go +++ b/platform/machine/openstack/machine.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package openstack diff --git a/platform/machine/packet/cluster.go b/platform/machine/packet/cluster.go index 2ba7e46e7..4e206f500 100644 --- a/platform/machine/packet/cluster.go +++ b/platform/machine/packet/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/platform/machine/packet/console.go b/platform/machine/packet/console.go index 97f99a2e7..5c379c5dd 100644 --- a/platform/machine/packet/console.go +++ b/platform/machine/packet/console.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/platform/machine/packet/flight.go b/platform/machine/packet/flight.go index 68439fc6a..6d66e2e78 100644 --- a/platform/machine/packet/flight.go +++ b/platform/machine/packet/flight.go @@ -1,17 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/platform/machine/packet/machine.go b/platform/machine/packet/machine.go index 3f3c3468f..4f291724d 100644 --- a/platform/machine/packet/machine.go +++ b/platform/machine/packet/machine.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package packet diff --git a/platform/machine/qemu/cluster.go b/platform/machine/qemu/cluster.go index b0a81ad66..77693caff 100644 --- a/platform/machine/qemu/cluster.go +++ b/platform/machine/qemu/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package qemu diff --git a/platform/machine/qemu/flight.go b/platform/machine/qemu/flight.go index 487a2452d..809af5bec 100644 --- a/platform/machine/qemu/flight.go +++ b/platform/machine/qemu/flight.go @@ -1,17 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package qemu diff --git a/platform/machine/qemu/machine.go b/platform/machine/qemu/machine.go index cfcf59bfb..078339b97 100644 --- a/platform/machine/qemu/machine.go +++ b/platform/machine/qemu/machine.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package qemu diff --git a/platform/machine/unprivqemu/cluster.go b/platform/machine/unprivqemu/cluster.go index ffd3c14b6..d3a122b6f 100644 --- a/platform/machine/unprivqemu/cluster.go +++ b/platform/machine/unprivqemu/cluster.go @@ -1,16 +1,5 @@ -// Copyright 2019 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package unprivqemu diff --git a/platform/machine/unprivqemu/flight.go b/platform/machine/unprivqemu/flight.go index 883bffa08..b8128913f 100644 --- a/platform/machine/unprivqemu/flight.go +++ b/platform/machine/unprivqemu/flight.go @@ -1,16 +1,5 @@ -// Copyright 2019 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package unprivqemu diff --git a/platform/machine/unprivqemu/machine.go b/platform/machine/unprivqemu/machine.go index 16bb5f56e..79e467820 100644 --- a/platform/machine/unprivqemu/machine.go +++ b/platform/machine/unprivqemu/machine.go @@ -1,16 +1,5 @@ -// Copyright 2019 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package unprivqemu diff --git a/platform/platform.go b/platform/platform.go index 5c616041c..216f791ec 100644 --- a/platform/platform.go +++ b/platform/platform.go @@ -1,16 +1,5 @@ -// Copyright 2017 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package platform diff --git a/platform/qemu.go b/platform/qemu.go index bb0ebc724..cc8b013d8 100644 --- a/platform/qemu.go +++ b/platform/qemu.go @@ -1,16 +1,5 @@ -// Copyright 2019 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package platform diff --git a/platform/util.go b/platform/util.go index e9d2c5f87..f9ea04519 100644 --- a/platform/util.go +++ b/platform/util.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package platform diff --git a/sdk/const.go b/sdk/const.go index 9bde87d1f..e8571c99b 100644 --- a/sdk/const.go +++ b/sdk/const.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/create.go b/sdk/create.go index b9287f63d..5763be26a 100644 --- a/sdk/create.go +++ b/sdk/create.go @@ -1,17 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2011 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/download.go b/sdk/download.go index b40927b1a..213654db4 100644 --- a/sdk/download.go +++ b/sdk/download.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/enter.go b/sdk/enter.go index 8724ef066..29a420a1c 100644 --- a/sdk/enter.go +++ b/sdk/enter.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/omaha/generate.go b/sdk/omaha/generate.go index 880ee4e62..fedc958c7 100644 --- a/sdk/omaha/generate.go +++ b/sdk/omaha/generate.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package omaha diff --git a/sdk/repo.go b/sdk/repo.go index cbc0123d4..4442454da 100644 --- a/sdk/repo.go +++ b/sdk/repo.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/repo/manifest.go b/sdk/repo/manifest.go index 408056258..cae4ee593 100644 --- a/sdk/repo/manifest.go +++ b/sdk/repo/manifest.go @@ -1,17 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// Copyright 2008 The Android Open Source Project -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // repo is a limited implementation of the python repo git front end. // diff --git a/sdk/repo/manifest_test.go b/sdk/repo/manifest_test.go index c738ed206..89533ef5b 100644 --- a/sdk/repo/manifest_test.go +++ b/sdk/repo/manifest_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/sdk/repo/verify.go b/sdk/repo/verify.go index 7184962d2..2e08c6d03 100644 --- a/sdk/repo/verify.go +++ b/sdk/repo/verify.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/sdk/verify.go b/sdk/verify.go index f8ca6c412..75e192522 100644 --- a/sdk/verify.go +++ b/sdk/verify.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/verify_test.go b/sdk/verify_test.go index 3906ab37d..4afd2d326 100644 --- a/sdk/verify_test.go +++ b/sdk/verify_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/version.go b/sdk/version.go index f3face86d..657731b4f 100644 --- a/sdk/version.go +++ b/sdk/version.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/sdk/version_test.go b/sdk/version_test.go index c920920e7..922fdfb95 100644 --- a/sdk/version_test.go +++ b/sdk/version_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package sdk diff --git a/storage/bucket.go b/storage/bucket.go index 33bac4b37..7bd48a4a8 100644 --- a/storage/bucket.go +++ b/storage/bucket.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/bucket_test.go b/storage/bucket_test.go index 84b3cb4dc..3406b969c 100644 --- a/storage/bucket_test.go +++ b/storage/bucket_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/error.go b/storage/error.go index 322ed7ac5..7146e233f 100644 --- a/storage/error.go +++ b/storage/error.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/index/indexer.go b/storage/index/indexer.go index 84dfcaa2b..9b267fbdb 100644 --- a/storage/index/indexer.go +++ b/storage/index/indexer.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package index diff --git a/storage/index/job.go b/storage/index/job.go index d6f477351..898c5d1df 100644 --- a/storage/index/job.go +++ b/storage/index/job.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package index diff --git a/storage/index/set.go b/storage/index/set.go index c39539493..b0013e14e 100644 --- a/storage/index/set.go +++ b/storage/index/set.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package index diff --git a/storage/index/sync.go b/storage/index/sync.go index 0286ac42f..402ab9cea 100644 --- a/storage/index/sync.go +++ b/storage/index/sync.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package index diff --git a/storage/index/tree.go b/storage/index/tree.go index 7b34742d6..1f7b40c0a 100644 --- a/storage/index/tree.go +++ b/storage/index/tree.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package index diff --git a/storage/object.go b/storage/object.go index 525dba411..87f839bc2 100644 --- a/storage/object.go +++ b/storage/object.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/object_test.go b/storage/object_test.go index 899df1fa5..c97d33b3f 100644 --- a/storage/object_test.go +++ b/storage/object_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package storage diff --git a/storage/storage.go b/storage/storage.go index e331f8539..33b2f1379 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // storage provides a high level interface for Google Cloud Storage package storage diff --git a/storage/sync.go b/storage/sync.go index ceaf07793..84bcb2949 100644 --- a/storage/sync.go +++ b/storage/sync.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package storage diff --git a/system/anonfile_linux.go b/system/anonfile_linux.go index a4c841b15..3bfc502af 100644 --- a/system/anonfile_linux.go +++ b/system/anonfile_linux.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/anonfile_linux_test.go b/system/anonfile_linux_test.go index 18dc0b25d..7bd9e0aaa 100644 --- a/system/anonfile_linux_test.go +++ b/system/anonfile_linux_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/arch.go b/system/arch.go index 06f0b00b9..33e2bd2fb 100644 --- a/system/arch.go +++ b/system/arch.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/copy.go b/system/copy.go index cb87d48d9..ba7b74e17 100644 --- a/system/copy.go +++ b/system/copy.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/copy_test.go b/system/copy_test.go index d7e9a1ce8..d58078066 100644 --- a/system/copy_test.go +++ b/system/copy_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/exec/exec.go b/system/exec/exec.go index 5b196a407..3bf660e1a 100644 --- a/system/exec/exec.go +++ b/system/exec/exec.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // exec is extension of the standard os.exec package. // Adds a handy dandy interface and assorted other features. diff --git a/system/exec/exec_test.go b/system/exec/exec_test.go index f80cb2889..8bf7bf284 100644 --- a/system/exec/exec_test.go +++ b/system/exec/exec_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package exec diff --git a/system/exec/multicall.go b/system/exec/multicall.go index a8944a9bb..d0620ac9b 100644 --- a/system/exec/multicall.go +++ b/system/exec/multicall.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // inspired by github.com/docker/docker/pkg/reexec diff --git a/system/exec/multicall_test.go b/system/exec/multicall_test.go index bbd0a5f07..2ac46e3e8 100644 --- a/system/exec/multicall_test.go +++ b/system/exec/multicall_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package exec diff --git a/system/hostname.go b/system/hostname.go index 2b1819676..1eddc4eb5 100644 --- a/system/hostname.go +++ b/system/hostname.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/mount_linux.go b/system/mount_linux.go index 42ccfeb76..ae36cfadd 100644 --- a/system/mount_linux.go +++ b/system/mount_linux.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/mount_linux_test.go b/system/mount_linux_test.go index 7847eb53b..591974f58 100644 --- a/system/mount_linux_test.go +++ b/system/mount_linux_test.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/ns/enter.go b/system/ns/enter.go index b65c11869..10eca0b18 100644 --- a/system/ns/enter.go +++ b/system/ns/enter.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ns diff --git a/system/ns/exec.go b/system/ns/exec.go index d547b4fbd..1eec09630 100644 --- a/system/ns/exec.go +++ b/system/ns/exec.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package ns diff --git a/system/symlink.go b/system/symlink.go index 697f131a1..eac6e2c6a 100644 --- a/system/symlink.go +++ b/system/symlink.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package system diff --git a/system/targen/ldd.go b/system/targen/ldd.go index 0e8bb8e38..896526838 100644 --- a/system/targen/ldd.go +++ b/system/targen/ldd.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package targen diff --git a/system/targen/ldd_test.go b/system/targen/ldd_test.go index b5c2cc8f5..a82b7613a 100644 --- a/system/targen/ldd_test.go +++ b/system/targen/ldd_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package targen diff --git a/system/targen/tar.go b/system/targen/tar.go index 68fdcc967..46c51603f 100644 --- a/system/targen/tar.go +++ b/system/targen/tar.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // exec is extension of the standard os.exec package. // Adds a handy dandy interface and assorted other features. diff --git a/system/targen/tar_test.go b/system/targen/tar_test.go index 6099390c6..f17919bb0 100644 --- a/system/targen/tar_test.go +++ b/system/targen/tar_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // exec is extension of the standard os.exec package. // Adds a handy dandy interface and assorted other features. diff --git a/system/user/user.go b/system/user/user.go index 9bcd663b2..f4f2f0b4f 100644 --- a/system/user/user.go +++ b/system/user/user.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 // user provides an extended User struct to simplify usage package user diff --git a/system/user/user_test.go b/system/user/user_test.go index f2de9df6c..b00e03412 100644 --- a/system/user/user_test.go +++ b/system/user/user_test.go @@ -1,17 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// Copyright 2011 The Go Authors. -// -// 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. +// Copyright The Mantle Authors and The Go Authors +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/update/_apply/main.go b/update/_apply/main.go index af5d0692e..eae7685e1 100644 --- a/update/_apply/main.go +++ b/update/_apply/main.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/update/_dump/main.go b/update/_dump/main.go index 79d417656..0ca55f904 100644 --- a/update/_dump/main.go +++ b/update/_dump/main.go @@ -1,3 +1,6 @@ +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/update/generator/bzip2.go b/update/generator/bzip2.go index 2f6dceaa5..f98e4404a 100644 --- a/update/generator/bzip2.go +++ b/update/generator/bzip2.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/bzip2_test.go b/update/generator/bzip2_test.go index 133c97450..ac2a11b1c 100644 --- a/update/generator/bzip2_test.go +++ b/update/generator/bzip2_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/full.go b/update/generator/full.go index 30bdf9cb2..152ea0b4d 100644 --- a/update/generator/full.go +++ b/update/generator/full.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/full_test.go b/update/generator/full_test.go index 401779d67..88eb5c152 100644 --- a/update/generator/full_test.go +++ b/update/generator/full_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/generator.go b/update/generator/generator.go index 651c6f97c..9e83506fa 100644 --- a/update/generator/generator.go +++ b/update/generator/generator.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/generator_test.go b/update/generator/generator_test.go index a81ba7ff5..9e6d6b20a 100644 --- a/update/generator/generator_test.go +++ b/update/generator/generator_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/info.go b/update/generator/info.go index ec4941ec1..fc052c869 100644 --- a/update/generator/info.go +++ b/update/generator/info.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/info_test.go b/update/generator/info_test.go index 25eff38d1..a526ec922 100644 --- a/update/generator/info_test.go +++ b/update/generator/info_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/generator/testdata_test.go b/update/generator/testdata_test.go index 9aa013678..28c81e956 100644 --- a/update/generator/testdata_test.go +++ b/update/generator/testdata_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package generator diff --git a/update/metadata/update_metadata.go b/update/metadata/update_metadata.go index 141bc56a9..6988023e7 100644 --- a/update/metadata/update_metadata.go +++ b/update/metadata/update_metadata.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 //go:generate protoc --go_out=import_path=$GOPACKAGE:. update_metadata.proto diff --git a/update/operation.go b/update/operation.go index ce8c36f84..412a4e5ea 100644 --- a/update/operation.go +++ b/update/operation.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package update diff --git a/update/payload.go b/update/payload.go index fff6edb79..45a4ba685 100644 --- a/update/payload.go +++ b/update/payload.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package update diff --git a/update/signature/signature.go b/update/signature/signature.go index 27b136a54..8ddbbd3e7 100644 --- a/update/signature/signature.go +++ b/update/signature/signature.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package signature diff --git a/update/signature/signature_test.go b/update/signature/signature_test.go index 90db629bf..f538ad2b3 100644 --- a/update/signature/signature_test.go +++ b/update/signature/signature_test.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package signature diff --git a/update/updater.go b/update/updater.go index 6856855e8..6e1d57b62 100644 --- a/update/updater.go +++ b/update/updater.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package update diff --git a/util/bunzip.go b/util/bunzip.go index d17c1acac..55229fcb6 100644 --- a/util/bunzip.go +++ b/util/bunzip.go @@ -1,16 +1,5 @@ -// Copyright 2016 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/util/common.go b/util/common.go index f796220d1..1c3a5c836 100644 --- a/util/common.go +++ b/util/common.go @@ -1,16 +1,5 @@ -// Copyright 2018 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/util/image.go b/util/image.go index f60093306..0b8c7087f 100644 --- a/util/image.go +++ b/util/image.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/util/logio.go b/util/logio.go index 0f1cdde09..60441babf 100644 --- a/util/logio.go +++ b/util/logio.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/util/retry.go b/util/retry.go index 554f6fbe7..8f1a288fd 100644 --- a/util/retry.go +++ b/util/retry.go @@ -1,16 +1,5 @@ -// Copyright 2015 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/util/xz.go b/util/xz.go index b352fe9d8..8250178e4 100644 --- a/util/xz.go +++ b/util/xz.go @@ -1,16 +1,5 @@ -// Copyright 2018 Red Hat. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/version/version.go b/version/version.go index 8849e9ef7..20df60d59 100644 --- a/version/version.go +++ b/version/version.go @@ -1,16 +1,5 @@ -// Copyright 2014 CoreOS, Inc. -// -// 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. +// Copyright The Mantle Authors +// SPDX-License-Identifier: Apache-2.0 package version From f63ab633ce53b65fc156db09fcf2d6b9965d3319 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Tue, 7 Dec 2021 16:46:42 +0100 Subject: [PATCH 2/2] CHANGELOG: update changelog for SPDX license --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 677900142..13e2c4490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Flannel version to 0.14.0 ([#245](https://github.com/flatcar-linux/mantle/pull/245)) - Renamed the project name from `github.com/coreos/mantle` to `github.com/flatcar-linux/mantle` ([#241](https://github.com/flatcar-linux/mantle/pull/241)) - Default server on Equinix Metal ([#256](https://github.com/flatcar-linux/mantle/pull/256), [#257](https://github.com/flatcar-linux/mantle/pull/257)) +- Use SPDX License identifier for source files ([#263](https://github.com/flatcar-linux/mantle/pull/263)) ### Removed - Legacy Kola Kubernetes tests ([#250](https://github.com/flatcar-linux/mantle/pull/250))