diff --git a/components/BUILD.yaml b/components/BUILD.yaml index ecd6bd1e460fe2..3967c8752e3401 100644 --- a/components/BUILD.yaml +++ b/components/BUILD.yaml @@ -140,23 +140,10 @@ scripts: deps: - dev/addlicense:app script: | - tmpdir=$(mktemp -d) - echo "Temp Dir: $tmpdir" - - leeway collect files --format-string '{{ range . }}{{ .Name }}{{"\n"}}{{ end }}' | uniq > $tmpdir/all - leeway collect files --variant oss --format-string '{{ range . }}{{ .Name }}{{"\n"}}{{ end }}' | uniq > $tmpdir/oss - - grep -v -f $tmpdir/oss $tmpdir/all > $tmpdir/ee - grep -E "^components\/ee\/" $tmpdir/oss >> $tmpdir/ee - grep -v -E "^chart\/" $tmpdir/oss | grep -v -E "^install\/" > $tmpdir/agpl - grep -v -f $tmpdir/agpl $tmpdir/oss > $tmpdir/mit - # set `export LICENCE_HEADER_CHECK_ONLY=true` to just check if all headers are there (and exit with status code 1 if not) check=$([ "$LICENCE_HEADER_CHECK_ONLY" = true ] && printf "%s" '-check') - cat $tmpdir/ee | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l gpshf . || exit 1 - cat $tmpdir/agpl | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l agpl . || exit 1 - cat $tmpdir/mit | while read f; do echo "$PWD/../$f"; done | addlicense $check -s -l mit . || exit 1 + 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 - name: dejson-log-output script: |- jq -Rr '. as $line | diff --git a/components/ee/agent-smith/cmd/config-schema.go b/components/ee/agent-smith/cmd/config-schema.go index 3391cb57d5b307..2abfb6710c09d4 100644 --- a/components/ee/agent-smith/cmd/config-schema.go +++ b/components/ee/agent-smith/cmd/config-schema.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/root.go b/components/ee/agent-smith/cmd/root.go index e536372c56a6db..2577ee880aee40 100644 --- a/components/ee/agent-smith/cmd/root.go +++ b/components/ee/agent-smith/cmd/root.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/run.go b/components/ee/agent-smith/cmd/run.go index 73fd0efbb4a716..971a6c18af2da6 100644 --- a/components/ee/agent-smith/cmd/run.go +++ b/components/ee/agent-smith/cmd/run.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/signature-elfdump.go b/components/ee/agent-smith/cmd/signature-elfdump.go index f38923e01045fb..62cb1c1c170115 100644 --- a/components/ee/agent-smith/cmd/signature-elfdump.go +++ b/components/ee/agent-smith/cmd/signature-elfdump.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/signature-matches.go b/components/ee/agent-smith/cmd/signature-matches.go index 946e3749fe7710..1e8d74d4dd7f08 100644 --- a/components/ee/agent-smith/cmd/signature-matches.go +++ b/components/ee/agent-smith/cmd/signature-matches.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/signature-new.go b/components/ee/agent-smith/cmd/signature-new.go index 584a10c2a33a9c..c201aa0f1b34f1 100644 --- a/components/ee/agent-smith/cmd/signature-new.go +++ b/components/ee/agent-smith/cmd/signature-new.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/signature.go b/components/ee/agent-smith/cmd/signature.go index aa9e74c556f813..61a09b08459e56 100644 --- a/components/ee/agent-smith/cmd/signature.go +++ b/components/ee/agent-smith/cmd/signature.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/ee/agent-smith/cmd/testbed/main.go b/components/ee/agent-smith/cmd/testbed/main.go index 33acbca4887fca..9eaaa001939231 100644 --- a/components/ee/agent-smith/cmd/testbed/main.go +++ b/components/ee/agent-smith/cmd/testbed/main.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package main diff --git a/components/ee/agent-smith/cmd/testtarget/main.go b/components/ee/agent-smith/cmd/testtarget/main.go index 4e30616ef77e34..1c938968e73bfe 100644 --- a/components/ee/agent-smith/cmd/testtarget/main.go +++ b/components/ee/agent-smith/cmd/testtarget/main.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package main diff --git a/components/ee/agent-smith/leeway.Dockerfile b/components/ee/agent-smith/leeway.Dockerfile index fb84b7455ecec9..d48ec58647c5a7 100644 --- a/components/ee/agent-smith/leeway.Dockerfile +++ b/components/ee/agent-smith/leeway.Dockerfile @@ -1,6 +1,8 @@ -# Copyright (c) 2021 Gitpod GmbH. All rights reserved. -# Licensed under the Gitpod Enterprise Source Code License, -# See License.enterprise.txt in the project root folder. +# Copyright (c) 2022 Gitpod GmbH. All rights reserved. +# Licensed under the GNU Affero General Public License (AGPL). +# See License-AGPL.txt in the project root for license information. + + FROM alpine:3.16 diff --git a/components/ee/agent-smith/main.go b/components/ee/agent-smith/main.go index 27ba39758c8336..4ed7c7054dc503 100644 --- a/components/ee/agent-smith/main.go +++ b/components/ee/agent-smith/main.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. //go:build !sentinel // +build !sentinel diff --git a/components/ee/agent-smith/pkg/agent/actions.go b/components/ee/agent-smith/pkg/agent/actions.go index 5f3a19038d8486..82bf77dfe54171 100644 --- a/components/ee/agent-smith/pkg/agent/actions.go +++ b/components/ee/agent-smith/pkg/agent/actions.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package agent diff --git a/components/ee/agent-smith/pkg/agent/agent.go b/components/ee/agent-smith/pkg/agent/agent.go index 905014a47f594e..069549a94942c6 100644 --- a/components/ee/agent-smith/pkg/agent/agent.go +++ b/components/ee/agent-smith/pkg/agent/agent.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package agent diff --git a/components/ee/agent-smith/pkg/agent/agent_test.go b/components/ee/agent-smith/pkg/agent/agent_test.go index 6c284611286787..b26fc0ffd6bbbd 100644 --- a/components/ee/agent-smith/pkg/agent/agent_test.go +++ b/components/ee/agent-smith/pkg/agent/agent_test.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package agent diff --git a/components/ee/agent-smith/pkg/agent/metrics.go b/components/ee/agent-smith/pkg/agent/metrics.go index 39b1fb7209c1c0..acff8c942de2c9 100644 --- a/components/ee/agent-smith/pkg/agent/metrics.go +++ b/components/ee/agent-smith/pkg/agent/metrics.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package agent diff --git a/components/ee/agent-smith/pkg/classifier/classifier.go b/components/ee/agent-smith/pkg/classifier/classifier.go index 10e7054059814d..e58bd3d16e893a 100644 --- a/components/ee/agent-smith/pkg/classifier/classifier.go +++ b/components/ee/agent-smith/pkg/classifier/classifier.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package classifier diff --git a/components/ee/agent-smith/pkg/classifier/classifier_test.go b/components/ee/agent-smith/pkg/classifier/classifier_test.go index b267177caa7c3e..3b3daacedb7cdd 100644 --- a/components/ee/agent-smith/pkg/classifier/classifier_test.go +++ b/components/ee/agent-smith/pkg/classifier/classifier_test.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package classifier_test diff --git a/components/ee/agent-smith/pkg/classifier/signature_test.go b/components/ee/agent-smith/pkg/classifier/signature_test.go index 3406c487cc9220..57634f90c6eeb4 100644 --- a/components/ee/agent-smith/pkg/classifier/signature_test.go +++ b/components/ee/agent-smith/pkg/classifier/signature_test.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package classifier diff --git a/components/ee/agent-smith/pkg/classifier/sinature.go b/components/ee/agent-smith/pkg/classifier/sinature.go index fc35a4800645f4..d151c40d726178 100644 --- a/components/ee/agent-smith/pkg/classifier/sinature.go +++ b/components/ee/agent-smith/pkg/classifier/sinature.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. //go:build linux // +build linux diff --git a/components/ee/agent-smith/pkg/common/common.go b/components/ee/agent-smith/pkg/common/common.go index 8afa5f3b99dd4d..35e13bcba30e42 100644 --- a/components/ee/agent-smith/pkg/common/common.go +++ b/components/ee/agent-smith/pkg/common/common.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package common diff --git a/components/ee/agent-smith/pkg/config/config.go b/components/ee/agent-smith/pkg/config/config.go index 3042ead43f16c1..c0a910b5d88d39 100644 --- a/components/ee/agent-smith/pkg/config/config.go +++ b/components/ee/agent-smith/pkg/config/config.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package config diff --git a/components/ee/agent-smith/pkg/detector/discovery.go b/components/ee/agent-smith/pkg/detector/discovery.go index 54b5fbe5c4fece..c1a2431c997071 100644 --- a/components/ee/agent-smith/pkg/detector/discovery.go +++ b/components/ee/agent-smith/pkg/detector/discovery.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package detector diff --git a/components/ee/agent-smith/pkg/detector/proc.go b/components/ee/agent-smith/pkg/detector/proc.go index 6eae14ce960db0..8521dc16079b08 100644 --- a/components/ee/agent-smith/pkg/detector/proc.go +++ b/components/ee/agent-smith/pkg/detector/proc.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package detector diff --git a/components/ee/agent-smith/pkg/detector/proc_test.go b/components/ee/agent-smith/pkg/detector/proc_test.go index c56a0e6fc8d0ee..10e284b8f8ebe7 100644 --- a/components/ee/agent-smith/pkg/detector/proc_test.go +++ b/components/ee/agent-smith/pkg/detector/proc_test.go @@ -1,6 +1,6 @@ -// Copyright (c) 2021 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package detector diff --git a/components/ee/db-sync/leeway.Dockerfile b/components/ee/db-sync/leeway.Dockerfile index 4890dff11d33ef..83f06ecd99dd20 100644 --- a/components/ee/db-sync/leeway.Dockerfile +++ b/components/ee/db-sync/leeway.Dockerfile @@ -1,6 +1,8 @@ -# Copyright (c) 2021 Gitpod GmbH. All rights reserved. -# Licensed under the Gitpod Enterprise Source Code License, -# See License.enterprise.txt in the project root folder. +# Copyright (c) 2022 Gitpod GmbH. All rights reserved. +# Licensed under the GNU Affero General Public License (AGPL). +# See License-AGPL.txt in the project root for license information. + + FROM node:16.13.0-slim as builder COPY components-ee-db-sync--app /installer/ @@ -22,4 +24,4 @@ ARG VERSION ENV GITPOD_BUILD_GIT_COMMIT=${__GIT_COMMIT} ENV GITPOD_BUILD_VERSION=${VERSION} -CMD [ "run", "--soft-start" ] \ No newline at end of file +CMD [ "run", "--soft-start" ] diff --git a/components/ee/db-sync/src/commands.ts b/components/ee/db-sync/src/commands.ts index 5f13643232fed8..9592f22eb900c7 100644 --- a/components/ee/db-sync/src/commands.ts +++ b/components/ee/db-sync/src/commands.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { ArgumentParser } from "argparse"; import { TableUpdateProvider } from "./export"; import { writeFile, readFileSync } from "fs"; diff --git a/components/ee/db-sync/src/config.ts b/components/ee/db-sync/src/config.ts index 595bff34cf0a16..c4142b0350ee13 100644 --- a/components/ee/db-sync/src/config.ts +++ b/components/ee/db-sync/src/config.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { ConnectionConfig } from "mysql"; export type NamedConnectionConfig = ConnectionConfig & { name?: string }; diff --git a/components/ee/db-sync/src/container-module.ts b/components/ee/db-sync/src/container-module.ts index 56deec48826ff0..d6163a6e4cd102 100644 --- a/components/ee/db-sync/src/container-module.ts +++ b/components/ee/db-sync/src/container-module.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { ContainerModule } from 'inversify'; import { ICommand, RunCommand, ExportCommand } from './commands'; import { TableDescriptionProvider, GitpodTableDescriptionProvider, GitpodSessionTableDescriptionProvider } from '@gitpod/gitpod-db/lib/tables'; diff --git a/components/ee/db-sync/src/database.ts b/components/ee/db-sync/src/database.ts index a04f7fb7b6ef9e..322e4a03e29ac7 100644 --- a/components/ee/db-sync/src/database.ts +++ b/components/ee/db-sync/src/database.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { createConnection, Connection, QueryOptions } from "mysql"; import { NamedConnectionConfig } from "./config"; @@ -45,4 +47,3 @@ export async function query(conn: Connection, sql: string, args?: Omit dateStr ? new Date(dateStr).getTime() : Number.MAX_SAFE_INTEGER; diff --git a/components/ee/payment-endpoint/src/accounting/accounting.ts b/components/ee/payment-endpoint/src/accounting/accounting.ts index ad6fc531c33c93..a123457047ef22 100644 --- a/components/ee/payment-endpoint/src/accounting/accounting.ts +++ b/components/ee/payment-endpoint/src/accounting/accounting.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { hoursToMilliseconds } from "@gitpod/gitpod-protocol/lib/util/timeutil"; export namespace Accounting { @@ -29,4 +31,4 @@ export namespace Accounting { export const GOODWILL_IN_MILLIS = hoursToMilliseconds(GOODWILL_IN_HOURS); export const FREE_SUBSCRIPTION_HOURS = 100; -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/accounting/index.ts b/components/ee/payment-endpoint/src/accounting/index.ts index 8d4a10cd0c0473..6a7ad3aa5629e0 100644 --- a/components/ee/payment-endpoint/src/accounting/index.ts +++ b/components/ee/payment-endpoint/src/accounting/index.ts @@ -1,13 +1,15 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + export * from './accounting'; export * from './account-service'; export * from './account-service-impl'; export * from './subscription-service'; export * from './team-subscription-service'; export * from './team-subscription2-service'; -export * from './accounting-util'; \ No newline at end of file +export * from './accounting-util'; diff --git a/components/ee/payment-endpoint/src/accounting/subscription-model.spec.ts b/components/ee/payment-endpoint/src/accounting/subscription-model.spec.ts index c2fb40c6e5f330..faf024b08fd2fd 100644 --- a/components/ee/payment-endpoint/src/accounting/subscription-model.spec.ts +++ b/components/ee/payment-endpoint/src/accounting/subscription-model.spec.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { hoursLater, yearsLater } from '@gitpod/gitpod-protocol/lib/util/timeutil'; import { Subscription } from '@gitpod/gitpod-protocol/lib/accounting-protocol'; import * as chai from 'chai'; diff --git a/components/ee/payment-endpoint/src/accounting/subscription-model.ts b/components/ee/payment-endpoint/src/accounting/subscription-model.ts index 0f7aa87a0fa73e..0022a739268bb3 100644 --- a/components/ee/payment-endpoint/src/accounting/subscription-model.ts +++ b/components/ee/payment-endpoint/src/accounting/subscription-model.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { Subscription } from "@gitpod/gitpod-protocol/lib/accounting-protocol"; import { Plans } from "@gitpod/gitpod-protocol/lib/plans"; import { orderByEndDateDescThenStartDateDesc, orderByStartDateAscEndDateAsc } from "./accounting-util"; diff --git a/components/ee/payment-endpoint/src/accounting/subscription-service.spec.db.ts b/components/ee/payment-endpoint/src/accounting/subscription-service.spec.db.ts index 6be2afe8a23c25..ec13dc27ab5fb8 100644 --- a/components/ee/payment-endpoint/src/accounting/subscription-service.spec.db.ts +++ b/components/ee/payment-endpoint/src/accounting/subscription-service.spec.db.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { testContainer } from '@gitpod/gitpod-db/lib/test-container'; import { TypeORM } from '@gitpod/gitpod-db/lib'; import * as chai from 'chai'; diff --git a/components/ee/payment-endpoint/src/accounting/subscription-service.ts b/components/ee/payment-endpoint/src/accounting/subscription-service.ts index ea61f1e7464057..2bb3e5c286c42b 100644 --- a/components/ee/payment-endpoint/src/accounting/subscription-service.ts +++ b/components/ee/payment-endpoint/src/accounting/subscription-service.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { AccountingDB } from "@gitpod/gitpod-db/lib/accounting-db"; import { User } from "@gitpod/gitpod-protocol"; import { AccountEntry, Subscription } from "@gitpod/gitpod-protocol/lib/accounting-protocol"; diff --git a/components/ee/payment-endpoint/src/accounting/team-subscription-service.ts b/components/ee/payment-endpoint/src/accounting/team-subscription-service.ts index 9508ce98ee7584..5569f488d028ad 100644 --- a/components/ee/payment-endpoint/src/accounting/team-subscription-service.ts +++ b/components/ee/payment-endpoint/src/accounting/team-subscription-service.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject } from "inversify"; import { User } from "@gitpod/gitpod-protocol"; import { TeamSubscription, AssigneeIdentifier, TeamSubscriptionSlot, TeamSubscriptionSlotState, TeamSubscriptionSlotAssigned, TeamSubscriptionSlotDeactivated, TeamSubscriptionSlotResolved } from "@gitpod/gitpod-protocol/lib/team-subscription-protocol"; diff --git a/components/ee/payment-endpoint/src/accounting/team-subscription2-service.ts b/components/ee/payment-endpoint/src/accounting/team-subscription2-service.ts index 84f306098c363a..f34dd90a9e6057 100644 --- a/components/ee/payment-endpoint/src/accounting/team-subscription2-service.ts +++ b/components/ee/payment-endpoint/src/accounting/team-subscription2-service.ts @@ -1,9 +1,11 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { AccountingDB, TeamDB } from "@gitpod/gitpod-db/lib"; import { AssignedTeamSubscription2, Subscription } from "@gitpod/gitpod-protocol/lib/accounting-protocol"; import { Plans } from "@gitpod/gitpod-protocol/lib/plans"; diff --git a/components/ee/payment-endpoint/src/chargebee/chargebee-event-handler.ts b/components/ee/payment-endpoint/src/chargebee/chargebee-event-handler.ts index 67fc6ba841ed27..ea27cccfddbf65 100644 --- a/components/ee/payment-endpoint/src/chargebee/chargebee-event-handler.ts +++ b/components/ee/payment-endpoint/src/chargebee/chargebee-event-handler.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, multiInject, optional } from "inversify"; import { Chargebee as chargebee } from './chargebee-types'; @@ -30,4 +32,4 @@ export class CompositeEventHandler { return handled; } -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/chargebee/chargebee-provider.ts b/components/ee/payment-endpoint/src/chargebee/chargebee-provider.ts index 2b48ff18015175..0bf9a139726431 100644 --- a/components/ee/payment-endpoint/src/chargebee/chargebee-provider.ts +++ b/components/ee/payment-endpoint/src/chargebee/chargebee-provider.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import * as chargebeeApi from 'chargebee'; import { Chargebee as chargebee } from './chargebee-types'; import { injectable, inject, postConstruct, optional } from 'inversify'; diff --git a/components/ee/payment-endpoint/src/chargebee/chargebee-subscription-helper.ts b/components/ee/payment-endpoint/src/chargebee/chargebee-subscription-helper.ts index 1577f4a2647347..32cf11f6a67fdb 100644 --- a/components/ee/payment-endpoint/src/chargebee/chargebee-subscription-helper.ts +++ b/components/ee/payment-endpoint/src/chargebee/chargebee-subscription-helper.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { Chargebee as chargebee } from './chargebee-types'; export function getStartDate(chargebeeSubscription: chargebee.Subscription): string { @@ -40,4 +42,4 @@ export function getUpdatedAt(chargebeeSubscription: chargebee.Subscription): str */ function chargeBeTimestampToDate (cbTime: number): string { return new Date(cbTime * 1000).toISOString(); -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/chargebee/chargebee-types.ts b/components/ee/payment-endpoint/src/chargebee/chargebee-types.ts index c4aa293449f627..9e148f1e9aa9fc 100644 --- a/components/ee/payment-endpoint/src/chargebee/chargebee-types.ts +++ b/components/ee/payment-endpoint/src/chargebee/chargebee-types.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + export namespace Chargebee { // https://apidocs.chargebee.com/docs/api?lang=node#error_handling export interface ApiError { @@ -538,4 +540,4 @@ export namespace Chargebee { valid_till?: number; } -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/chargebee/chargebee.d.ts b/components/ee/payment-endpoint/src/chargebee/chargebee.d.ts index 210b206d806373..06e3e7fd9021ef 100644 --- a/components/ee/payment-endpoint/src/chargebee/chargebee.d.ts +++ b/components/ee/payment-endpoint/src/chargebee/chargebee.d.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + // Because the re-export of type definitions did not work the pure types are separated into chargebee-types.ts (export namespace Chargebee) declare module 'chargebee' { export function configure(options: object): any; @@ -15,4 +17,4 @@ declare module 'chargebee' { export const customer: any; export const coupon: any; export const payment_source: any; -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/chargebee/endpoint-controller.ts b/components/ee/payment-endpoint/src/chargebee/endpoint-controller.ts index 54088a2be0585c..7b5b794eb077b3 100644 --- a/components/ee/payment-endpoint/src/chargebee/endpoint-controller.ts +++ b/components/ee/payment-endpoint/src/chargebee/endpoint-controller.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject } from "inversify"; import * as express from 'express'; import * as passport from 'passport'; @@ -78,4 +80,4 @@ export class EndpointController { res.status(500).send(); } } -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/chargebee/index.ts b/components/ee/payment-endpoint/src/chargebee/index.ts index 2ea5e64b87cd62..36fe3bb3456498 100644 --- a/components/ee/payment-endpoint/src/chargebee/index.ts +++ b/components/ee/payment-endpoint/src/chargebee/index.ts @@ -1,12 +1,14 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + export * from './chargebee-provider'; export * from './chargebee-types'; export * from './chargebee-subscription-helper'; -export * from './upgrade-helper'; \ No newline at end of file +export * from './upgrade-helper'; diff --git a/components/ee/payment-endpoint/src/chargebee/subscription-handler.ts b/components/ee/payment-endpoint/src/chargebee/subscription-handler.ts index 7cd7d213b26bf3..7226d73c071b4b 100644 --- a/components/ee/payment-endpoint/src/chargebee/subscription-handler.ts +++ b/components/ee/payment-endpoint/src/chargebee/subscription-handler.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { inject, injectable } from 'inversify'; import { SubscriptionService } from '../accounting/subscription-service'; @@ -142,4 +144,4 @@ export class SubscriptionHandler implements EventHandler { export const SubscriptionMapperFactory = Symbol('SubscriptionMapperFactory'); export interface SubscriptionMapperFactory { newMapper(): SubscriptionMapper; -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/chargebee/team-subscription-handler.ts b/components/ee/payment-endpoint/src/chargebee/team-subscription-handler.ts index 53032b31dba3ee..32ee8e7f20f6eb 100644 --- a/components/ee/payment-endpoint/src/chargebee/team-subscription-handler.ts +++ b/components/ee/payment-endpoint/src/chargebee/team-subscription-handler.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { inject, injectable } from "inversify"; import { TeamSubscriptionDB } from "@gitpod/gitpod-db/lib/team-subscription-db"; diff --git a/components/ee/payment-endpoint/src/chargebee/upgrade-helper.ts b/components/ee/payment-endpoint/src/chargebee/upgrade-helper.ts index 11185a4af3713a..db3a0934604e49 100644 --- a/components/ee/payment-endpoint/src/chargebee/upgrade-helper.ts +++ b/components/ee/payment-endpoint/src/chargebee/upgrade-helper.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject } from "inversify"; import { ChargebeeProvider } from "./chargebee-provider"; import { Chargebee as chargebee } from "./chargebee-types"; diff --git a/components/ee/payment-endpoint/src/config.ts b/components/ee/payment-endpoint/src/config.ts index 8add7f885714a6..9b5ce1de29df3f 100644 --- a/components/ee/payment-endpoint/src/config.ts +++ b/components/ee/payment-endpoint/src/config.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable } from "inversify"; import * as fs from 'fs'; @@ -43,4 +45,4 @@ export GITPOD_GITHUB_APP_MKT_NAME=gitpod-draft-development-app export interface ChargebeeWebhook { user: string; password: string; -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/container-module.ts b/components/ee/payment-endpoint/src/container-module.ts index a9971f25b6975b..60886805018e25 100644 --- a/components/ee/payment-endpoint/src/container-module.ts +++ b/components/ee/payment-endpoint/src/container-module.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { ContainerModule } from "inversify"; import { ChargebeeProvider, ChargebeeProviderOptions } from "./chargebee/chargebee-provider"; diff --git a/components/ee/payment-endpoint/src/github/endpoint-controller.ts b/components/ee/payment-endpoint/src/github/endpoint-controller.ts index e17a985a2e47c6..b674af2826ccfc 100644 --- a/components/ee/payment-endpoint/src/github/endpoint-controller.ts +++ b/components/ee/payment-endpoint/src/github/endpoint-controller.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject } from 'inversify'; import { Config } from '../config'; import * as Webhooks from '@octokit/webhooks'; diff --git a/components/ee/payment-endpoint/src/github/octokit-app.d.ts b/components/ee/payment-endpoint/src/github/octokit-app.d.ts index 36e5c461978985..41618e0b67cb50 100644 --- a/components/ee/payment-endpoint/src/github/octokit-app.d.ts +++ b/components/ee/payment-endpoint/src/github/octokit-app.d.ts @@ -1,10 +1,12 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + declare module "@octokit/app" { import LRU = require("lru-cache"); diff --git a/components/ee/payment-endpoint/src/github/subscription-mapper.ts b/components/ee/payment-endpoint/src/github/subscription-mapper.ts index a24aa612e083ed..9b8a8c6210e94d 100644 --- a/components/ee/payment-endpoint/src/github/subscription-mapper.ts +++ b/components/ee/payment-endpoint/src/github/subscription-mapper.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject } from "inversify"; import { SubscriptionModel } from "../accounting/subscription-model"; import * as Webhooks from '@octokit/webhooks'; @@ -261,4 +263,4 @@ export class GithubSubscriptionMapper { return `github:${githubAccountID}`; } -} \ No newline at end of file +} diff --git a/components/ee/payment-endpoint/src/github/subscription-reconciler.ts b/components/ee/payment-endpoint/src/github/subscription-reconciler.ts index 3ff2a891cbd523..be3ed518e3f151 100644 --- a/components/ee/payment-endpoint/src/github/subscription-reconciler.ts +++ b/components/ee/payment-endpoint/src/github/subscription-reconciler.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { Config } from "../config"; import { inject, injectable } from "inversify"; import * as fs from 'fs'; diff --git a/components/ee/payment-endpoint/src/main.ts b/components/ee/payment-endpoint/src/main.ts index 304e162d5da979..782475b897fe62 100644 --- a/components/ee/payment-endpoint/src/main.ts +++ b/components/ee/payment-endpoint/src/main.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + require('reflect-metadata'); import * as express from 'express'; diff --git a/components/ee/payment-endpoint/src/server.ts b/components/ee/payment-endpoint/src/server.ts index 4b3a8a6b52b170..38ef590173173f 100644 --- a/components/ee/payment-endpoint/src/server.ts +++ b/components/ee/payment-endpoint/src/server.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject } from 'inversify'; import { Application as App } from 'express'; import * as http from 'http'; diff --git a/components/gitpod-db/hack/00-create-testdb-user.sql b/components/gitpod-db/hack/00-create-testdb-user.sql index e62b8cf5b71214..0cdeb0ff51d4b8 100644 --- a/components/gitpod-db/hack/00-create-testdb-user.sql +++ b/components/gitpod-db/hack/00-create-testdb-user.sql @@ -1,5 +1,5 @@ -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. --- Licensed under the MIT License. See License-MIT.txt in the project root for license information. +-- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- create test DB user diff --git a/components/gitpod-db/hack/99-grant-testdb-user.sql b/components/gitpod-db/hack/99-grant-testdb-user.sql index 5daec4af7f3dc0..1fb2568c0c1441 100644 --- a/components/gitpod-db/hack/99-grant-testdb-user.sql +++ b/components/gitpod-db/hack/99-grant-testdb-user.sql @@ -1,5 +1,5 @@ -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. --- Licensed under the MIT License. See License-MIT.txt in the project root for license information. +-- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- Grant privileges GRANT ALL ON `gitpod%`.* TO "gitpod"@"%"; diff --git a/components/gitpod-db/src/accounting-db.spec.db.ts b/components/gitpod-db/src/accounting-db.spec.db.ts index 628f5501939523..04ae082dc01856 100644 --- a/components/gitpod-db/src/accounting-db.spec.db.ts +++ b/components/gitpod-db/src/accounting-db.spec.db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Subscription } from "@gitpod/gitpod-protocol/lib/accounting-protocol"; diff --git a/components/gitpod-db/src/accounting-db.ts b/components/gitpod-db/src/accounting-db.ts index 65deebf58b2f7d..29d7b4bbfba96e 100644 --- a/components/gitpod-db/src/accounting-db.ts +++ b/components/gitpod-db/src/accounting-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { diff --git a/components/gitpod-db/src/auth-provider-entry.spec.db.ts b/components/gitpod-db/src/auth-provider-entry.spec.db.ts index a1f5d4955d7688..ee1318c2bd9f52 100644 --- a/components/gitpod-db/src/auth-provider-entry.spec.db.ts +++ b/components/gitpod-db/src/auth-provider-entry.spec.db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import * as chai from "chai"; diff --git a/components/gitpod-db/src/edu-email-domain-db.ts b/components/gitpod-db/src/edu-email-domain-db.ts index 380c4062c6f306..a73a9e87bee7bf 100644 --- a/components/gitpod-db/src/edu-email-domain-db.ts +++ b/components/gitpod-db/src/edu-email-domain-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { EduEmailDomain } from "@gitpod/gitpod-protocol"; diff --git a/components/gitpod-db/src/email-domain-filter-db.spec.db.ts b/components/gitpod-db/src/email-domain-filter-db.spec.db.ts index 439e602e2f1bdb..1ac697a7d32845 100644 --- a/components/gitpod-db/src/email-domain-filter-db.spec.db.ts +++ b/components/gitpod-db/src/email-domain-filter-db.spec.db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import * as chai from "chai"; diff --git a/components/gitpod-db/src/email-domain-filter-db.ts b/components/gitpod-db/src/email-domain-filter-db.ts index ecb84cfb4ba7e6..30d6e95acf0604 100644 --- a/components/gitpod-db/src/email-domain-filter-db.ts +++ b/components/gitpod-db/src/email-domain-filter-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { EmailDomainFilterEntry } from "@gitpod/gitpod-protocol"; diff --git a/components/gitpod-db/src/personal-access-token-db.ts b/components/gitpod-db/src/personal-access-token-db.ts index fbb1cedf029265..3f0337013daaa7 100644 --- a/components/gitpod-db/src/personal-access-token-db.ts +++ b/components/gitpod-db/src/personal-access-token-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { DBPersonalAccessToken } from "./typeorm/entity/db-personal-access-token"; diff --git a/components/gitpod-db/src/project-db.ts b/components/gitpod-db/src/project-db.ts index e5ad3302930601..295ccd1ac116d1 100644 --- a/components/gitpod-db/src/project-db.ts +++ b/components/gitpod-db/src/project-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { PartialProject, Project, ProjectEnvVar, ProjectEnvVarWithValue, ProjectUsage } from "@gitpod/gitpod-protocol"; diff --git a/components/gitpod-db/src/team-db.spec.db.ts b/components/gitpod-db/src/team-db.spec.db.ts index 0afc9b076fa02b..5a5af331dd1a0f 100644 --- a/components/gitpod-db/src/team-db.spec.db.ts +++ b/components/gitpod-db/src/team-db.spec.db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import * as chai from "chai"; diff --git a/components/gitpod-db/src/team-db.ts b/components/gitpod-db/src/team-db.ts index bb9877283d04ba..fe2f6fa7955482 100644 --- a/components/gitpod-db/src/team-db.ts +++ b/components/gitpod-db/src/team-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Team, TeamMemberInfo, TeamMemberRole, TeamMembershipInvite } from "@gitpod/gitpod-protocol"; diff --git a/components/gitpod-db/src/team-subscription-2-db.ts b/components/gitpod-db/src/team-subscription-2-db.ts index 8154147c4aad99..f61ae341067e28 100644 --- a/components/gitpod-db/src/team-subscription-2-db.ts +++ b/components/gitpod-db/src/team-subscription-2-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { TeamSubscription2 } from "@gitpod/gitpod-protocol/lib/team-subscription-protocol"; diff --git a/components/gitpod-db/src/team-subscription-db.ts b/components/gitpod-db/src/team-subscription-db.ts index e3dc16afb64d64..05f3090acd5e4d 100644 --- a/components/gitpod-db/src/team-subscription-db.ts +++ b/components/gitpod-db/src/team-subscription-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { TeamSubscription, TeamSubscriptionSlot } from "@gitpod/gitpod-protocol/lib/team-subscription-protocol"; diff --git a/components/gitpod-db/src/typeorm/accounting-db-impl.ts b/components/gitpod-db/src/typeorm/accounting-db-impl.ts index 6aa827f6a0e1a8..c9ca78aa820579 100644 --- a/components/gitpod-db/src/typeorm/accounting-db-impl.ts +++ b/components/gitpod-db/src/typeorm/accounting-db-impl.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { AccountingDB, TransactionalAccountingDBFactory } from "../accounting-db"; diff --git a/components/gitpod-db/src/typeorm/edu-email-domain-db-impl.ts b/components/gitpod-db/src/typeorm/edu-email-domain-db-impl.ts index 29ad2fe2f21bb8..030d4ee88ce8ca 100644 --- a/components/gitpod-db/src/typeorm/edu-email-domain-db-impl.ts +++ b/components/gitpod-db/src/typeorm/edu-email-domain-db-impl.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/gitpod-db/src/typeorm/email-domain-filter-db-impl.ts b/components/gitpod-db/src/typeorm/email-domain-filter-db-impl.ts index 4d4bdb901c67c8..6fea462ecbdd15 100644 --- a/components/gitpod-db/src/typeorm/email-domain-filter-db-impl.ts +++ b/components/gitpod-db/src/typeorm/email-domain-filter-db-impl.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/gitpod-db/src/typeorm/entity/db-account-entry.ts b/components/gitpod-db/src/typeorm/entity/db-account-entry.ts index 6b2a0a162fa490..9da3b09dca5c71 100644 --- a/components/gitpod-db/src/typeorm/entity/db-account-entry.ts +++ b/components/gitpod-db/src/typeorm/entity/db-account-entry.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-edu-email-domain.ts b/components/gitpod-db/src/typeorm/entity/db-edu-email-domain.ts index 2250211eb22be4..4e413b9f6a319c 100644 --- a/components/gitpod-db/src/typeorm/entity/db-edu-email-domain.ts +++ b/components/gitpod-db/src/typeorm/entity/db-edu-email-domain.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, PrimaryColumn } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-email-domain-filter-entry.ts b/components/gitpod-db/src/typeorm/entity/db-email-domain-filter-entry.ts index 0de715a972ffe2..1db00f2c451ffc 100644 --- a/components/gitpod-db/src/typeorm/entity/db-email-domain-filter-entry.ts +++ b/components/gitpod-db/src/typeorm/entity/db-email-domain-filter-entry.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-prebuild-info-entry.ts b/components/gitpod-db/src/typeorm/entity/db-prebuild-info-entry.ts index c00c5c2e3ba612..babb388f67e2a4 100644 --- a/components/gitpod-db/src/typeorm/entity/db-prebuild-info-entry.ts +++ b/components/gitpod-db/src/typeorm/entity/db-prebuild-info-entry.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-project-info.ts b/components/gitpod-db/src/typeorm/entity/db-project-info.ts index 8850a75086c56f..a307b3c80b80a6 100644 --- a/components/gitpod-db/src/typeorm/entity/db-project-info.ts +++ b/components/gitpod-db/src/typeorm/entity/db-project-info.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-project-usage.ts b/components/gitpod-db/src/typeorm/entity/db-project-usage.ts index 4013bcecab0458..88146e63156d72 100644 --- a/components/gitpod-db/src/typeorm/entity/db-project-usage.ts +++ b/components/gitpod-db/src/typeorm/entity/db-project-usage.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-subscription.ts b/components/gitpod-db/src/typeorm/entity/db-subscription.ts index 481843c410c550..bd24ced90eab98 100644 --- a/components/gitpod-db/src/typeorm/entity/db-subscription.ts +++ b/components/gitpod-db/src/typeorm/entity/db-subscription.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn, Index } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-team-subscription-2.ts b/components/gitpod-db/src/typeorm/entity/db-team-subscription-2.ts index 08560b6f56295d..f54a6503db0be2 100644 --- a/components/gitpod-db/src/typeorm/entity/db-team-subscription-2.ts +++ b/components/gitpod-db/src/typeorm/entity/db-team-subscription-2.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn, Index } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-team-subscription-slot.ts b/components/gitpod-db/src/typeorm/entity/db-team-subscription-slot.ts index 1381d78aeda62d..4d85507951b992 100644 --- a/components/gitpod-db/src/typeorm/entity/db-team-subscription-slot.ts +++ b/components/gitpod-db/src/typeorm/entity/db-team-subscription-slot.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { TeamSubscriptionSlot, AssigneeIdentifier } from "@gitpod/gitpod-protocol/lib/team-subscription-protocol"; diff --git a/components/gitpod-db/src/typeorm/entity/db-team-subscription.ts b/components/gitpod-db/src/typeorm/entity/db-team-subscription.ts index fe03b37e7d2c49..4f95e5176a6e47 100644 --- a/components/gitpod-db/src/typeorm/entity/db-team-subscription.ts +++ b/components/gitpod-db/src/typeorm/entity/db-team-subscription.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn, Index } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/entity/db-webhook-event.ts b/components/gitpod-db/src/typeorm/entity/db-webhook-event.ts index 741b505778d648..4e32df9e6a9b1a 100644 --- a/components/gitpod-db/src/typeorm/entity/db-webhook-event.ts +++ b/components/gitpod-db/src/typeorm/entity/db-webhook-event.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { Entity, Column, PrimaryColumn, Index } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/migration/1652365883273-CloneUrlIndexed.ts b/components/gitpod-db/src/typeorm/migration/1652365883273-CloneUrlIndexed.ts index d51edf76c34bbd..6221e1bf8bf370 100644 --- a/components/gitpod-db/src/typeorm/migration/1652365883273-CloneUrlIndexed.ts +++ b/components/gitpod-db/src/typeorm/migration/1652365883273-CloneUrlIndexed.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { MigrationInterface, QueryRunner } from "typeorm"; diff --git a/components/gitpod-db/src/typeorm/team-subscription-2-db-impl.ts b/components/gitpod-db/src/typeorm/team-subscription-2-db-impl.ts index e8f01bc4c4d338..a77bea6fd9519f 100644 --- a/components/gitpod-db/src/typeorm/team-subscription-2-db-impl.ts +++ b/components/gitpod-db/src/typeorm/team-subscription-2-db-impl.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/gitpod-db/src/typeorm/team-subscription-db-impl.ts b/components/gitpod-db/src/typeorm/team-subscription-db-impl.ts index 45fa1ac9436e78..87097b63e86201 100644 --- a/components/gitpod-db/src/typeorm/team-subscription-db-impl.ts +++ b/components/gitpod-db/src/typeorm/team-subscription-db-impl.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/gitpod-db/src/typeorm/webhook-event-db-impl.ts b/components/gitpod-db/src/typeorm/webhook-event-db-impl.ts index 5c78c7a46a8e13..5556663ae881c6 100644 --- a/components/gitpod-db/src/typeorm/webhook-event-db-impl.ts +++ b/components/gitpod-db/src/typeorm/webhook-event-db-impl.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/gitpod-db/src/webhook-event-db.spec.db.ts b/components/gitpod-db/src/webhook-event-db.spec.db.ts index 7dbad599626a9e..81e9fa908c176e 100644 --- a/components/gitpod-db/src/webhook-event-db.spec.db.ts +++ b/components/gitpod-db/src/webhook-event-db.spec.db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import * as chai from "chai"; diff --git a/components/gitpod-db/src/webhook-event-db.ts b/components/gitpod-db/src/webhook-event-db.ts index 05a01b713905d5..8930053e721fb2 100644 --- a/components/gitpod-db/src/webhook-event-db.ts +++ b/components/gitpod-db/src/webhook-event-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { WebhookEvent } from "@gitpod/gitpod-protocol"; diff --git a/components/licensor/ee/cmd/genkey.go b/components/licensor/ee/cmd/genkey.go index c9e383c08a516e..638ec941da5d42 100644 --- a/components/licensor/ee/cmd/genkey.go +++ b/components/licensor/ee/cmd/genkey.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/licensor/ee/cmd/root.go b/components/licensor/ee/cmd/root.go index 0998b41b68eb4a..e283678397e20c 100644 --- a/components/licensor/ee/cmd/root.go +++ b/components/licensor/ee/cmd/root.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/licensor/ee/cmd/sign.go b/components/licensor/ee/cmd/sign.go index 212376ed5c3bea..8815cecafdb3f9 100644 --- a/components/licensor/ee/cmd/sign.go +++ b/components/licensor/ee/cmd/sign.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/licensor/ee/cmd/validate.go b/components/licensor/ee/cmd/validate.go index b4ab37352889f8..bb62675c246429 100644 --- a/components/licensor/ee/cmd/validate.go +++ b/components/licensor/ee/cmd/validate.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package cmd diff --git a/components/licensor/ee/pkg/licensor/gitpod.go b/components/licensor/ee/pkg/licensor/gitpod.go index 4a920e00e024dc..ef253d97539418 100644 --- a/components/licensor/ee/pkg/licensor/gitpod.go +++ b/components/licensor/ee/pkg/licensor/gitpod.go @@ -1,6 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package licensor diff --git a/components/licensor/ee/pkg/licensor/keys.go b/components/licensor/ee/pkg/licensor/keys.go index 9917c8009d8265..1d12ae678aa9f7 100644 --- a/components/licensor/ee/pkg/licensor/keys.go +++ b/components/licensor/ee/pkg/licensor/keys.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package licensor diff --git a/components/licensor/ee/pkg/licensor/licensor.go b/components/licensor/ee/pkg/licensor/licensor.go index 8868d3c083e3e6..cd1dffd5baac59 100644 --- a/components/licensor/ee/pkg/licensor/licensor.go +++ b/components/licensor/ee/pkg/licensor/licensor.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package licensor diff --git a/components/licensor/ee/pkg/licensor/licensor_test.go b/components/licensor/ee/pkg/licensor/licensor_test.go index 371ae7cc8461aa..604d64033fa11e 100644 --- a/components/licensor/ee/pkg/licensor/licensor_test.go +++ b/components/licensor/ee/pkg/licensor/licensor_test.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package licensor diff --git a/components/licensor/ee/pkg/licensor/replicated.go b/components/licensor/ee/pkg/licensor/replicated.go index 9d67e28c480a48..f6222ba65411a2 100644 --- a/components/licensor/ee/pkg/licensor/replicated.go +++ b/components/licensor/ee/pkg/licensor/replicated.go @@ -1,6 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package licensor diff --git a/components/licensor/typescript/ee/genapi.go b/components/licensor/typescript/ee/genapi.go index af6d2b8576ca67..7523fcd65981cd 100644 --- a/components/licensor/typescript/ee/genapi.go +++ b/components/licensor/typescript/ee/genapi.go @@ -1,7 +1,3 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. - //go:build genapi // +build genapi @@ -21,9 +17,9 @@ const ( leewaySrcPath = "../components-licensor--lib/ee/pkg/licensor" preamble = `/** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ // generated using github.com/32leaves/bel diff --git a/components/licensor/typescript/ee/main.go b/components/licensor/typescript/ee/main.go index cc6fd1008ae3d1..0b72a52c9a1d8d 100644 --- a/components/licensor/typescript/ee/main.go +++ b/components/licensor/typescript/ee/main.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. package main diff --git a/components/licensor/typescript/ee/src/api.ts b/components/licensor/typescript/ee/src/api.ts index 9fde2c9a21f2ea..b369dd270e3805 100644 --- a/components/licensor/typescript/ee/src/api.ts +++ b/components/licensor/typescript/ee/src/api.ts @@ -1,8 +1,10 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + // generated using github.com/32leaves/bel // DO NOT MODIFY export enum Feature { diff --git a/components/licensor/typescript/ee/src/index.ts b/components/licensor/typescript/ee/src/index.ts index b9495ff9d714fa..edb724ced363dd 100644 --- a/components/licensor/typescript/ee/src/index.ts +++ b/components/licensor/typescript/ee/src/index.ts @@ -1,9 +1,11 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + import { injectable, inject, postConstruct } from 'inversify'; import { init, Instance, dispose, isEnabled, hasEnoughSeats, inspect, validate, getLicenseData } from "./nativemodule"; import { Feature, LicensePayload, LicenseData } from './api'; diff --git a/components/licensor/typescript/ee/src/module.cc b/components/licensor/typescript/ee/src/module.cc index 3595c147cc5736..497ad7aa1e96b7 100644 --- a/components/licensor/typescript/ee/src/module.cc +++ b/components/licensor/typescript/ee/src/module.cc @@ -1,6 +1,8 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. + + #include // include the header file generated from the Go build @@ -257,4 +259,4 @@ void initModule(Local exports) { } // create module -NODE_MODULE(licensor, initModule) \ No newline at end of file +NODE_MODULE(licensor, initModule) diff --git a/components/licensor/typescript/ee/src/nativemodule.d.ts b/components/licensor/typescript/ee/src/nativemodule.d.ts index d74dae36e86c6f..3f147b418b8ac8 100644 --- a/components/licensor/typescript/ee/src/nativemodule.d.ts +++ b/components/licensor/typescript/ee/src/nativemodule.d.ts @@ -1,10 +1,12 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ + + export type Instance = number; export function init(key: string, domain: string): Instance; diff --git a/components/licensor/typescript/ee/src/nativemodule.js b/components/licensor/typescript/ee/src/nativemodule.js index bc1a93781c2293..de1f5dcd2ba2c6 100644 --- a/components/licensor/typescript/ee/src/nativemodule.js +++ b/components/licensor/typescript/ee/src/nativemodule.js @@ -1,7 +1,9 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ -module.exports = require("../build/Release/licensor"); \ No newline at end of file + + +module.exports = require("../build/Release/licensor"); diff --git a/components/server/ee/src/auth/email-domain-service.spec.ts b/components/server/ee/src/auth/email-domain-service.spec.ts index 2897f31838c567..8d098d945fd846 100644 --- a/components/server/ee/src/auth/email-domain-service.spec.ts +++ b/components/server/ee/src/auth/email-domain-service.spec.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as chai from "chai"; diff --git a/components/server/ee/src/auth/email-domain-service.ts b/components/server/ee/src/auth/email-domain-service.ts index fa6a85ce6352c4..10a0e403ce0a6c 100644 --- a/components/server/ee/src/auth/email-domain-service.ts +++ b/components/server/ee/src/auth/email-domain-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/server/ee/src/auth/host-container-mapping.ts b/components/server/ee/src/auth/host-container-mapping.ts index e3770223618899..a02275d4f0d704 100644 --- a/components/server/ee/src/auth/host-container-mapping.ts +++ b/components/server/ee/src/auth/host-container-mapping.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable, interfaces } from "inversify"; diff --git a/components/server/ee/src/bitbucket-server/container-module.ts b/components/server/ee/src/bitbucket-server/container-module.ts index 850d7dcf81b3c3..60a0e4f3f7a48c 100644 --- a/components/server/ee/src/bitbucket-server/container-module.ts +++ b/components/server/ee/src/bitbucket-server/container-module.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ContainerModule } from "inversify"; diff --git a/components/server/ee/src/bitbucket/bitbucket-app-support.ts b/components/server/ee/src/bitbucket/bitbucket-app-support.ts index 2953b3e704c001..c42c3b15a98c19 100644 --- a/components/server/ee/src/bitbucket/bitbucket-app-support.ts +++ b/components/server/ee/src/bitbucket/bitbucket-app-support.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ // @ts-nocheck diff --git a/components/server/ee/src/bitbucket/container-module.ts b/components/server/ee/src/bitbucket/container-module.ts index 6d92bddd528a68..e23adb701451a1 100644 --- a/components/server/ee/src/bitbucket/container-module.ts +++ b/components/server/ee/src/bitbucket/container-module.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ContainerModule } from "inversify"; diff --git a/components/server/ee/src/container-module.ts b/components/server/ee/src/container-module.ts index de87e2370401e5..72909d265c3b3d 100644 --- a/components/server/ee/src/container-module.ts +++ b/components/server/ee/src/container-module.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ContainerModule } from "inversify"; diff --git a/components/server/ee/src/github/container-module.ts b/components/server/ee/src/github/container-module.ts index 49cdf605df7619..7cdbc27a2aed93 100644 --- a/components/server/ee/src/github/container-module.ts +++ b/components/server/ee/src/github/container-module.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ContainerModule } from "inversify"; diff --git a/components/server/ee/src/github/github-app-support.ts b/components/server/ee/src/github/github-app-support.ts index e5536d9273db96..7255e57ae54c03 100644 --- a/components/server/ee/src/github/github-app-support.ts +++ b/components/server/ee/src/github/github-app-support.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ProviderRepository, User } from "@gitpod/gitpod-protocol"; diff --git a/components/server/ee/src/gitlab/container-module.ts b/components/server/ee/src/gitlab/container-module.ts index 0060498b6d5278..c8818fc5e30245 100644 --- a/components/server/ee/src/gitlab/container-module.ts +++ b/components/server/ee/src/gitlab/container-module.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ContainerModule } from "inversify"; diff --git a/components/server/ee/src/gitlab/gitlab-app-support.ts b/components/server/ee/src/gitlab/gitlab-app-support.ts index 41414784ef1b69..f393335cc2a05a 100644 --- a/components/server/ee/src/gitlab/gitlab-app-support.ts +++ b/components/server/ee/src/gitlab/gitlab-app-support.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { AuthProviderInfo, ProviderRepository, User } from "@gitpod/gitpod-protocol"; diff --git a/components/server/ee/src/license-source.ts b/components/server/ee/src/license-source.ts index 0716507a7d36be..986f826d84eba8 100644 --- a/components/server/ee/src/license-source.ts +++ b/components/server/ee/src/license-source.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { LicenseKeySource } from "@gitpod/licensor/lib"; diff --git a/components/server/ee/src/main.ts b/components/server/ee/src/main.ts index ffd8a35cc9ef94..44f6c0ef2eebdb 100644 --- a/components/server/ee/src/main.ts +++ b/components/server/ee/src/main.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { start } from "../../src/init"; diff --git a/components/server/ee/src/monitoring-endpoint-ee.ts b/components/server/ee/src/monitoring-endpoint-ee.ts index f6756f824932ec..11207d3bae5f96 100644 --- a/components/server/ee/src/monitoring-endpoint-ee.ts +++ b/components/server/ee/src/monitoring-endpoint-ee.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as express from "express"; diff --git a/components/server/ee/src/prebuilds/bitbucket-app.ts b/components/server/ee/src/prebuilds/bitbucket-app.ts index 2d108040268cfc..24d95784a0b482 100644 --- a/components/server/ee/src/prebuilds/bitbucket-app.ts +++ b/components/server/ee/src/prebuilds/bitbucket-app.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as express from "express"; diff --git a/components/server/ee/src/prebuilds/bitbucket-server-app.ts b/components/server/ee/src/prebuilds/bitbucket-server-app.ts index 0dab2b6e00cdb6..872dd4d03fe224 100644 --- a/components/server/ee/src/prebuilds/bitbucket-server-app.ts +++ b/components/server/ee/src/prebuilds/bitbucket-server-app.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as express from "express"; diff --git a/components/server/ee/src/prebuilds/bitbucket-server-service.ts b/components/server/ee/src/prebuilds/bitbucket-server-service.ts index 334847f9ab5399..c7ba20a09f398e 100644 --- a/components/server/ee/src/prebuilds/bitbucket-server-service.ts +++ b/components/server/ee/src/prebuilds/bitbucket-server-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { RepositoryService } from "../../../src/repohost/repo-service"; diff --git a/components/server/ee/src/prebuilds/bitbucket-service.ts b/components/server/ee/src/prebuilds/bitbucket-service.ts index 07a98e664f5bf1..8ffcdb6b763380 100644 --- a/components/server/ee/src/prebuilds/bitbucket-service.ts +++ b/components/server/ee/src/prebuilds/bitbucket-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { RepositoryService } from "../../../src/repohost/repo-service"; diff --git a/components/server/ee/src/prebuilds/github-app-rules.ts b/components/server/ee/src/prebuilds/github-app-rules.ts index d8bf9b9d40ca3a..f3a504428b5119 100644 --- a/components/server/ee/src/prebuilds/github-app-rules.ts +++ b/components/server/ee/src/prebuilds/github-app-rules.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable } from "inversify"; diff --git a/components/server/ee/src/prebuilds/github-app.spec.ts b/components/server/ee/src/prebuilds/github-app.spec.ts index 5c67ffe821205f..bef106a9dd90d7 100644 --- a/components/server/ee/src/prebuilds/github-app.spec.ts +++ b/components/server/ee/src/prebuilds/github-app.spec.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { Container, ContainerModule } from "inversify"; diff --git a/components/server/ee/src/prebuilds/github-app.ts b/components/server/ee/src/prebuilds/github-app.ts index 2e7f5e53659ed6..d989ef8b593947 100644 --- a/components/server/ee/src/prebuilds/github-app.ts +++ b/components/server/ee/src/prebuilds/github-app.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { Server, Probot, Context } from "probot"; diff --git a/components/server/ee/src/prebuilds/github-enterprise-app.ts b/components/server/ee/src/prebuilds/github-enterprise-app.ts index e474d43cd786a4..1518fd4a740783 100644 --- a/components/server/ee/src/prebuilds/github-enterprise-app.ts +++ b/components/server/ee/src/prebuilds/github-enterprise-app.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as express from "express"; diff --git a/components/server/ee/src/prebuilds/github-service.ts b/components/server/ee/src/prebuilds/github-service.ts index 845eca1894766d..fdfca521d01e3c 100644 --- a/components/server/ee/src/prebuilds/github-service.ts +++ b/components/server/ee/src/prebuilds/github-service.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { RepositoryService } from "../../../src/repohost/repo-service"; diff --git a/components/server/ee/src/prebuilds/gitlab-app.ts b/components/server/ee/src/prebuilds/gitlab-app.ts index 9459420f337d3a..774b2c6ceafde0 100644 --- a/components/server/ee/src/prebuilds/gitlab-app.ts +++ b/components/server/ee/src/prebuilds/gitlab-app.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as express from "express"; diff --git a/components/server/ee/src/prebuilds/gitlab-service.ts b/components/server/ee/src/prebuilds/gitlab-service.ts index 64858c7d35c3f8..1c61c014b66c89 100644 --- a/components/server/ee/src/prebuilds/gitlab-service.ts +++ b/components/server/ee/src/prebuilds/gitlab-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { RepositoryService } from "../../../src/repohost/repo-service"; diff --git a/components/server/ee/src/prebuilds/prebuild-manager.ts b/components/server/ee/src/prebuilds/prebuild-manager.ts index be6ba74e81ab12..02561e03d90ce7 100644 --- a/components/server/ee/src/prebuilds/prebuild-manager.ts +++ b/components/server/ee/src/prebuilds/prebuild-manager.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { DBWithTracing, TracedWorkspaceDB, WorkspaceDB } from "@gitpod/gitpod-db/lib"; diff --git a/components/server/ee/src/prebuilds/prebuilt-status-maintainer.ts b/components/server/ee/src/prebuilds/prebuilt-status-maintainer.ts index c709fe761480b0..ca8d19e5d97e34 100644 --- a/components/server/ee/src/prebuilds/prebuilt-status-maintainer.ts +++ b/components/server/ee/src/prebuilds/prebuilt-status-maintainer.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ProbotOctokit } from "probot"; diff --git a/components/server/ee/src/prebuilds/start-prebuild-context-parser.ts b/components/server/ee/src/prebuilds/start-prebuild-context-parser.ts index c2317c76da1b13..f9a97bcf9a69c8 100644 --- a/components/server/ee/src/prebuilds/start-prebuild-context-parser.ts +++ b/components/server/ee/src/prebuilds/start-prebuild-context-parser.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { User, WorkspaceContext, ContextURL } from "@gitpod/gitpod-protocol"; diff --git a/components/server/ee/src/server.ts b/components/server/ee/src/server.ts index d745b64c22755e..a8b3ad66c3d740 100644 --- a/components/server/ee/src/server.ts +++ b/components/server/ee/src/server.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import * as express from "express"; diff --git a/components/server/ee/src/typings/swot-js/index.d.ts b/components/server/ee/src/typings/swot-js/index.d.ts index 5d85872ac6599b..9bb0dd60ee68e7 100644 --- a/components/server/ee/src/typings/swot-js/index.d.ts +++ b/components/server/ee/src/typings/swot-js/index.d.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ declare module "swot-js"; diff --git a/components/server/ee/src/user/account-statement-provider.ts b/components/server/ee/src/user/account-statement-provider.ts index 42e97babed8fee..9d24bc6b6bbbed 100644 --- a/components/server/ee/src/user/account-statement-provider.ts +++ b/components/server/ee/src/user/account-statement-provider.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/server/ee/src/user/chargebee-service.ts b/components/server/ee/src/user/chargebee-service.ts index 20aa0c7ce9f329..fcc6d1efbad98d 100644 --- a/components/server/ee/src/user/chargebee-service.ts +++ b/components/server/ee/src/user/chargebee-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/server/ee/src/user/coupon-computer.ts b/components/server/ee/src/user/coupon-computer.ts index e70517e9d25862..b829cf10f2d97f 100644 --- a/components/server/ee/src/user/coupon-computer.ts +++ b/components/server/ee/src/user/coupon-computer.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/server/ee/src/user/eligibility-service.spec.db.ts b/components/server/ee/src/user/eligibility-service.spec.db.ts index 27d07fd3e9893c..c049fd968928d0 100644 --- a/components/server/ee/src/user/eligibility-service.spec.db.ts +++ b/components/server/ee/src/user/eligibility-service.spec.db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { testContainer } from "@gitpod/gitpod-db/lib/test-container"; diff --git a/components/server/ee/src/user/eligibility-service.ts b/components/server/ee/src/user/eligibility-service.ts index b399b6c09c5af3..6f3795e5ce5475 100644 --- a/components/server/ee/src/user/eligibility-service.ts +++ b/components/server/ee/src/user/eligibility-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { inject, injectable } from "inversify"; diff --git a/components/server/ee/src/user/stripe-service.ts b/components/server/ee/src/user/stripe-service.ts index 1101f21c04ae15..a85771b053338a 100644 --- a/components/server/ee/src/user/stripe-service.ts +++ b/components/server/ee/src/user/stripe-service.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { inject, injectable } from "inversify"; diff --git a/components/server/ee/src/user/user-deletion-service.ts b/components/server/ee/src/user/user-deletion-service.ts index 4467ed84bc993f..0038142ec677f9 100644 --- a/components/server/ee/src/user/user-deletion-service.ts +++ b/components/server/ee/src/user/user-deletion-service.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. * Licensed under the GNU Affero General Public License (AGPL). * See License-AGPL.txt in the project root for license information. */ diff --git a/components/server/ee/src/user/user-service.ts b/components/server/ee/src/user/user-service.ts index 0f80236321ec63..b2e3d914893030 100644 --- a/components/server/ee/src/user/user-service.ts +++ b/components/server/ee/src/user/user-service.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { UserService, CheckSignUpParams, CheckTermsParams } from "../../../src/user/user-service"; diff --git a/components/server/ee/src/workspace/gitpod-server-impl.ts b/components/server/ee/src/workspace/gitpod-server-impl.ts index e9c6bbb840909b..11e12ff9c9843a 100644 --- a/components/server/ee/src/workspace/gitpod-server-impl.ts +++ b/components/server/ee/src/workspace/gitpod-server-impl.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { injectable, inject } from "inversify"; diff --git a/components/server/ee/src/workspace/snapshot-service.ts b/components/server/ee/src/workspace/snapshot-service.ts index 44a49ed11ca105..837854d32e9692 100644 --- a/components/server/ee/src/workspace/snapshot-service.ts +++ b/components/server/ee/src/workspace/snapshot-service.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2021 Gitpod GmbH. All rights reserved. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. * Licensed under the GNU Affero General Public License (AGPL). * See License-AGPL.txt in the project root for license information. */ diff --git a/components/server/ee/src/workspace/workspace-factory.ts b/components/server/ee/src/workspace/workspace-factory.ts index 800d2786abc3af..a2cd2bdd2a7c0a 100644 --- a/components/server/ee/src/workspace/workspace-factory.ts +++ b/components/server/ee/src/workspace/workspace-factory.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { v4 as uuidv4 } from "uuid"; diff --git a/components/server/src/user/usage-service.ts b/components/server/src/user/usage-service.ts index d0947797dadc07..e5861b92f70f83 100644 --- a/components/server/src/user/usage-service.ts +++ b/components/server/src/user/usage-service.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { AttributionId } from "@gitpod/gitpod-protocol/lib/attribution"; diff --git a/components/ws-manager-bridge/ee/src/container-module.ts b/components/ws-manager-bridge/ee/src/container-module.ts index 823a691a8dd871..f4a10429c1764a 100644 --- a/components/ws-manager-bridge/ee/src/container-module.ts +++ b/components/ws-manager-bridge/ee/src/container-module.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { ContainerModule } from "inversify"; diff --git a/components/ws-manager-bridge/ee/src/index.ts b/components/ws-manager-bridge/ee/src/index.ts index 2cb49e114d3461..c405242617fc37 100644 --- a/components/ws-manager-bridge/ee/src/index.ts +++ b/components/ws-manager-bridge/ee/src/index.ts @@ -1,7 +1,7 @@ /** - * Copyright (c) 2020 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Copyright (c) 2022 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ require("reflect-metadata"); diff --git a/components/ws-manager-bridge/ee/src/prebuild-updater-db.ts b/components/ws-manager-bridge/ee/src/prebuild-updater-db.ts index c374162746a3aa..f52ca6afed03ab 100644 --- a/components/ws-manager-bridge/ee/src/prebuild-updater-db.ts +++ b/components/ws-manager-bridge/ee/src/prebuild-updater-db.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. */ import { inject, injectable } from "inversify"; diff --git a/components/ws-manager-bridge/src/prebuild-updater.ts b/components/ws-manager-bridge/src/prebuild-updater.ts index bcfe6b9793f985..695adea07f27cb 100644 --- a/components/ws-manager-bridge/src/prebuild-updater.ts +++ b/components/ws-manager-bridge/src/prebuild-updater.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { TraceContext } from "@gitpod/gitpod-protocol/lib/util/tracing"; diff --git a/components/ws-manager-bridge/src/workspace-instance-controller.ts b/components/ws-manager-bridge/src/workspace-instance-controller.ts index ea8976bc4a6c37..ff9fadb41d87ca 100644 --- a/components/ws-manager-bridge/src/workspace-instance-controller.ts +++ b/components/ws-manager-bridge/src/workspace-instance-controller.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the Gitpod Enterprise Source Code License, - * See License.enterprise.txt in the project root folder. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ import { TraceContext } from "@gitpod/gitpod-protocol/lib/util/tracing"; diff --git a/components/ws-manager/pkg/manager/manager_ee.go b/components/ws-manager/pkg/manager/manager_ee.go index 3e91e5af167b11..22e9be22a96bbb 100644 --- a/components/ws-manager/pkg/manager/manager_ee.go +++ b/components/ws-manager/pkg/manager/manager_ee.go @@ -1,6 +1,6 @@ -// Copyright (c) 2020 Gitpod GmbH. All rights reserved. -// Licensed under the Gitpod Enterprise Source Code License, -// See License.enterprise.txt in the project root folder. +// Copyright (c) 2022 Gitpod GmbH. All rights reserved. +// Licensed under the GNU Affero General Public License (AGPL). +// See License-AGPL.txt in the project root for license information. //go:build !oss // +build !oss diff --git a/dev/addlicense/main.go b/dev/addlicense/main.go index 2131b6132e70f9..b7bda2f98e58bc 100644 --- a/dev/addlicense/main.go +++ b/dev/addlicense/main.go @@ -54,6 +54,7 @@ var ( verbose = flag.Bool("v", false, "verbose mode: print the name of the files that are modified") stdin = flag.Bool("s", false, "read paths to file that are modified from stdin") checkonly = flag.Bool("check", false, "check only mode: verify presence of license headers and exit with non-zero code if missing") + remove = flag.Bool("remove", false, "remove header mode: if a license header is present, we'll remove it") ) func main() { @@ -120,6 +121,15 @@ func main() { fmt.Printf("%s\n", f.path) return errors.New("missing license header") } + } else if *remove { + modified, haslic, err := removeLicense(f.path, f.mode, t, data) + if err != nil { + log.Printf("%s: %v", f.path, err) + return err + } + if haslic && !modified { + log.Printf("%s should have been modified but wasn't", f.path) + } } else { modified, err := addLicense(f.path, f.mode, t, data) if err != nil { @@ -207,6 +217,37 @@ func addLicense(path string, fmode os.FileMode, tmpl *template.Template, data *c return true, os.WriteFile(path, b, fmode) } +func removeLicense(path string, fmode os.FileMode, tmpl *template.Template, data *copyrightData) (haslic bool, modified bool, err error) { + var lic []byte + lic, err = licenseHeader(path, tmpl, data) + if err != nil || lic == nil { + return false, false, err + } + + b, err := os.ReadFile(path) + if err != nil { + return false, false, err + } + olen := len(b) + if !hasLicense(b) { + return false, false, nil + } + + lic = bytes.TrimSpace(lic) + + b = bytes.ReplaceAll(b, []byte("Copyright (c) 2021 Gitpod GmbH."), []byte("Copyright (c) 2022 Gitpod GmbH.")) + b = bytes.ReplaceAll(b, []byte("Copyright (c) 2020 Gitpod GmbH."), []byte("Copyright (c) 2022 Gitpod GmbH.")) + b = bytes.ReplaceAll(b, bytes.TrimSpace(lic), nil) + if len(b) >= olen { + fmt.Println(string(lic)) + fmt.Println("---") + fmt.Println(string(b[:len(lic)])) + fmt.Println("===") + } + + return len(b) < olen, true, os.WriteFile(path, b, fmode) +} + // fileHasLicense reports whether the file at path contains a license header. func fileHasLicense(path string) (bool, error) { b, err := os.ReadFile(path) diff --git a/install/installer/cmd/config.go b/install/installer/cmd/config.go index c68ed99299e2f1..69ac593a3fe73c 100644 --- a/install/installer/cmd/config.go +++ b/install/installer/cmd/config.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/config_build-from-envvars.go b/install/installer/cmd/config_build-from-envvars.go index afa7bd110e1104..d7b24a82be6460 100644 --- a/install/installer/cmd/config_build-from-envvars.go +++ b/install/installer/cmd/config_build-from-envvars.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/config_cluster.go b/install/installer/cmd/config_cluster.go index 708235ad48bffa..732ec61dafafeb 100644 --- a/install/installer/cmd/config_cluster.go +++ b/install/installer/cmd/config_cluster.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/config_cluster_shiftfs.go b/install/installer/cmd/config_cluster_shiftfs.go index d1cd6cf4d9e9b4..2e4a0c11c3fe88 100644 --- a/install/installer/cmd/config_cluster_shiftfs.go +++ b/install/installer/cmd/config_cluster_shiftfs.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/config_files.go b/install/installer/cmd/config_files.go index 759000b2bf4c85..23400486959ebf 100644 --- a/install/installer/cmd/config_files.go +++ b/install/installer/cmd/config_files.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/config_files_containerd.go b/install/installer/cmd/config_files_containerd.go index a58f4e792d5c59..eb8d4acd035528 100644 --- a/install/installer/cmd/config_files_containerd.go +++ b/install/installer/cmd/config_files_containerd.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/config_init.go b/install/installer/cmd/config_init.go index 1d358e89e41ab0..1c6ad5afdf3629 100644 --- a/install/installer/cmd/config_init.go +++ b/install/installer/cmd/config_init.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/mirror_kots.go b/install/installer/cmd/mirror_kots.go index 505aa20810ca88..49bd210ca414a9 100644 --- a/install/installer/cmd/mirror_kots.go +++ b/install/installer/cmd/mirror_kots.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/render_test.go b/install/installer/cmd/render_test.go index ccf5031b99ae7d..4faeddd9caecac 100644 --- a/install/installer/cmd/render_test.go +++ b/install/installer/cmd/render_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package cmd diff --git a/install/installer/cmd/testdata/render/aws-setup/config.yaml b/install/installer/cmd/testdata/render/aws-setup/config.yaml index 4fac8b5ae1c357..0b47b128150036 100644 --- a/install/installer/cmd/testdata/render/aws-setup/config.yaml +++ b/install/installer/cmd/testdata/render/aws-setup/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/aws-setup/output.golden b/install/installer/cmd/testdata/render/aws-setup/output.golden index a892870c9fa25d..cedf63b0fa3358 100644 --- a/install/installer/cmd/testdata/render/aws-setup/output.golden +++ b/install/installer/cmd/testdata/render/aws-setup/output.golden @@ -1354,7 +1354,7 @@ data: -- 00-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/azure-setup/config.yaml b/install/installer/cmd/testdata/render/azure-setup/config.yaml index 69a4e7a238f176..ea310ea2c70a88 100644 --- a/install/installer/cmd/testdata/render/azure-setup/config.yaml +++ b/install/installer/cmd/testdata/render/azure-setup/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/azure-setup/output.golden b/install/installer/cmd/testdata/render/azure-setup/output.golden index 6e88825b33ca09..4294933c091df4 100644 --- a/install/installer/cmd/testdata/render/azure-setup/output.golden +++ b/install/installer/cmd/testdata/render/azure-setup/output.golden @@ -1316,7 +1316,7 @@ data: -- 00-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/customization/config.yaml b/install/installer/cmd/testdata/render/customization/config.yaml index f77d8b11c18285..44c954278c84c0 100644 --- a/install/installer/cmd/testdata/render/customization/config.yaml +++ b/install/installer/cmd/testdata/render/customization/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/customization/output.golden b/install/installer/cmd/testdata/render/customization/output.golden index c89b73543b4d83..7cdc9cdefdea97 100644 --- a/install/installer/cmd/testdata/render/customization/output.golden +++ b/install/installer/cmd/testdata/render/customization/output.golden @@ -1553,7 +1553,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1574,7 +1574,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/external-registry/config.yaml b/install/installer/cmd/testdata/render/external-registry/config.yaml index 865f264ed0af0e..c72b68fbfcd6b1 100644 --- a/install/installer/cmd/testdata/render/external-registry/config.yaml +++ b/install/installer/cmd/testdata/render/external-registry/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/external-registry/output.golden b/install/installer/cmd/testdata/render/external-registry/output.golden index 204bc59b8d27a4..718252d1d2b151 100644 --- a/install/installer/cmd/testdata/render/external-registry/output.golden +++ b/install/installer/cmd/testdata/render/external-registry/output.golden @@ -1347,7 +1347,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1368,7 +1368,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/gcp-setup/config.yaml b/install/installer/cmd/testdata/render/gcp-setup/config.yaml index d922a75362fea3..505829a1266b6d 100644 --- a/install/installer/cmd/testdata/render/gcp-setup/config.yaml +++ b/install/installer/cmd/testdata/render/gcp-setup/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/gcp-setup/output.golden b/install/installer/cmd/testdata/render/gcp-setup/output.golden index f5236c284065e9..a3c708581103db 100644 --- a/install/installer/cmd/testdata/render/gcp-setup/output.golden +++ b/install/installer/cmd/testdata/render/gcp-setup/output.golden @@ -1292,7 +1292,7 @@ data: -- 00-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/http-proxy/config.yaml b/install/installer/cmd/testdata/render/http-proxy/config.yaml index 2ed71d7fbb195d..01e6ac7f344921 100644 --- a/install/installer/cmd/testdata/render/http-proxy/config.yaml +++ b/install/installer/cmd/testdata/render/http-proxy/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/http-proxy/output.golden b/install/installer/cmd/testdata/render/http-proxy/output.golden index 6af0b55dbbd67d..f6f37050e8d88f 100644 --- a/install/installer/cmd/testdata/render/http-proxy/output.golden +++ b/install/installer/cmd/testdata/render/http-proxy/output.golden @@ -1418,7 +1418,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1439,7 +1439,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/insecure-s3-setup/config.yaml b/install/installer/cmd/testdata/render/insecure-s3-setup/config.yaml index a4a3e51788ef13..f6cdfd14eebd0d 100644 --- a/install/installer/cmd/testdata/render/insecure-s3-setup/config.yaml +++ b/install/installer/cmd/testdata/render/insecure-s3-setup/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/insecure-s3-setup/output.golden b/install/installer/cmd/testdata/render/insecure-s3-setup/output.golden index 357c1966899e27..5ac61d6592cb5f 100644 --- a/install/installer/cmd/testdata/render/insecure-s3-setup/output.golden +++ b/install/installer/cmd/testdata/render/insecure-s3-setup/output.golden @@ -1385,7 +1385,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1406,7 +1406,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/kind-ide/config.yaml b/install/installer/cmd/testdata/render/kind-ide/config.yaml index 769d383b3759e5..8167133346a374 100644 --- a/install/installer/cmd/testdata/render/kind-ide/config.yaml +++ b/install/installer/cmd/testdata/render/kind-ide/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/kind-meta/config.yaml b/install/installer/cmd/testdata/render/kind-meta/config.yaml index c6dbcf4dc1f0df..f85c17d7e9142c 100644 --- a/install/installer/cmd/testdata/render/kind-meta/config.yaml +++ b/install/installer/cmd/testdata/render/kind-meta/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/kind-meta/output.golden b/install/installer/cmd/testdata/render/kind-meta/output.golden index e2e727822ee4d1..2f047bc4494803 100644 --- a/install/installer/cmd/testdata/render/kind-meta/output.golden +++ b/install/installer/cmd/testdata/render/kind-meta/output.golden @@ -966,7 +966,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -987,7 +987,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/kind-webapp/config.yaml b/install/installer/cmd/testdata/render/kind-webapp/config.yaml index 7372c94b182434..3e7dc464cab805 100644 --- a/install/installer/cmd/testdata/render/kind-webapp/config.yaml +++ b/install/installer/cmd/testdata/render/kind-webapp/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/kind-webapp/output.golden b/install/installer/cmd/testdata/render/kind-webapp/output.golden index c6d969666196bc..317b823427afb6 100644 --- a/install/installer/cmd/testdata/render/kind-webapp/output.golden +++ b/install/installer/cmd/testdata/render/kind-webapp/output.golden @@ -704,7 +704,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -725,7 +725,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/kind-workspace/config.yaml b/install/installer/cmd/testdata/render/kind-workspace/config.yaml index b569d7a9809623..c1305183b8eb2a 100644 --- a/install/installer/cmd/testdata/render/kind-workspace/config.yaml +++ b/install/installer/cmd/testdata/render/kind-workspace/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/minimal/config.yaml b/install/installer/cmd/testdata/render/minimal/config.yaml index d1614684939409..ab9a818160e5d7 100644 --- a/install/installer/cmd/testdata/render/minimal/config.yaml +++ b/install/installer/cmd/testdata/render/minimal/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/minimal/output.golden b/install/installer/cmd/testdata/render/minimal/output.golden index 0d9b11c7022d6d..01de9c7c015c27 100644 --- a/install/installer/cmd/testdata/render/minimal/output.golden +++ b/install/installer/cmd/testdata/render/minimal/output.golden @@ -1418,7 +1418,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1439,7 +1439,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/shortname/config.yaml b/install/installer/cmd/testdata/render/shortname/config.yaml index 8e041cdefee977..706188b9e4ef47 100644 --- a/install/installer/cmd/testdata/render/shortname/config.yaml +++ b/install/installer/cmd/testdata/render/shortname/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/shortname/output.golden b/install/installer/cmd/testdata/render/shortname/output.golden index 6285b7fc92678e..6d9b0f4adca631 100644 --- a/install/installer/cmd/testdata/render/shortname/output.golden +++ b/install/installer/cmd/testdata/render/shortname/output.golden @@ -1418,7 +1418,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1439,7 +1439,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/statefulset-customization/config.yaml b/install/installer/cmd/testdata/render/statefulset-customization/config.yaml index 76a463c36a8a14..69e20cea7e6b62 100644 --- a/install/installer/cmd/testdata/render/statefulset-customization/config.yaml +++ b/install/installer/cmd/testdata/render/statefulset-customization/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/statefulset-customization/output.golden b/install/installer/cmd/testdata/render/statefulset-customization/output.golden index d21eb1b59b8803..ae3a0c26f4e323 100644 --- a/install/installer/cmd/testdata/render/statefulset-customization/output.golden +++ b/install/installer/cmd/testdata/render/statefulset-customization/output.golden @@ -1418,7 +1418,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1439,7 +1439,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/use-pod-security-policies/config.yaml b/install/installer/cmd/testdata/render/use-pod-security-policies/config.yaml index 3cb7d54128d480..33bca6f55ecf78 100644 --- a/install/installer/cmd/testdata/render/use-pod-security-policies/config.yaml +++ b/install/installer/cmd/testdata/render/use-pod-security-policies/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/use-pod-security-policies/output.golden b/install/installer/cmd/testdata/render/use-pod-security-policies/output.golden index 313e4b756a733c..786e25e7728481 100644 --- a/install/installer/cmd/testdata/render/use-pod-security-policies/output.golden +++ b/install/installer/cmd/testdata/render/use-pod-security-policies/output.golden @@ -1640,7 +1640,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1661,7 +1661,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/versions.yaml b/install/installer/cmd/testdata/render/versions.yaml index f3db76b6875c2f..50e1f223d9b881 100644 --- a/install/installer/cmd/testdata/render/versions.yaml +++ b/install/installer/cmd/testdata/render/versions.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. commit: 5c9e6394c1372f4c73031671ae786909a85d5730 version: pd-ide-metrics.23 diff --git a/install/installer/cmd/testdata/render/vsxproxy-pvc/config.yaml b/install/installer/cmd/testdata/render/vsxproxy-pvc/config.yaml index a7a7f3207666be..3d43f121086e3f 100644 --- a/install/installer/cmd/testdata/render/vsxproxy-pvc/config.yaml +++ b/install/installer/cmd/testdata/render/vsxproxy-pvc/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/vsxproxy-pvc/output.golden b/install/installer/cmd/testdata/render/vsxproxy-pvc/output.golden index 5fe0874763720f..55df168c05787b 100644 --- a/install/installer/cmd/testdata/render/vsxproxy-pvc/output.golden +++ b/install/installer/cmd/testdata/render/vsxproxy-pvc/output.golden @@ -1418,7 +1418,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1439,7 +1439,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/cmd/testdata/render/workspace-requests-limits/config.yaml b/install/installer/cmd/testdata/render/workspace-requests-limits/config.yaml index 46ba2d93995a77..55cb2530e8402a 100644 --- a/install/installer/cmd/testdata/render/workspace-requests-limits/config.yaml +++ b/install/installer/cmd/testdata/render/workspace-requests-limits/config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 domain: gitpod.example.com diff --git a/install/installer/cmd/testdata/render/workspace-requests-limits/output.golden b/install/installer/cmd/testdata/render/workspace-requests-limits/output.golden index 71896efe501f51..e82f5510cf4c4f 100644 --- a/install/installer/cmd/testdata/render/workspace-requests-limits/output.golden +++ b/install/installer/cmd/testdata/render/workspace-requests-limits/output.golden @@ -1418,7 +1418,7 @@ data: -- 01-create-and-init-sessions-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent @@ -1439,7 +1439,7 @@ data: -- 02-recreate-gitpod-db.sql -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. - -- Licensed under the MIT License. See License-MIT.txt in the project root for license information. + -- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/pkg/common/common_test.go b/install/installer/pkg/common/common_test.go index 7d2c4468bc37a6..dcf89d62a1bf74 100644 --- a/install/installer/pkg/common/common_test.go +++ b/install/installer/pkg/common/common_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package common_test diff --git a/install/installer/pkg/common/customize.go b/install/installer/pkg/common/customize.go index 22c07dfc792691..d8036d4fd3adf2 100644 --- a/install/installer/pkg/common/customize.go +++ b/install/installer/pkg/common/customize.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package common diff --git a/install/installer/pkg/common/customize_test.go b/install/installer/pkg/common/customize_test.go index 2a72c141a4c891..bff3058c25b445 100644 --- a/install/installer/pkg/common/customize_test.go +++ b/install/installer/pkg/common/customize_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package common_test diff --git a/install/installer/pkg/common/render_test.go b/install/installer/pkg/common/render_test.go index c638b72e27c376..3fb80bded24d1b 100644 --- a/install/installer/pkg/common/render_test.go +++ b/install/installer/pkg/common/render_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package common_test diff --git a/install/installer/pkg/components/database/incluster/init/01-create-and-init-sessions-db.sql b/install/installer/pkg/components/database/incluster/init/01-create-and-init-sessions-db.sql index f25ce59d4416e6..3b3a10e4c1788f 100644 --- a/install/installer/pkg/components/database/incluster/init/01-create-and-init-sessions-db.sql +++ b/install/installer/pkg/components/database/incluster/init/01-create-and-init-sessions-db.sql @@ -1,5 +1,5 @@ -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. --- Licensed under the MIT License. See License-MIT.txt in the project root for license information. +-- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/pkg/components/database/incluster/init/02-recreate-gitpod-db.sql b/install/installer/pkg/components/database/incluster/init/02-recreate-gitpod-db.sql index 7d96d79840de13..a4737921686e57 100644 --- a/install/installer/pkg/components/database/incluster/init/02-recreate-gitpod-db.sql +++ b/install/installer/pkg/components/database/incluster/init/02-recreate-gitpod-db.sql @@ -1,5 +1,5 @@ -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. --- Licensed under the MIT License. See License-MIT.txt in the project root for license information. +-- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/pkg/components/database/init/files/00-create-and-init-sessions-db.sql b/install/installer/pkg/components/database/init/files/00-create-and-init-sessions-db.sql index ffe04f00e855bd..15419e4580d9bf 100644 --- a/install/installer/pkg/components/database/init/files/00-create-and-init-sessions-db.sql +++ b/install/installer/pkg/components/database/init/files/00-create-and-init-sessions-db.sql @@ -1,5 +1,5 @@ -- Copyright (c) 2020 Gitpod GmbH. All rights reserved. --- Licensed under the MIT License. See License-MIT.txt in the project root for license information. +-- Licensed under the GNU Affero General Public License (AGPL). See License.AGPL.txt in the project root for license information. -- must be idempotent diff --git a/install/installer/pkg/components/iam/deployment.go b/install/installer/pkg/components/iam/deployment.go index 21169dc1107a45..8bf6f317b785ea 100644 --- a/install/installer/pkg/components/iam/deployment.go +++ b/install/installer/pkg/components/iam/deployment.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package iam diff --git a/install/installer/pkg/components/iam/objects.go b/install/installer/pkg/components/iam/objects.go index e358e9145f342f..9e861886b9f91c 100644 --- a/install/installer/pkg/components/iam/objects.go +++ b/install/installer/pkg/components/iam/objects.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package iam diff --git a/install/installer/pkg/components/iam/service.go b/install/installer/pkg/components/iam/service.go index d58406e97ae22d..91cff854525a61 100644 --- a/install/installer/pkg/components/iam/service.go +++ b/install/installer/pkg/components/iam/service.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package iam diff --git a/install/installer/pkg/components/ide-proxy/service_test.go b/install/installer/pkg/components/ide-proxy/service_test.go index 14915d81395b33..55a0d2074f1948 100644 --- a/install/installer/pkg/components/ide-proxy/service_test.go +++ b/install/installer/pkg/components/ide-proxy/service_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package ide_proxy diff --git a/install/installer/pkg/components/minio/azure/constants.go b/install/installer/pkg/components/minio/azure/constants.go index ad7b584c2c09d9..485c16d3ca1a23 100644 --- a/install/installer/pkg/components/minio/azure/constants.go +++ b/install/installer/pkg/components/minio/azure/constants.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package azure diff --git a/install/installer/pkg/components/openvsx-proxy/service_test.go b/install/installer/pkg/components/openvsx-proxy/service_test.go index 50b66cb47a3d72..c7d656a88f464d 100644 --- a/install/installer/pkg/components/openvsx-proxy/service_test.go +++ b/install/installer/pkg/components/openvsx-proxy/service_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package openvsx_proxy diff --git a/install/installer/pkg/components/proxy/service_test.go b/install/installer/pkg/components/proxy/service_test.go index feb3027d1949a4..6c3316927db555 100644 --- a/install/installer/pkg/components/proxy/service_test.go +++ b/install/installer/pkg/components/proxy/service_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package proxy diff --git a/install/installer/pkg/components/public-api-server/configmap_test.go b/install/installer/pkg/components/public-api-server/configmap_test.go index d9bb1b2872f98e..3394c334dfa9bf 100644 --- a/install/installer/pkg/components/public-api-server/configmap_test.go +++ b/install/installer/pkg/components/public-api-server/configmap_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package public_api_server diff --git a/install/installer/pkg/components/public-api-server/deployment.go b/install/installer/pkg/components/public-api-server/deployment.go index 9ae97dfc81257a..8862c082d3b7f1 100644 --- a/install/installer/pkg/components/public-api-server/deployment.go +++ b/install/installer/pkg/components/public-api-server/deployment.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package public_api_server diff --git a/install/installer/pkg/components/public-api-server/deployment_test.go b/install/installer/pkg/components/public-api-server/deployment_test.go index 3c83414d031d8a..455f7641e27739 100644 --- a/install/installer/pkg/components/public-api-server/deployment_test.go +++ b/install/installer/pkg/components/public-api-server/deployment_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package public_api_server diff --git a/install/installer/pkg/components/public-api-server/objects.go b/install/installer/pkg/components/public-api-server/objects.go index 24e808eaf60257..b3bc8f57888ebb 100644 --- a/install/installer/pkg/components/public-api-server/objects.go +++ b/install/installer/pkg/components/public-api-server/objects.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package public_api_server diff --git a/install/installer/pkg/components/public-api-server/objects_test.go b/install/installer/pkg/components/public-api-server/objects_test.go index f20241e92c8245..d179891e642ff7 100644 --- a/install/installer/pkg/components/public-api-server/objects_test.go +++ b/install/installer/pkg/components/public-api-server/objects_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package public_api_server diff --git a/install/installer/pkg/components/public-api-server/service.go b/install/installer/pkg/components/public-api-server/service.go index 714ca579b5f9c4..1e311c7dbe9f5b 100644 --- a/install/installer/pkg/components/public-api-server/service.go +++ b/install/installer/pkg/components/public-api-server/service.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package public_api_server diff --git a/install/installer/pkg/components/server/configmap_test.go b/install/installer/pkg/components/server/configmap_test.go index a34d5b4c7e6e51..0038f9b3670e87 100644 --- a/install/installer/pkg/components/server/configmap_test.go +++ b/install/installer/pkg/components/server/configmap_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package server diff --git a/install/installer/pkg/components/server/render_test.go b/install/installer/pkg/components/server/render_test.go index e99c84fe50596d..783ccff34a7c0c 100644 --- a/install/installer/pkg/components/server/render_test.go +++ b/install/installer/pkg/components/server/render_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package server diff --git a/install/installer/pkg/components/slowserver/configmap_test.go b/install/installer/pkg/components/slowserver/configmap_test.go index 8db63c72e00b12..b7e17ad22339cd 100644 --- a/install/installer/pkg/components/slowserver/configmap_test.go +++ b/install/installer/pkg/components/slowserver/configmap_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package slowserver diff --git a/install/installer/pkg/components/slowserver/render_test.go b/install/installer/pkg/components/slowserver/render_test.go index 55087c5752642d..6e716ac35f19ff 100644 --- a/install/installer/pkg/components/slowserver/render_test.go +++ b/install/installer/pkg/components/slowserver/render_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package slowserver diff --git a/install/installer/pkg/components/toxiproxy/configmap.go b/install/installer/pkg/components/toxiproxy/configmap.go index c6675538680386..75c96525b23a03 100644 --- a/install/installer/pkg/components/toxiproxy/configmap.go +++ b/install/installer/pkg/components/toxiproxy/configmap.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/toxiproxy/constants.go b/install/installer/pkg/components/toxiproxy/constants.go index 861ebb7bda569f..1e1162334d36ad 100644 --- a/install/installer/pkg/components/toxiproxy/constants.go +++ b/install/installer/pkg/components/toxiproxy/constants.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/toxiproxy/deployment.go b/install/installer/pkg/components/toxiproxy/deployment.go index b508174395f2a4..7a3a5d0fc46083 100644 --- a/install/installer/pkg/components/toxiproxy/deployment.go +++ b/install/installer/pkg/components/toxiproxy/deployment.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/toxiproxy/objects.go b/install/installer/pkg/components/toxiproxy/objects.go index f4a8db1ebe110a..0fa9e69a45404e 100644 --- a/install/installer/pkg/components/toxiproxy/objects.go +++ b/install/installer/pkg/components/toxiproxy/objects.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/toxiproxy/objects_test.go b/install/installer/pkg/components/toxiproxy/objects_test.go index 87b556b479f488..2e1e2c5fdd45a6 100644 --- a/install/installer/pkg/components/toxiproxy/objects_test.go +++ b/install/installer/pkg/components/toxiproxy/objects_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/toxiproxy/service.go b/install/installer/pkg/components/toxiproxy/service.go index 4653773ce31fe0..c70355d5b03265 100644 --- a/install/installer/pkg/components/toxiproxy/service.go +++ b/install/installer/pkg/components/toxiproxy/service.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/toxiproxy/types.go b/install/installer/pkg/components/toxiproxy/types.go index ea26d59bdf7861..0bceaac8312866 100644 --- a/install/installer/pkg/components/toxiproxy/types.go +++ b/install/installer/pkg/components/toxiproxy/types.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package toxiproxy diff --git a/install/installer/pkg/components/usage/configmap.go b/install/installer/pkg/components/usage/configmap.go index 3849ae0d7bef60..6c030fa0c10f33 100644 --- a/install/installer/pkg/components/usage/configmap.go +++ b/install/installer/pkg/components/usage/configmap.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/configmap_test.go b/install/installer/pkg/components/usage/configmap_test.go index 2fa056756c8512..4c0299d7e192f2 100644 --- a/install/installer/pkg/components/usage/configmap_test.go +++ b/install/installer/pkg/components/usage/configmap_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/deployment.go b/install/installer/pkg/components/usage/deployment.go index 28b9e9ebcb4618..7e3824fe340efa 100644 --- a/install/installer/pkg/components/usage/deployment.go +++ b/install/installer/pkg/components/usage/deployment.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/deployment_test.go b/install/installer/pkg/components/usage/deployment_test.go index b82c729af94505..5906335502b3a4 100644 --- a/install/installer/pkg/components/usage/deployment_test.go +++ b/install/installer/pkg/components/usage/deployment_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/networkpolicy.go b/install/installer/pkg/components/usage/networkpolicy.go index 99156d6632f04d..dbffeb75050792 100644 --- a/install/installer/pkg/components/usage/networkpolicy.go +++ b/install/installer/pkg/components/usage/networkpolicy.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/objects.go b/install/installer/pkg/components/usage/objects.go index c2033f9dd50dec..2d66e169e93420 100644 --- a/install/installer/pkg/components/usage/objects.go +++ b/install/installer/pkg/components/usage/objects.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/objects_test.go b/install/installer/pkg/components/usage/objects_test.go index c5d09073e4457c..f0166ec7e1701a 100644 --- a/install/installer/pkg/components/usage/objects_test.go +++ b/install/installer/pkg/components/usage/objects_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/service.go b/install/installer/pkg/components/usage/service.go index 59d91a3b2945e1..2f4a0bb8205835 100644 --- a/install/installer/pkg/components/usage/service.go +++ b/install/installer/pkg/components/usage/service.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/usage/stripe.go b/install/installer/pkg/components/usage/stripe.go index e8f8bfb0415e9f..aad5a41c7df8ad 100644 --- a/install/installer/pkg/components/usage/stripe.go +++ b/install/installer/pkg/components/usage/stripe.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package usage diff --git a/install/installer/pkg/components/ws-manager-bridge/objects_test.go b/install/installer/pkg/components/ws-manager-bridge/objects_test.go index e98c7a07c5be7c..91215ee9976508 100644 --- a/install/installer/pkg/components/ws-manager-bridge/objects_test.go +++ b/install/installer/pkg/components/ws-manager-bridge/objects_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package wsmanagerbridge diff --git a/install/installer/pkg/config/v1/envvars.go b/install/installer/pkg/config/v1/envvars.go index 7585e60db0415a..7825c93ac5d500 100644 --- a/install/installer/pkg/config/v1/envvars.go +++ b/install/installer/pkg/config/v1/envvars.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package config diff --git a/install/installer/pkg/config/v1/envvars_test.go b/install/installer/pkg/config/v1/envvars_test.go index 36b938bd5f1e3f..7b278957571996 100644 --- a/install/installer/pkg/config/v1/envvars_test.go +++ b/install/installer/pkg/config/v1/envvars_test.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package config_test diff --git a/install/installer/pkg/config/v1/testdata/envvars/additional-registry/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/additional-registry/envvars.yaml index 31cb13e6dbe8ec..52dd21b4a17b85 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/additional-registry/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/additional-registry/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DOMAIN: gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/additional-registry/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/additional-registry/expect.yaml index be5a8e1156c36d..6d10b2e19575cb 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/additional-registry/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/additional-registry/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. domain: gitpod.io containerRegistry: diff --git a/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/envvars.yaml index 8576ac54c5330e..c4e33b5c1efe10 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DOMAIN: gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/expect.yaml index 3392116a98b932..54210d2fca6ea6 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/airgapped-registry/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. containerRegistry: inCluster: true diff --git a/install/installer/pkg/config/v1/testdata/envvars/aws/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/aws/envvars.yaml index f137062abb1fb7..b03068a2d4d021 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/aws/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/aws/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DB_INCLUSTER_ENABLED: "0" diff --git a/install/installer/pkg/config/v1/testdata/envvars/aws/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/aws/expect.yaml index 7be3f76000d5f9..22acb8ca4686fe 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/aws/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/aws/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. containerRegistry: inCluster: true diff --git a/install/installer/pkg/config/v1/testdata/envvars/azure/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/azure/envvars.yaml index 6d2b260cd6f7fc..ccb1e615d4889b 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/azure/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/azure/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DB_INCLUSTER_ENABLED: "0" diff --git a/install/installer/pkg/config/v1/testdata/envvars/azure/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/azure/expect.yaml index 93dffbd40b36ac..3cfcbb9e8b4a9d 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/azure/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/azure/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. containerRegistry: inCluster: false diff --git a/install/installer/pkg/config/v1/testdata/envvars/config-options/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/config-options/envvars.yaml index dbd3492dafbaa0..998634778debb3 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/config-options/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/config-options/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DOMAIN: test.gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/config-options/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/config-options/expect.yaml index feaa2d6d9a0a78..b3a333f0cb08be 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/config-options/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/config-options/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. blockNewUsers: enabled: true diff --git a/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/envvars.yaml index d75bca67817a58..f9b8b73ad7a5fe 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: # This will be ignored as advanced mode not enabled diff --git a/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/expect.yaml index 1b6bed9ae0630c..0f8b96f9aae974 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/config-patch-no-advanced-mode/expect.yaml @@ -1,4 +1,5 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. domain: gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/config-patch/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/config-patch/envvars.yaml index 065263ce92fdc6..3df5ff8ce2d8b8 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/config-patch/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/config-patch/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: ADVANCED_MODE_ENABLED: "1" diff --git a/install/installer/pkg/config/v1/testdata/envvars/config-patch/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/config-patch/expect.yaml index eea42fbf027412..5f351a676e43cd 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/config-patch/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/config-patch/expect.yaml @@ -1,4 +1,5 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. domain: override.gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/customization-patch/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/customization-patch/envvars.yaml index 1833ff6ab1115d..1c6e834726e684 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/customization-patch/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/customization-patch/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: ADVANCED_MODE_ENABLED: "1" diff --git a/install/installer/pkg/config/v1/testdata/envvars/customization-patch/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/customization-patch/expect.yaml index d4e653338f2eeb..7a7d77c0072fa0 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/customization-patch/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/customization-patch/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. customization: - apiVersion: "*" diff --git a/install/installer/pkg/config/v1/testdata/envvars/gcp/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/gcp/envvars.yaml index acc06730335cb3..dc66d14077901d 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/gcp/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/gcp/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DB_INCLUSTER_ENABLED: "0" diff --git a/install/installer/pkg/config/v1/testdata/envvars/gcp/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/gcp/expect.yaml index b9ca310939bbbd..0e287576621bd0 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/gcp/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/gcp/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. containerRegistry: inCluster: false diff --git a/install/installer/pkg/config/v1/testdata/envvars/minimal/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/minimal/envvars.yaml index eb43ad2d555deb..88cdab1cb38cd7 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/minimal/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/minimal/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: DOMAIN: gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/minimal/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/minimal/expect.yaml index 1b6bed9ae0630c..0f8b96f9aae974 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/minimal/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/minimal/expect.yaml @@ -1,4 +1,5 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. domain: gitpod.io diff --git a/install/installer/pkg/config/v1/testdata/envvars/service-type/envvars.yaml b/install/installer/pkg/config/v1/testdata/envvars/service-type/envvars.yaml index 02e0e56792591d..98bd4a92a516c3 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/service-type/envvars.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/service-type/envvars.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. envvars: ADVANCED_MODE_ENABLED: "1" diff --git a/install/installer/pkg/config/v1/testdata/envvars/service-type/expect.yaml b/install/installer/pkg/config/v1/testdata/envvars/service-type/expect.yaml index 15ed13486acc9c..c68e47921fb2c4 100644 --- a/install/installer/pkg/config/v1/testdata/envvars/service-type/expect.yaml +++ b/install/installer/pkg/config/v1/testdata/envvars/service-type/expect.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. domain: gitpod.io components: diff --git a/install/installer/pkg/containerd/amazon_linux.go b/install/installer/pkg/containerd/amazon_linux.go index 77e33741e2eab1..53bc93ba753879 100644 --- a/install/installer/pkg/containerd/amazon_linux.go +++ b/install/installer/pkg/containerd/amazon_linux.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package containerd diff --git a/install/installer/pkg/containerd/k3s.go b/install/installer/pkg/containerd/k3s.go index 304a94501f5aaa..f8217cb00f30a7 100644 --- a/install/installer/pkg/containerd/k3s.go +++ b/install/installer/pkg/containerd/k3s.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package containerd diff --git a/install/installer/pkg/containerd/location.go b/install/installer/pkg/containerd/location.go index 53505d4f39801c..98fa4465b2528d 100644 --- a/install/installer/pkg/containerd/location.go +++ b/install/installer/pkg/containerd/location.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package containerd diff --git a/install/installer/pkg/postprocess/postprocess.go b/install/installer/pkg/postprocess/postprocess.go index c6b82ad8483359..2e438d436c5d3c 100644 --- a/install/installer/pkg/postprocess/postprocess.go +++ b/install/installer/pkg/postprocess/postprocess.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package postprocess diff --git a/install/installer/pkg/shiftfs/constants.go b/install/installer/pkg/shiftfs/constants.go index 722b39a5cabbfb..6aba79729d5c09 100644 --- a/install/installer/pkg/shiftfs/constants.go +++ b/install/installer/pkg/shiftfs/constants.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package shiftfs diff --git a/install/installer/pkg/shiftfs/job.go b/install/installer/pkg/shiftfs/job.go index 4420b3fe637a92..633729b806ea0c 100644 --- a/install/installer/pkg/shiftfs/job.go +++ b/install/installer/pkg/shiftfs/job.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package shiftfs diff --git a/install/installer/pkg/yq/yq.go b/install/installer/pkg/yq/yq.go index 42ade014b36266..5d13335f8562fb 100644 --- a/install/installer/pkg/yq/yq.go +++ b/install/installer/pkg/yq/yq.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package yq diff --git a/install/installer/scripts/kots-install.sh b/install/installer/scripts/kots-install.sh index 27272afec9e0a9..644ed99ab293fb 100755 --- a/install/installer/scripts/kots-install.sh +++ b/install/installer/scripts/kots-install.sh @@ -1,6 +1,7 @@ #!/bin/bash # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. set -eo pipefail diff --git a/install/installer/scripts/kots-installation-status.sh b/install/installer/scripts/kots-installation-status.sh index 5468ef7d9e9d6d..52b5f067bf3283 100755 --- a/install/installer/scripts/kots-installation-status.sh +++ b/install/installer/scripts/kots-installation-status.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. set -e diff --git a/install/installer/scripts/structdoc.go b/install/installer/scripts/structdoc.go index a31930308fef18..2a0ec8776364ce 100644 --- a/install/installer/scripts/structdoc.go +++ b/install/installer/scripts/structdoc.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package main diff --git a/install/kots/BUILD.yaml b/install/kots/BUILD.yaml index 0a9e891636b470..316230d13ee90c 100644 --- a/install/kots/BUILD.yaml +++ b/install/kots/BUILD.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. packages: - name: lint diff --git a/install/kots/charts/fluent-bit/Chart.yaml b/install/kots/charts/fluent-bit/Chart.yaml index 27471f414e1fd0..77114c9c16fedd 100644 --- a/install/kots/charts/fluent-bit/Chart.yaml +++ b/install/kots/charts/fluent-bit/Chart.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v2 description: Gitpod fluent-bit diff --git a/install/kots/manifests/gitpod-ca-secret.yaml b/install/kots/manifests/gitpod-ca-secret.yaml index c812a6334885dc..b0ff756034b46f 100644 --- a/install/kots/manifests/gitpod-ca-secret.yaml +++ b/install/kots/manifests/gitpod-ca-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-certificate-secret.yaml b/install/kots/manifests/gitpod-certificate-secret.yaml index cbe7e48422d921..25e6004aa621e6 100644 --- a/install/kots/manifests/gitpod-certificate-secret.yaml +++ b/install/kots/manifests/gitpod-certificate-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-certificate.yaml b/install/kots/manifests/gitpod-certificate.yaml index 549f8dced89825..e8b2254421c48d 100644 --- a/install/kots/manifests/gitpod-certificate.yaml +++ b/install/kots/manifests/gitpod-certificate.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: cert-manager.io/v1 kind: Certificate diff --git a/install/kots/manifests/gitpod-cloudsql-secret.yaml b/install/kots/manifests/gitpod-cloudsql-secret.yaml index b0fa9fff4cd2db..9e86ef0edfa466 100644 --- a/install/kots/manifests/gitpod-cloudsql-secret.yaml +++ b/install/kots/manifests/gitpod-cloudsql-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-custom-registry-credentials.yaml b/install/kots/manifests/gitpod-custom-registry-credentials.yaml index b52b1293f98840..3b3a0713ac3019 100644 --- a/install/kots/manifests/gitpod-custom-registry-credentials.yaml +++ b/install/kots/manifests/gitpod-custom-registry-credentials.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-database-secret.yaml b/install/kots/manifests/gitpod-database-secret.yaml index ca8b1d5320dfa6..53c66e4b85a86f 100644 --- a/install/kots/manifests/gitpod-database-secret.yaml +++ b/install/kots/manifests/gitpod-database-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-http-proxy-settings.yaml b/install/kots/manifests/gitpod-http-proxy-settings.yaml index 199add41e53f80..0c1a8d98c93b3a 100644 --- a/install/kots/manifests/gitpod-http-proxy-settings.yaml +++ b/install/kots/manifests/gitpod-http-proxy-settings.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-installation-status.yaml b/install/kots/manifests/gitpod-installation-status.yaml index 6d45003804a262..863814092c2540 100644 --- a/install/kots/manifests/gitpod-installation-status.yaml +++ b/install/kots/manifests/gitpod-installation-status.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: apps/v1 kind: Deployment diff --git a/install/kots/manifests/gitpod-installation.yaml b/install/kots/manifests/gitpod-installation.yaml index aa50b5c3e5eaa2..4ee325862f039e 100644 --- a/install/kots/manifests/gitpod-installation.yaml +++ b/install/kots/manifests/gitpod-installation.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. # This exists as debug information for the support bundle apiVersion: v1 diff --git a/install/kots/manifests/gitpod-installer-job.yaml b/install/kots/manifests/gitpod-installer-job.yaml index c592208e3f9e54..15674947de2977 100644 --- a/install/kots/manifests/gitpod-installer-job.yaml +++ b/install/kots/manifests/gitpod-installer-job.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. # The installer job is where the magic happens. It generates # the config, installs Gitpod and then deletes itself when diff --git a/install/kots/manifests/gitpod-kots-config.yaml b/install/kots/manifests/gitpod-kots-config.yaml index 5f829491e75ded..58c2bf296e4dfb 100644 --- a/install/kots/manifests/gitpod-kots-config.yaml +++ b/install/kots/manifests/gitpod-kots-config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: ConfigMap diff --git a/install/kots/manifests/gitpod-license.yaml b/install/kots/manifests/gitpod-license.yaml index 794263cb18fc22..5e70448bea1a14 100644 --- a/install/kots/manifests/gitpod-license.yaml +++ b/install/kots/manifests/gitpod-license.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-log-collector.yaml b/install/kots/manifests/gitpod-log-collector.yaml index c2627cfbd8b7c1..8ac4774867c36d 100644 --- a/install/kots/manifests/gitpod-log-collector.yaml +++ b/install/kots/manifests/gitpod-log-collector.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: kots.io/v1beta1 kind: HelmChart diff --git a/install/kots/manifests/gitpod-registry-s3-backend.yaml b/install/kots/manifests/gitpod-registry-s3-backend.yaml index 33df230f5b72d7..71d6b3dc871335 100644 --- a/install/kots/manifests/gitpod-registry-s3-backend.yaml +++ b/install/kots/manifests/gitpod-registry-s3-backend.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-registry-secret.yaml b/install/kots/manifests/gitpod-registry-secret.yaml index de8195056ba5aa..cf6bb96681a26a 100644 --- a/install/kots/manifests/gitpod-registry-secret.yaml +++ b/install/kots/manifests/gitpod-registry-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-ssh-gateway-key.yaml b/install/kots/manifests/gitpod-ssh-gateway-key.yaml index f4eb3f99c18566..765524c65c7995 100644 --- a/install/kots/manifests/gitpod-ssh-gateway-key.yaml +++ b/install/kots/manifests/gitpod-ssh-gateway-key.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-storage-azure-secret.yaml b/install/kots/manifests/gitpod-storage-azure-secret.yaml index 03671519695efe..fd9a47860b5249 100644 --- a/install/kots/manifests/gitpod-storage-azure-secret.yaml +++ b/install/kots/manifests/gitpod-storage-azure-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-storage-gcp-secret.yaml b/install/kots/manifests/gitpod-storage-gcp-secret.yaml index 2baab185d580ab..a7c76c37bdf143 100644 --- a/install/kots/manifests/gitpod-storage-gcp-secret.yaml +++ b/install/kots/manifests/gitpod-storage-gcp-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/gitpod-storage-s3-secret.yaml b/install/kots/manifests/gitpod-storage-s3-secret.yaml index 0f62e6021cf303..fb6e0948cdcfc2 100644 --- a/install/kots/manifests/gitpod-storage-s3-secret.yaml +++ b/install/kots/manifests/gitpod-storage-s3-secret.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: Secret diff --git a/install/kots/manifests/kots-app.yaml b/install/kots/manifests/kots-app.yaml index e75917843321cd..7c2825844dc1e6 100644 --- a/install/kots/manifests/kots-app.yaml +++ b/install/kots/manifests/kots-app.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: kots.io/v1beta1 kind: Application diff --git a/install/kots/manifests/kots-backup.yaml b/install/kots/manifests/kots-backup.yaml index d699b367336ddb..2ea293fb5496b1 100644 --- a/install/kots/manifests/kots-backup.yaml +++ b/install/kots/manifests/kots-backup.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: velero.io/v1 kind: Backup diff --git a/install/kots/manifests/kots-config.yaml b/install/kots/manifests/kots-config.yaml index b6c7cabdcdf24d..4e76c492712282 100644 --- a/install/kots/manifests/kots-config.yaml +++ b/install/kots/manifests/kots-config.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: kots.io/v1beta1 kind: Config diff --git a/install/kots/manifests/kots-links.yaml b/install/kots/manifests/kots-links.yaml index 8f22a3991bd626..e6c27834427741 100644 --- a/install/kots/manifests/kots-links.yaml +++ b/install/kots/manifests/kots-links.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: app.k8s.io/v1beta1 kind: Application diff --git a/install/kots/manifests/kots-preflight.yaml b/install/kots/manifests/kots-preflight.yaml index a41211c5107006..dfc22eff684530 100644 --- a/install/kots/manifests/kots-preflight.yaml +++ b/install/kots/manifests/kots-preflight.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: troubleshoot.sh/v1beta2 kind: Preflight diff --git a/install/kots/manifests/kots-redactor.yaml b/install/kots/manifests/kots-redactor.yaml index 73531a0dfe68c4..3d84a0706b7525 100644 --- a/install/kots/manifests/kots-redactor.yaml +++ b/install/kots/manifests/kots-redactor.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: troubleshoot.sh/v1beta2 kind: Redactor diff --git a/install/kots/manifests/kots-support-bundle.yaml b/install/kots/manifests/kots-support-bundle.yaml index c7c2e335e7eb0b..cea362ca115c33 100644 --- a/install/kots/manifests/kots-support-bundle.yaml +++ b/install/kots/manifests/kots-support-bundle.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: troubleshoot.sh/v1beta2 kind: SupportBundle diff --git a/install/preview/entrypoint.sh b/install/preview/entrypoint.sh index 250edc5e9626e5..4d171eff7cb84d 100755 --- a/install/preview/entrypoint.sh +++ b/install/preview/entrypoint.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. set -e diff --git a/install/preview/leeway.Dockerfile b/install/preview/leeway.Dockerfile index e1716c727d126b..8a21295e77a65d 100644 --- a/install/preview/leeway.Dockerfile +++ b/install/preview/leeway.Dockerfile @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. FROM rancher/k3s:v1.21.12-k3s1 diff --git a/install/preview/manifests/coredns.yaml b/install/preview/manifests/coredns.yaml index 83330262ea6c02..76fa7f0b5c98a0 100644 --- a/install/preview/manifests/coredns.yaml +++ b/install/preview/manifests/coredns.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. apiVersion: v1 kind: ServiceAccount diff --git a/install/preview/manifests/messagebus.yaml b/install/preview/manifests/messagebus.yaml index ccd5816f2905c1..5ee4a505caea23 100644 --- a/install/preview/manifests/messagebus.yaml +++ b/install/preview/manifests/messagebus.yaml @@ -1,5 +1,6 @@ # Copyright (c) 2022 Gitpod GmbH. All rights reserved. -# Licensed under the MIT License. See License-MIT.txt in the project root for license information. +# Licensed under the GNU Affero General Public License (AGPL). +# See License.AGPL.txt in the project root for license information. spec: volumeClaimTemplates: diff --git a/install/preview/prettylog/main.go b/install/preview/prettylog/main.go index c1953ccb2bd952..c69a74ea801fa9 100644 --- a/install/preview/prettylog/main.go +++ b/install/preview/prettylog/main.go @@ -1,5 +1,6 @@ // Copyright (c) 2022 Gitpod GmbH. All rights reserved. -// Licensed under the MIT License. See License-MIT.txt in the project root for license information. +/// Licensed under the GNU Affero General Public License (AGPL). +// See License.AGPL.txt in the project root for license information. package main diff --git a/operations/observability/mixins/IDE/dashboards.libsonnet b/operations/observability/mixins/IDE/dashboards.libsonnet index 238bff21039d46..522e3620f8e7a8 100644 --- a/operations/observability/mixins/IDE/dashboards.libsonnet +++ b/operations/observability/mixins/IDE/dashboards.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/IDE/mixin.libsonnet b/operations/observability/mixins/IDE/mixin.libsonnet index 154efffdea7505..ad90239ca0eb1c 100644 --- a/operations/observability/mixins/IDE/mixin.libsonnet +++ b/operations/observability/mixins/IDE/mixin.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './dashboards.libsonnet') diff --git a/operations/observability/mixins/alerts.jsonnet b/operations/observability/mixins/alerts.jsonnet index a0a22447e5c943..76bd1e18370d88 100644 --- a/operations/observability/mixins/alerts.jsonnet +++ b/operations/observability/mixins/alerts.jsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ std.manifestYamlDoc( diff --git a/operations/observability/mixins/cross-teams/config.libsonnet b/operations/observability/mixins/cross-teams/config.libsonnet index 4b62e2ede5072f..8e5e52cd49ca8a 100644 --- a/operations/observability/mixins/cross-teams/config.libsonnet +++ b/operations/observability/mixins/cross-teams/config.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/cross-teams/dashboards.libsonnet b/operations/observability/mixins/cross-teams/dashboards.libsonnet index c83db32342fe78..2f57246965a4e3 100644 --- a/operations/observability/mixins/cross-teams/dashboards.libsonnet +++ b/operations/observability/mixins/cross-teams/dashboards.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './dashboards/SLOs/workspace-startup-time.libsonnet') + diff --git a/operations/observability/mixins/cross-teams/dashboards/SLOs/workspace-startup-time.libsonnet b/operations/observability/mixins/cross-teams/dashboards/SLOs/workspace-startup-time.libsonnet index cbba66edc821f7..7b07eca8db8113 100644 --- a/operations/observability/mixins/cross-teams/dashboards/SLOs/workspace-startup-time.libsonnet +++ b/operations/observability/mixins/cross-teams/dashboards/SLOs/workspace-startup-time.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ local grafana = import 'github.com/grafana/grafonnet-lib/grafonnet/grafana.libsonnet'; diff --git a/operations/observability/mixins/cross-teams/mixin.libsonnet b/operations/observability/mixins/cross-teams/mixin.libsonnet index 264682868129ae..72f64f515f3ed9 100644 --- a/operations/observability/mixins/cross-teams/mixin.libsonnet +++ b/operations/observability/mixins/cross-teams/mixin.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './config.libsonnet') + diff --git a/operations/observability/mixins/cross-teams/rules.libsonnet b/operations/observability/mixins/cross-teams/rules.libsonnet index 9c6e9658e094fd..b0f467840fca78 100644 --- a/operations/observability/mixins/cross-teams/rules.libsonnet +++ b/operations/observability/mixins/cross-teams/rules.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './rules/SLO/SLOs.libsonnet') + diff --git a/operations/observability/mixins/cross-teams/rules/SLO/SLOs.libsonnet b/operations/observability/mixins/cross-teams/rules/SLO/SLOs.libsonnet index b6c118effbc3e5..f61ba515a6d7c6 100644 --- a/operations/observability/mixins/cross-teams/rules/SLO/SLOs.libsonnet +++ b/operations/observability/mixins/cross-teams/rules/SLO/SLOs.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ {} diff --git a/operations/observability/mixins/cross-teams/rules/components/components.libsonnet b/operations/observability/mixins/cross-teams/rules/components/components.libsonnet index d82e98bfae464b..d98c3e309f3093 100644 --- a/operations/observability/mixins/cross-teams/rules/components/components.libsonnet +++ b/operations/observability/mixins/cross-teams/rules/components/components.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './nodes/alerts.libsonnet') + diff --git a/operations/observability/mixins/cross-teams/rules/components/nodes/alerts.libsonnet b/operations/observability/mixins/cross-teams/rules/components/nodes/alerts.libsonnet index 45605157fa7a64..e4bd5ffe476473 100644 --- a/operations/observability/mixins/cross-teams/rules/components/nodes/alerts.libsonnet +++ b/operations/observability/mixins/cross-teams/rules/components/nodes/alerts.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/cross-teams/rules/components/nodes/rules.libsonnet b/operations/observability/mixins/cross-teams/rules/components/nodes/rules.libsonnet index b1ab6e0b5b5e54..cd201274e81805 100644 --- a/operations/observability/mixins/cross-teams/rules/components/nodes/rules.libsonnet +++ b/operations/observability/mixins/cross-teams/rules/components/nodes/rules.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/meta/dashboards.libsonnet b/operations/observability/mixins/meta/dashboards.libsonnet index 2e27f00831a794..2f7614bcb1c865 100644 --- a/operations/observability/mixins/meta/dashboards.libsonnet +++ b/operations/observability/mixins/meta/dashboards.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/meta/mixin.libsonnet b/operations/observability/mixins/meta/mixin.libsonnet index 154efffdea7505..ad90239ca0eb1c 100644 --- a/operations/observability/mixins/meta/mixin.libsonnet +++ b/operations/observability/mixins/meta/mixin.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './dashboards.libsonnet') diff --git a/operations/observability/mixins/platform/dashboards.libsonnet b/operations/observability/mixins/platform/dashboards.libsonnet index 851b51fac2581d..8e7204efd76b7d 100644 --- a/operations/observability/mixins/platform/dashboards.libsonnet +++ b/operations/observability/mixins/platform/dashboards.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/platform/mixin.libsonnet b/operations/observability/mixins/platform/mixin.libsonnet index acb307a7030d9f..b222098cd4a48d 100644 --- a/operations/observability/mixins/platform/mixin.libsonnet +++ b/operations/observability/mixins/platform/mixin.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './dashboards.libsonnet') + diff --git a/operations/observability/mixins/platform/rules.libsonnet b/operations/observability/mixins/platform/rules.libsonnet index 826def1bbcd0f2..576060ab2cd181 100644 --- a/operations/observability/mixins/platform/rules.libsonnet +++ b/operations/observability/mixins/platform/rules.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './rules/scrape.libsonnet') diff --git a/operations/observability/mixins/platform/rules/scrape.libsonnet b/operations/observability/mixins/platform/rules/scrape.libsonnet index db140e763cadcf..1dd0272691188e 100644 --- a/operations/observability/mixins/platform/rules/scrape.libsonnet +++ b/operations/observability/mixins/platform/rules/scrape.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/self-hosted/dashboards.libsonnet b/operations/observability/mixins/self-hosted/dashboards.libsonnet index d0c98a649137a0..91f80c3414002e 100644 --- a/operations/observability/mixins/self-hosted/dashboards.libsonnet +++ b/operations/observability/mixins/self-hosted/dashboards.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/self-hosted/mixin.libsonnet b/operations/observability/mixins/self-hosted/mixin.libsonnet index e4f7fcf7b22a85..ba5d0f5719101a 100644 --- a/operations/observability/mixins/self-hosted/mixin.libsonnet +++ b/operations/observability/mixins/self-hosted/mixin.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2022 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './dashboards.libsonnet') diff --git a/operations/observability/mixins/workspace/dashboards.libsonnet b/operations/observability/mixins/workspace/dashboards.libsonnet index 347b053bba286d..678097ff65b465 100644 --- a/operations/observability/mixins/workspace/dashboards.libsonnet +++ b/operations/observability/mixins/workspace/dashboards.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ { diff --git a/operations/observability/mixins/workspace/mixin.libsonnet b/operations/observability/mixins/workspace/mixin.libsonnet index 154efffdea7505..ad90239ca0eb1c 100644 --- a/operations/observability/mixins/workspace/mixin.libsonnet +++ b/operations/observability/mixins/workspace/mixin.libsonnet @@ -1,6 +1,7 @@ /** * Copyright (c) 2021 Gitpod GmbH. All rights reserved. - * Licensed under the MIT License. See License-MIT.txt in the project root for license information. + * Licensed under the GNU Affero General Public License (AGPL). + * See License.AGPL.txt in the project root for license information. */ (import './dashboards.libsonnet')