OSS cleanup
Bug: 306427497
Change-Id: I3b88074e48077e2255583d0cff2bcac09147672b
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6272489..ab993df 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -18,9 +18,9 @@
## Code Reviews
All submissions, including submissions by project members, require review. We
-use GitHub pull requests for this purpose. Consult
-[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
-information on using pull requests.
+use Gerrit code review for this purpose. Consult
+[Gerrit User Guide](https://gerrit-documentation.storage.googleapis.com/Documentation/3.8.2/intro-user.html)
+for more information.
## Community Guidelines
diff --git a/bootshell.py b/bootshell.py
index 9ec045c..a0fe4a2 100755
--- a/bootshell.py
+++ b/bootshell.py
@@ -1,4 +1,18 @@
#!/usr/bin/env python3
+# Copyright 2023 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
import base64
import cmd
diff --git a/download-gerrit-topic.py b/download-gerrit-topic.py
index 52596a3..2d2b4c6 100755
--- a/download-gerrit-topic.py
+++ b/download-gerrit-topic.py
@@ -1,4 +1,18 @@
#!/usr/bin/env python3
+# Copyright 2023 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
"""Download from gerrit all the changes of the specified topic. The new
branches will be called TOPIC. If a project has multiple changes, they must
all form a parent-child chain, and only the last child will be downloaded.
diff --git a/preupload-hooks/yapf-diff.sh b/preupload-hooks/yapf-diff.sh
index a0d22bf..83c8195 100755
--- a/preupload-hooks/yapf-diff.sh
+++ b/preupload-hooks/yapf-diff.sh
@@ -1,4 +1,18 @@
#! /bin/bash
+# Copyright 2023 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# Wrapper to run yapf-diff for repo preupload.
# Usage: if the first argument is --bypass, do nothing (exit 0). If the first
# argument is a git hash, run yapf-diff on that commit, otherwise run yapf-diff
diff --git a/thirdparty/rustup-install.sh b/thirdparty/rustup-install.sh
index a4a79a2..cd5596a 100755
--- a/thirdparty/rustup-install.sh
+++ b/thirdparty/rustup-install.sh
@@ -1,4 +1,18 @@
#!/bin/sh
+# Copyright 2023 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# shellcheck shell=dash
# This is just a little script that can be downloaded from the internet to