all: add license headers
This change adds license headers to files which are missing them.
A modified version of the addlicense tool was used to add these headers:
https://github.com/google/addlicense
The command issued was:
addlicense -c "Go Authors" -l bsd *
Change-Id: Id6fd17c587f99b3ff0ef5f5f35befcfe5aaeef72
Reviewed-on: https://go-review.googlesource.com/c/build/+/409614
Run-TryBot: Carlos Amedee <carlos@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
diff --git a/app/appengine/index.yaml b/app/appengine/index.yaml
index 0aeb518..59708d4 100644
--- a/app/appengine/index.yaml
+++ b/app/appengine/index.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
indexes:
- kind: Commit
diff --git a/cmd/coordinator/deployment-prod.yaml b/cmd/coordinator/deployment-prod.yaml
index 14f2161..c502fe0 100644
--- a/cmd/coordinator/deployment-prod.yaml
+++ b/cmd/coordinator/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/cmd/coordinator/deployment-staging.yaml b/cmd/coordinator/deployment-staging.yaml
index 7163320..d65836f 100644
--- a/cmd/coordinator/deployment-staging.yaml
+++ b/cmd/coordinator/deployment-staging.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/cmd/coordinator/internal/dashboard/dashboard.html b/cmd/coordinator/internal/dashboard/dashboard.html
index ead295e..9a7e6a3 100644
--- a/cmd/coordinator/internal/dashboard/dashboard.html
+++ b/cmd/coordinator/internal/dashboard/dashboard.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html lang="en">
<head>
<title>{{$.Dashboard.Name}} Build Dashboard</title>
diff --git a/cmd/coordinator/internal/internal.go b/cmd/coordinator/internal/internal.go
index b1c0e1e..b63162a 100644
--- a/cmd/coordinator/internal/internal.go
+++ b/cmd/coordinator/internal/internal.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/cmd/coordinator/internal/legacydash/static/style.css b/cmd/coordinator/internal/legacydash/static/style.css
index b6b8a6f..0fe1461 100644
--- a/cmd/coordinator/internal/legacydash/static/style.css
+++ b/cmd/coordinator/internal/legacydash/static/style.css
@@ -1,3 +1,9 @@
+/**
+ * Copyright 2022 Go Authors All rights reserved.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file.
+ */
+
* { box-sizing: border-box; }
.dashboards {
@@ -31,44 +37,44 @@
color: #375EAB;
font-weight: bold;
}
-
+
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
-
+
h2 { background: #E0EBF5; padding: 2px 5px; }
h3, h4 { margin: 20px 5px; }
-
+
dl, dd { font-size: 14px; }
dl { margin: 20px; }
dd { margin: 2px 20px; }
-
+
.clear {
clear: both;
}
-
+
.button {
padding: 10px;
-
+
color: #222;
border: 1px solid #375EAB;
background: #E0EBF5;
-
+
border-radius: 5px;
-
+
cursor: pointer;
-
+
margin-left: 60px;
}
-
+
/* navigation bar */
-
+
#topbar {
padding: 10px 10px;
background: #E0EBF5;
}
-
+
#topbar h1 {
display: inline;
margin: 0;
@@ -81,8 +87,8 @@
#topbar h1 a:hover {
text-decoration: underline;
}
-
-#topbar nav {
+
+#topbar nav {
display: inline-block;
margin-left: 20px;
}
@@ -97,62 +103,62 @@
#topbar nav a {
display: inline-block;
padding: 10px;
-
+
margin: 0;
margin-right: 5px;
-
+
color: white;
background: #375EAB;
-
+
text-decoration: none;
font-size: 16px;
-
+
border: 1px solid #375EAB;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
-
+
.page {
margin-top: 20px;
}
-
+
/* settings panels */
aside {
margin-top: 5px;
}
-
+
.panel {
border: 1px solid #aaa;
border-radius: 5px;
margin-bottom: 5px;
}
-
+
.panel h1 {
font-size: 16px;
margin: 0;
padding: 2px 8px;
}
-
+
.panel select {
padding: 5px;
border: 0;
width: 100%;
}
-
+
/* results table */
-
+
table {
margin: 5px;
border-collapse: collapse;
font-size: 11px;
}
-
+
table td, table th, table td, table th {
vertical-align: top;
padding: 2px 6px;
}
-
+
table tr:nth-child(2n+1) {
background: #F4F4F4;
}
@@ -160,29 +166,29 @@
table tr.commit:hover {
background-color: #ffff99 !important;
}
-
+
table thead tr {
background: #fff !important;
}
-
+
/* build results */
-
+
.build td, .build th, .packages td, .packages th {
vertical-align: top;
padding: 2px 4px;
font-size: 10pt;
}
-
+
.build .hash {
font-family: monospace;
font-size: 9pt;
}
-
+
.build .result {
text-align: center;
width: 2em;
}
-
+
.build .col-desc, .build .col-result, .build .col-metric, .build .col-numresults {
border-right: 1px solid #ccc;
}
@@ -213,7 +219,7 @@
text-overflow: ellipsis;
overflow: hidden;
}
-
+
.build .desc {
max-width: 150px;
}
@@ -235,12 +241,12 @@
.build a.noise { text-decoration: none; color: #888; }
/* pagination */
-
+
.paginate nav {
padding: 0.5em;
margin: 10px 0;
}
-
+
.paginate nav a {
padding: 0.5em;
background: #E0EBF5;
@@ -250,7 +256,7 @@
-moz-border-radius: 5px;
border-radius: 5px;
}
-
+
.paginate nav a.inactive {
color: #888;
cursor: default;
@@ -258,20 +264,20 @@
}
/* diffs */
-
+
.diff-meta {
font-family: monospace;
margin-bottom: 10px;
}
-
+
.diff-container {
padding: 10px;
}
-
+
.diff table .metric {
font-weight: bold;
}
-
+
.diff {
border: 1px solid #aaa;
border-radius: 5px;
@@ -279,7 +285,7 @@
margin-right: 10px;
float: left;
}
-
+
.diff h1 {
font-size: 16px;
margin: 0;
@@ -287,12 +293,12 @@
}
/* positioning elements */
-
+
.page {
position: relative;
width: 100%;
}
-
+
aside {
position: absolute;
top: 0;
@@ -300,7 +306,7 @@
bottom: 0;
width: 200px;
}
-
+
.main-content {
position: absolute;
top: 0;
@@ -309,19 +315,19 @@
min-height: 200px;
overflow: hidden;
}
-
+
@media only screen and (max-width: 900px) {
aside {
position: relative;
display: block;
width: auto;
}
-
+
.main-content {
position: static;
padding: 0;
}
-
+
aside .panel {
float: left;
width: auto;
diff --git a/cmd/coordinator/internal/legacydash/ui.html b/cmd/coordinator/internal/legacydash/ui.html
index 0eef321..5e6272d 100644
--- a/cmd/coordinator/internal/legacydash/ui.html
+++ b/cmd/coordinator/internal/legacydash/ui.html
@@ -1,4 +1,10 @@
<!DOCTYPE HTML>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html>
<head>
<title>{{$.Dashboard.Name}} Build Dashboard</title>
diff --git a/cmd/coordinator/module-proxy-service.yaml b/cmd/coordinator/module-proxy-service.yaml
index 08c39c4..68db68f 100644
--- a/cmd/coordinator/module-proxy-service.yaml
+++ b/cmd/coordinator/module-proxy-service.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: v1
kind: Service
metadata:
diff --git a/cmd/coordinator/service-staging.yaml b/cmd/coordinator/service-staging.yaml
index e1f5e2e..c13b016 100644
--- a/cmd/coordinator/service-staging.yaml
+++ b/cmd/coordinator/service-staging.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: v1
kind: Service
metadata:
diff --git a/cmd/coordinator/style.css b/cmd/coordinator/style.css
index 26ac0a4..89914f6 100644
--- a/cmd/coordinator/style.css
+++ b/cmd/coordinator/style.css
@@ -1,3 +1,9 @@
+/**
+ * Copyright 2022 Go Authors All rights reserved.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file.
+ */
+
* {
box-sizing: border-box;
}
diff --git a/cmd/gerritbot/deployment-prod.yaml b/cmd/gerritbot/deployment-prod.yaml
index 362633a..d989eb6 100644
--- a/cmd/gerritbot/deployment-prod.yaml
+++ b/cmd/gerritbot/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/cmd/gitmirror/deployment-mirroring.yaml b/cmd/gitmirror/deployment-mirroring.yaml
index b4d8a7b..0bb632e 100644
--- a/cmd/gitmirror/deployment-mirroring.yaml
+++ b/cmd/gitmirror/deployment-mirroring.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -47,4 +51,3 @@
limits:
cpu: "3"
memory: "6Gi"
-
diff --git a/cmd/gitmirror/deployment-serving.yaml b/cmd/gitmirror/deployment-serving.yaml
index 9905e42..c2728eb 100644
--- a/cmd/gitmirror/deployment-serving.yaml
+++ b/cmd/gitmirror/deployment-serving.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -50,4 +54,3 @@
limits:
cpu: "3"
memory: "6Gi"
-
diff --git a/cmd/gitmirror/gitmirror_linux.go b/cmd/gitmirror/gitmirror_linux.go
index 960443b..16ba2f9 100644
--- a/cmd/gitmirror/gitmirror_linux.go
+++ b/cmd/gitmirror/gitmirror_linux.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
import (
diff --git a/cmd/gitmirror/service.yaml b/cmd/gitmirror/service.yaml
index 2501098..393367a 100644
--- a/cmd/gitmirror/service.yaml
+++ b/cmd/gitmirror/service.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: v1
kind: Service
metadata:
diff --git a/cmd/gopherbot/deployment-prod.yaml b/cmd/gopherbot/deployment-prod.yaml
index 051a91f..897e7b1 100644
--- a/cmd/gopherbot/deployment-prod.yaml
+++ b/cmd/gopherbot/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/cmd/pubsubhelper/deployment-prod.yaml b/cmd/pubsubhelper/deployment-prod.yaml
index bc1dddc..b7741a8 100644
--- a/cmd/pubsubhelper/deployment-prod.yaml
+++ b/cmd/pubsubhelper/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/cmd/release/upload_test.go b/cmd/release/upload_test.go
index cb4c1fa..85cd863 100644
--- a/cmd/release/upload_test.go
+++ b/cmd/release/upload_test.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
import "testing"
diff --git a/cmd/relui/cloudbuild.yaml b/cmd/relui/cloudbuild.yaml
index 81693eb..6c44d10 100644
--- a/cmd/relui/cloudbuild.yaml
+++ b/cmd/relui/cloudbuild.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
steps:
- name: gcr.io/cloud-builders/docker
args: [ 'run', '-d', '--network=cloudbuild', '--env=POSTGRES_HOST_AUTH_METHOD=trust', '--name=postgres', 'postgres:13' ]
diff --git a/cmd/relui/deployment-prod.yaml b/cmd/relui/deployment-prod.yaml
index c1c6dad..9d052a4 100644
--- a/cmd/relui/deployment-prod.yaml
+++ b/cmd/relui/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/cmd/relui/sqlc.yaml b/cmd/relui/sqlc.yaml
index ae79c1f..c7899c9 100644
--- a/cmd/relui/sqlc.yaml
+++ b/cmd/relui/sqlc.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
version: "1"
packages:
- name: "db"
diff --git a/deploy/build-ingress.yaml b/deploy/build-ingress.yaml
index 64fe2f0..c066460 100644
--- a/deploy/build-ingress.yaml
+++ b/deploy/build-ingress.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
diff --git a/devapp/deployment-prod.yaml b/devapp/deployment-prod.yaml
index 955eb52..bdd030d 100644
--- a/devapp/deployment-prod.yaml
+++ b/devapp/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/devapp/deployment-staging.yaml b/devapp/deployment-staging.yaml
index 521c235..1cc3c58 100644
--- a/devapp/deployment-staging.yaml
+++ b/devapp/deployment-staging.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/devapp/service-staging.yaml b/devapp/service-staging.yaml
index 905f976..e166ef4 100644
--- a/devapp/service-staging.yaml
+++ b/devapp/service-staging.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: v1
kind: Service
metadata:
@@ -13,4 +17,4 @@
selector:
app: devapp
type: LoadBalancer
- loadBalancerIP: 104.198.248.179
\ No newline at end of file
+ loadBalancerIP: 104.198.248.179
diff --git a/devapp/static/gophercon/index.html b/devapp/static/gophercon/index.html
index c40d5f7..9749aed 100644
--- a/devapp/static/gophercon/index.html
+++ b/devapp/static/gophercon/index.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<meta charset="utf-8">
<title>GopherCon 2017 Contribution Dashboard</title>
<meta name=viewport content="width=device-width,minimum-scale=1,maximum-scale=1">
@@ -244,4 +250,4 @@
return document.importNode(tmpl.content, true);
}
})();
-</script>
\ No newline at end of file
+</script>
diff --git a/devapp/static/index.html b/devapp/static/index.html
index ac70004..59ae34f 100644
--- a/devapp/static/index.html
+++ b/devapp/static/index.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
diff --git a/env/corellium/android/files/builder.sh b/env/corellium/android/files/builder.sh
index 7d50235..e1ed41b 100644
--- a/env/corellium/android/files/builder.sh
+++ b/env/corellium/android/files/builder.sh
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
export CC=$HOME/clangwrap
export GO_BUILDER_ENV=host-android-arm64-corellium-android
(
@@ -5,7 +9,7 @@
while true; do
go get golang.org/x/build/cmd/buildlet
# unset LD_PRELOAD libtermux-exec for 32-bit binaries
- (unset LD_PRELOAD &&
+ (unset LD_PRELOAD &&
$HOME/go/bin/buildlet -reverse-type host-android-arm64-corellium-android -coordinator farmer.golang.org)
sleep 1
#/system/bin/reboot
diff --git a/env/corellium/android/files/exec.sh b/env/corellium/android/files/exec.sh
index e4c873b..8d16565 100644
--- a/env/corellium/android/files/exec.sh
+++ b/env/corellium/android/files/exec.sh
@@ -1,4 +1,8 @@
#!/system/bin/sh
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
# Executes command with the Termux environment.
diff --git a/env/corellium/android/install.sh b/env/corellium/android/install.sh
index 79c2b05..5dc0733 100755
--- a/env/corellium/android/install.sh
+++ b/env/corellium/android/install.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
# install.sh sets up newly installed Android Corellium device.
# Connect to the device with "adb connect <ip>:5001" where
@@ -53,4 +57,3 @@
termux mv /data/data/com.termux/files/usr/arm-linux-androideabi /data/data/com.termux/files/home/arm-linux-androideabi
termux /system/bin/reboot
-
diff --git a/env/corellium/ios/files/builder.sh b/env/corellium/ios/files/builder.sh
index 5ca8be3..61a74c2 100755
--- a/env/corellium/ios/files/builder.sh
+++ b/env/corellium/ios/files/builder.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
export HOME=/var/root
export CC=$HOME/bin/clangwrap
diff --git a/env/corellium/ios/install.sh b/env/corellium/ios/install.sh
index 81b5330..57816b4 100755
--- a/env/corellium/ios/install.sh
+++ b/env/corellium/ios/install.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
# install.sh sets up a newly created Corellium iPhone device.
# Set HOST to root@<ip> where <ip> is the device ssh
diff --git a/env/darwin/macstadium/10_11/stage0.sh b/env/darwin/macstadium/10_11/stage0.sh
index b3d7db9..0894e8e 100755
--- a/env/darwin/macstadium/10_11/stage0.sh
+++ b/env/darwin/macstadium/10_11/stage0.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
# This is the file baked into the OS X 10.11 VM image. It is ALSO
# baked into the macOS 10.12 Sierra image. (That is, both 10.11 and
diff --git a/env/linux-arm64/build.sh b/env/linux-arm64/build.sh
index 80b0532..8fb6017 100755
--- a/env/linux-arm64/build.sh
+++ b/env/linux-arm64/build.sh
@@ -1,6 +1,10 @@
#!/bin/bash
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
#
# This is run on the arm64 host, with the Dockerfile in the same directory,
# by the build scripts in linaro and packet subdirectories.
-docker build -t golang.org/linux-arm64 .
\ No newline at end of file
+docker build -t golang.org/linux-arm64 .
diff --git a/env/linux-arm64/packet/build.sh b/env/linux-arm64/packet/build.sh
index 78f16fe..4969911 100755
--- a/env/linux-arm64/packet/build.sh
+++ b/env/linux-arm64/packet/build.sh
@@ -1,6 +1,10 @@
#!/bin/bash
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
#
-# This is run on the arm64 host with the Dockerfile in the same directory.
+# This is run on the arm64 host with the Dockerfile in the same directory.
# The parent Dockerfile and build.sh (linux-arm64/*) must be in parent directory.
(cd ../ && ./build.sh) && docker build -t gobuilder-arm64-packet:1 .
diff --git a/env/linux-ppc64/osuosl/build-docker.sh b/env/linux-ppc64/osuosl/build-docker.sh
index 3af0e76..72e817f 100755
--- a/env/linux-ppc64/osuosl/build-docker.sh
+++ b/env/linux-ppc64/osuosl/build-docker.sh
@@ -1,4 +1,8 @@
#!/bin/sh -ex
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
GO_VERSION=1.13.3
CRUN_VERSION=6254263af0a41d3b78ed280f944acda10199d42a # latest released version doesn't work
diff --git a/env/linux-ppc64/osuosl/build-golang.sh b/env/linux-ppc64/osuosl/build-golang.sh
index 3ed8e55..dacb8fd 100755
--- a/env/linux-ppc64/osuosl/build-golang.sh
+++ b/env/linux-ppc64/osuosl/build-golang.sh
@@ -1,4 +1,8 @@
#!/bin/sh -ex
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
GO_VERSION=1.13.3
diff --git a/env/linux-ppc64/osuosl/build-ubuntu.sh b/env/linux-ppc64/osuosl/build-ubuntu.sh
index da5fe2a..08c2af9 100755
--- a/env/linux-ppc64/osuosl/build-ubuntu.sh
+++ b/env/linux-ppc64/osuosl/build-ubuntu.sh
@@ -1,4 +1,8 @@
#!/bin/sh -ex
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
export rootfs=$(pwd)/ubuntu_xenial_1604
if [ ! -e "$rootfs" ]; then
diff --git a/env/linux-ppc64/osuosl/clean.sh b/env/linux-ppc64/osuosl/clean.sh
index 9a3715d..bcf03ec 100755
--- a/env/linux-ppc64/osuosl/clean.sh
+++ b/env/linux-ppc64/osuosl/clean.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
[ $(id -u) -ne 0 ] && echo need root && exit 1
diff --git a/env/linux-ppc64le/osuosl/setup-remote.sh b/env/linux-ppc64le/osuosl/setup-remote.sh
index 48ed0bf..9d1ef4e 100755
--- a/env/linux-ppc64le/osuosl/setup-remote.sh
+++ b/env/linux-ppc64le/osuosl/setup-remote.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
# See Makefile for usage
@@ -26,5 +30,3 @@
# Now that we have Docker, "log in" again (with access to the docker
# group) and do the rest:
ssh -i ~/.ssh/id_ed25519_golang1 $USER_AT_HOST ./install-buildlet.bash $HOST_TYPE
-
-
diff --git a/env/windows-arm64/macstadium/winloop.sh b/env/windows-arm64/macstadium/winloop.sh
index bef62a1..164a89f 100755
--- a/env/windows-arm64/macstadium/winloop.sh
+++ b/env/windows-arm64/macstadium/winloop.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
while true; do
DYLD_LIBRARY_PATH="$HOME/macmini-windows/sysroot-macos-arm64/lib" "$HOME/macmini-windows/sysroot-macos-arm64/bin/qemu-system-aarch64" \
diff --git a/influx/deployment-prod.yaml b/influx/deployment-prod.yaml
index e17b66f..bce982c 100644
--- a/influx/deployment-prod.yaml
+++ b/influx/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/internal/gcsfs/osfs.go b/internal/gcsfs/osfs.go
index 2bf8be4..d4748b2 100644
--- a/internal/gcsfs/osfs.go
+++ b/internal/gcsfs/osfs.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package gcsfs
import (
diff --git a/internal/iapclient/iapclient.go b/internal/iapclient/iapclient.go
index 13b9ce1..955f90d 100644
--- a/internal/iapclient/iapclient.go
+++ b/internal/iapclient/iapclient.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package iapclient enables programmatic access to IAP-secured services. See
// https://cloud.google.com/iap/docs/authentication-howto.
//
diff --git a/internal/influx/influx.go b/internal/influx/influx.go
index c1d592c..fc020eb 100644
--- a/internal/influx/influx.go
+++ b/internal/influx/influx.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package influx provides common constants for setting up and access the
// performance monitoring InfluxDB instance.
package influx
diff --git a/internal/relui/buildrelease_test.go b/internal/relui/buildrelease_test.go
index 67f9ac5..a5e477f 100644
--- a/internal/relui/buildrelease_test.go
+++ b/internal/relui/buildrelease_test.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package relui
import (
diff --git a/internal/relui/testing/test.css b/internal/relui/testing/test.css
index ecd36b5..f1e8581 100644
--- a/internal/relui/testing/test.css
+++ b/internal/relui/testing/test.css
@@ -1 +1,7 @@
+/**
+ * Copyright 2022 Go Authors All rights reserved.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file.
+ */
+
.Header { font-size: 10rem; }
diff --git a/internal/relui/web_test.go b/internal/relui/web_test.go
index 8fe1f0f..0698158 100644
--- a/internal/relui/web_test.go
+++ b/internal/relui/web_test.go
@@ -55,7 +55,9 @@
desc: "sets headers and returns file",
path: "/testing/test.css",
wantCode: http.StatusOK,
- wantBody: ".Header { font-size: 10rem; }\n",
+ wantBody: "/**\n * Copyright 2022 Go Authors All rights reserved.\n " +
+ "* Use of this source code is governed by a BSD-style\n " +
+ "* license that can be found in the LICENSE file.\n */\n\n.Header { font-size: 10rem; }\n",
wantHeaders: map[string]string{
"Content-Type": "text/css; charset=utf-8",
"Cache-Control": "no-cache, private, max-age=0",
diff --git a/internal/secret/flag.go b/internal/secret/flag.go
index e20e5ac..af97241 100644
--- a/internal/secret/flag.go
+++ b/internal/secret/flag.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package secret
import (
diff --git a/internal/task/buildrelease.go b/internal/task/buildrelease.go
index b5801f4..9b0a23c 100644
--- a/internal/task/buildrelease.go
+++ b/internal/task/buildrelease.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package task
import (
diff --git a/internal/task/buildrelease_test.go b/internal/task/buildrelease_test.go
index 61eccc2..cf43c8a 100644
--- a/internal/task/buildrelease_test.go
+++ b/internal/task/buildrelease_test.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package task
import (
diff --git a/kubernetes/client_test.go b/kubernetes/client_test.go
index 3deabdc..364b131 100644
--- a/kubernetes/client_test.go
+++ b/kubernetes/client_test.go
@@ -1,3 +1,7 @@
+// Copyright 2022 Go Authors All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package kubernetes_test
import (
diff --git a/maintner/maintnerd/deployment-prod.yaml b/maintner/maintnerd/deployment-prod.yaml
index 65d48e3..5c73af1 100644
--- a/maintner/maintnerd/deployment-prod.yaml
+++ b/maintner/maintnerd/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/perf/app/template/compare.html b/perf/app/template/compare.html
index d87a126..513ba70 100644
--- a/perf/app/template/compare.html
+++ b/perf/app/template/compare.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html>
<head>
<meta charset="utf-8">
diff --git a/perf/app/template/index.html b/perf/app/template/index.html
index 0306805..9b84c77 100644
--- a/perf/app/template/index.html
+++ b/perf/app/template/index.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html>
<head>
<meta charset="utf-8">
diff --git a/perf/app/template/trend.html b/perf/app/template/trend.html
index 4d0ed65..a5408e8 100644
--- a/perf/app/template/trend.html
+++ b/perf/app/template/trend.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html>
<head>
<meta charset="utf-8">
diff --git a/perf/deployment-prod.yaml b/perf/deployment-prod.yaml
index 443559e..4e3beb3 100644
--- a/perf/deployment-prod.yaml
+++ b/perf/deployment-prod.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/perfdata/appengine/app.yaml b/perfdata/appengine/app.yaml
index ebea554..35989e8 100644
--- a/perfdata/appengine/app.yaml
+++ b/perfdata/appengine/app.yaml
@@ -1,3 +1,7 @@
+# Copyright 2022 Go Authors All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
runtime: go113
service: perfdata
instance_class: F4_HIGHMEM
diff --git a/perfdata/appengine/static/index.html b/perfdata/appengine/static/index.html
index 439f4dd..bcfe47c 100644
--- a/perfdata/appengine/static/index.html
+++ b/perfdata/appengine/static/index.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html>
<head>
<title>Go Performance Data Server</title>
diff --git a/perfdata/appengine/static/upload.html b/perfdata/appengine/static/upload.html
index 57e114b..eeaa606 100644
--- a/perfdata/appengine/static/upload.html
+++ b/perfdata/appengine/static/upload.html
@@ -1,4 +1,10 @@
<!DOCTYPE html>
+<!--
+ Copyright 2022 Go Authors All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
<html>
<head>
<title>Upload Performance Results</title>
diff --git a/perfdata/db/schema.sql b/perfdata/db/schema.sql
index 54233ec..68c2597 100644
--- a/perfdata/db/schema.sql
+++ b/perfdata/db/schema.sql
@@ -1,3 +1,7 @@
+-- Copyright 2022 Go Authors All rights reserved.
+-- Use of this source code is governed by a BSD-style
+-- license that can be found in the LICENSE file.
+
-- The intended production Cloud SQL schema. Committed here only as a
-- form of notes (see the actual current schema in
-- db.go:createTables).