From 01eda09df376043f43bdf4cf420fb6f1c7441b82 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 03 Mar 2025 21:26:55 +0800 Subject: [PATCH] Add SPDX license headers to all HTML templates --- templates/_footer.tmpl | 4 ++++ templates/_head.tmpl | 4 ++++ templates/_header.tmpl | 4 ++++ templates/group_repos.tmpl | 4 ++++ templates/index.tmpl | 4 ++++ templates/login.tmpl | 4 ++++ templates/repo_commit.tmpl | 4 ++++ templates/repo_contrib_index.tmpl | 4 ++++ templates/repo_contrib_one.tmpl | 4 ++++ templates/repo_index.tmpl | 4 ++++ templates/repo_log.tmpl | 4 ++++ templates/repo_raw_dir.tmpl | 4 ++++ templates/repo_tree_dir.tmpl | 4 ++++ templates/repo_tree_file.tmpl | 4 ++++ diff --git a/templates/_footer.tmpl b/templates/_footer.tmpl index b4cce1953057f3a4bf136115acbe8afae3d594c5..ec00e8d90729e6f32b44647cc8e097325efbb0ab 100644 --- a/templates/_footer.tmpl +++ b/templates/_footer.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "footer" -}} Lindenii Forge {{ .global.forge_version }} (source, upstream) {{- end -}} diff --git a/templates/_head.tmpl b/templates/_head.tmpl index 4641107d441df4fc3c3f41c8f7a7ac357fb5da57..922be7a658a7fef4f67111edea8aff76afb1b3d0 100644 --- a/templates/_head.tmpl +++ b/templates/_head.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "head_common" -}} diff --git a/templates/_header.tmpl b/templates/_header.tmpl index 6d0a3a2b74dc24a8036f3348998f353931bda52b..9fb0e75e0f8c33a80a65e2440412fb205855ae36 100644 --- a/templates/_header.tmpl +++ b/templates/_header.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "header" -}}
diff --git a/templates/group_repos.tmpl b/templates/group_repos.tmpl index 0ea7c75430c8a3d3541f02a055d72bcc5baee658..3eae4f4573db3a6ed93b85a41021309e5cdaa6a3 100644 --- a/templates/group_repos.tmpl +++ b/templates/group_repos.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "group_repos" -}} diff --git a/templates/index.tmpl b/templates/index.tmpl index 5f30f0ce530a9057ddd2007b19b4e065360818ac..c3b8bef67e3fae2a1b0153c75e2ee0346ac2afe1 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "index" -}} diff --git a/templates/login.tmpl b/templates/login.tmpl index 3b0e74a54a033fdb337edabb19f3e911d250da89..b31cb36ed9d6b37515d23a05f0095fee97d31419 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "login" -}} diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index 4030f62d05b8b17ca4c2cea86cea8f4fc8030217..1e346044808a6f939c37f40b6a29f4f1032e116c 100644 --- a/templates/repo_commit.tmpl +++ b/templates/repo_commit.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_commit" -}} diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl index 6da917b302a2b0e06a74bae527baf161f1b4972a..da779f84623a3c7dfee7751de4029cc61ed7115b 100644 --- a/templates/repo_contrib_index.tmpl +++ b/templates/repo_contrib_index.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_contrib_index" -}} diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl index 85cac10efee2ff0efd1d93bbaec2f24973cb97e6..dca8a8f2c0368d92fa22e70d74c40535888ba74f 100644 --- a/templates/repo_contrib_one.tmpl +++ b/templates/repo_contrib_one.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_contrib_one" -}} diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index 5f3107b713154e400a4a43e23afdbd3ad14249eb..9dec74535e3421c11237335d388d28efa79b683e 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_index" -}} diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index ad11faee5823dd7f2260225e083ee9d1212da0ae..8e33beac9f77dc651838ef79029ce93b3457ccb7 100644 --- a/templates/repo_log.tmpl +++ b/templates/repo_log.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_log" -}} diff --git a/templates/repo_raw_dir.tmpl b/templates/repo_raw_dir.tmpl index daf29c48da9afe7bbc45a6cae28209edf35727a9..47ef69fa35e116b0fff220f0df1e5e4a528672ec 100644 --- a/templates/repo_raw_dir.tmpl +++ b/templates/repo_raw_dir.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_raw_dir" -}} diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl index 62e113f033cbbde96f8581300923e36811baa254..e520225886987d0f866b28d88a02e2bda5be776e 100644 --- a/templates/repo_tree_dir.tmpl +++ b/templates/repo_tree_dir.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_tree_dir" -}} diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl index a4118311b751938323d4f29985aba99281a17985..d6890b8e7c33bf69dd644ca18404ae26f26d00a4 100644 --- a/templates/repo_tree_file.tmpl +++ b/templates/repo_tree_file.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_tree_file" -}} -- 2.48.1