Skip to content

Commit 478a75e

Browse files
csweichelroboquat
authored andcommitted
Switch license to AGPL
1 parent 3c4b667 commit 478a75e

File tree

2,397 files changed

+31866
-32135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,397 files changed

+31866
-32135
lines changed

Diff for: components/BUILD.yaml

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) 2021 Gitpod GmbH. All rights reserved.
22
# Licensed under the GNU Affero General Public License (AGPL).
3-
# See License-AGPL.txt in the project root for license information.
3+
# See License.AGPL.txt in the project root for license information.
44

55
packages:
66
- name: all
@@ -140,23 +140,10 @@ scripts:
140140
deps:
141141
- dev/addlicense:app
142142
script: |
143-
tmpdir=$(mktemp -d)
144-
echo "Temp Dir: $tmpdir"
145-
146-
leeway collect files --format-string '{{ range . }}{{ .Name }}{{"\n"}}{{ end }}' | uniq > $tmpdir/all
147-
leeway collect files --variant oss --format-string '{{ range . }}{{ .Name }}{{"\n"}}{{ end }}' | uniq > $tmpdir/oss
148-
149-
grep -v -f $tmpdir/oss $tmpdir/all > $tmpdir/ee
150-
grep -E "^components\/ee\/" $tmpdir/oss >> $tmpdir/ee
151-
grep -v -E "^chart\/" $tmpdir/oss | grep -v -E "^install\/" > $tmpdir/agpl
152-
grep -v -f $tmpdir/agpl $tmpdir/oss > $tmpdir/mit
153-
154143
# set `export LICENCE_HEADER_CHECK_ONLY=true` to just check if all headers are there (and exit with status code 1 if not)
155144
check=$([ "$LICENCE_HEADER_CHECK_ONLY" = true ] && printf "%s" '-check')
156145
157-
cat $tmpdir/ee | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l gpshf . || exit 1
158-
cat $tmpdir/agpl | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l agpl . || exit 1
159-
cat $tmpdir/mit | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l mit . || exit 1
146+
leeway collect files --format-string '{{ range . }}{{ .Name }}{{"\n"}}{{ end }}' | sort | uniq | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l agpl . || exit 1
160147
- name: dejson-log-output
161148
script: |-
162149
jq -Rr '. as $line |

Diff for: components/blobserve/cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cmd
66

Diff for: components/blobserve/cmd/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cmd
66

Diff for: components/blobserve/debug.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.
33
# Licensed under the GNU Affero General Public License (AGPL).
4-
# See License-AGPL.txt in the project root for license information.
4+
# See License.AGPL.txt in the project root for license information.
55

66
set -Eeuo pipefail
77
source /workspace/gitpod/scripts/ws-deploy.sh deployment blobserve

Diff for: components/blobserve/leeway.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
# Licensed under the GNU Affero General Public License (AGPL).
3-
# See License-AGPL.txt in the project root for license information.
3+
# See License.AGPL.txt in the project root for license information.
44

55
FROM alpine:3.16
66

Diff for: components/blobserve/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package main
66

Diff for: components/blobserve/pkg/blobserve/blobserve.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package blobserve
66

Diff for: components/blobserve/pkg/blobserve/blobspace.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package blobserve
66

Diff for: components/blobserve/pkg/blobserve/blobspace_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package blobserve
66

Diff for: components/blobserve/pkg/blobserve/refstore.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package blobserve
66

Diff for: components/blobserve/pkg/blobserve/refstore_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package blobserve
66

Diff for: components/blobserve/pkg/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package config
66

Diff for: components/common-go/BUILD.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
# Licensed under the GNU Affero General Public License (AGPL).
3-
# See License-AGPL.txt in the project root for license information.
3+
# See License.AGPL.txt in the project root for license information.
44

55
packages:
66
- name: lib
77
type: go
88
srcs:
99
- "**"
1010
config:
11-
packaging: library
11+
packaging: library

Diff for: components/common-go/analytics/analytics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package analytics
66

Diff for: components/common-go/baseserver/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver
66

Diff for: components/common-go/baseserver/metrics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver
66

Diff for: components/common-go/baseserver/options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver
66

Diff for: components/common-go/baseserver/options_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver
66

Diff for: components/common-go/baseserver/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver
66

Diff for: components/common-go/baseserver/server_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver_test
66

Diff for: components/common-go/baseserver/testing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package baseserver
66

Diff for: components/common-go/cgroups/cgroup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups
66

Diff for: components/common-go/cgroups/cgroups_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups
66

Diff for: components/common-go/cgroups/v1/cpu.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups_v1
66

Diff for: components/common-go/cgroups/v1/memory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups_v1
66

Diff for: components/common-go/cgroups/v2/cpu.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups_v2
66

Diff for: components/common-go/cgroups/v2/cpu_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups_v2
66

Diff for: components/common-go/cgroups/v2/io.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups_v2
66

Diff for: components/common-go/cgroups/v2/memory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package cgroups_v2
66

Diff for: components/common-go/experiments/configcat.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experiments
66

Diff for: components/common-go/experiments/experimentstest/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experimentstest
66

Diff for: components/common-go/experiments/experimentstest/client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experimentstest
66

Diff for: components/common-go/experiments/flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experiments
66

Diff for: components/common-go/experiments/noop.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experiments
66

Diff for: components/common-go/experiments/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experiments
66

Diff for: components/common-go/experiments/types_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package experiments
66

Diff for: components/common-go/go-get-kubernetes.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
33
# Licensed under the GNU Affero General Public License (AGPL).
4-
# See License-AGPL.txt in the project root for license information.
4+
# See License.AGPL.txt in the project root for license information.
55

66

77
# based on https://github.com/kubernetes/kubernetes/issues/79384

Diff for: components/common-go/grpc/grpc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package grpc
66

Diff for: components/common-go/grpc/ratelimit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package grpc
66

Diff for: components/common-go/grpc/ratelimit_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package grpc
66

Diff for: components/common-go/kubernetes/kubernetes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package kubernetes
66

Diff for: components/common-go/kubernetes/probes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package kubernetes
66

Diff for: components/common-go/log/export.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package log
66

Diff for: components/common-go/log/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package log
66

Diff for: components/common-go/log/handler_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
3-
// See License-AGPL.txt in the project root for license information.
3+
// See License.AGPL.txt in the project root for license information.
44

55
package log
66

0 commit comments

Comments
 (0)