diff --git a/models/auth/secret.go b/models/auth/secret.go index 0c55c07069..0e68cec240 100644 --- a/models/auth/secret.go +++ b/models/auth/secret.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package auth diff --git a/models/bots/run.go b/models/bots/run.go index 39f5646603..e9e3686836 100644 --- a/models/bots/run.go +++ b/models/bots/run.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/run_job.go b/models/bots/run_job.go index adee28aa82..c927cd32ad 100644 --- a/models/bots/run_job.go +++ b/models/bots/run_job.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/run_job_list.go b/models/bots/run_job_list.go index 387451635d..4857a92f16 100644 --- a/models/bots/run_job_list.go +++ b/models/bots/run_job_list.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/run_list.go b/models/bots/run_list.go index aedaae2e64..52c2bd8d56 100644 --- a/models/bots/run_list.go +++ b/models/bots/run_list.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/runner.go b/models/bots/runner.go index b75a2c751b..a1dd0807c0 100644 --- a/models/bots/runner.go +++ b/models/bots/runner.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/runner_list.go b/models/bots/runner_list.go index 3f8d2ddece..2555ec693d 100644 --- a/models/bots/runner_list.go +++ b/models/bots/runner_list.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/runner_token.go b/models/bots/runner_token.go index 89338ae04a..000e6a1c28 100644 --- a/models/bots/runner_token.go +++ b/models/bots/runner_token.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/status.go b/models/bots/status.go index 078d3460d3..5b375a01fb 100644 --- a/models/bots/status.go +++ b/models/bots/status.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/task.go b/models/bots/task.go index dc1d8a5b20..0c72100d0b 100644 --- a/models/bots/task.go +++ b/models/bots/task.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/task_list.go b/models/bots/task_list.go index c79a64845a..7b95035d42 100644 --- a/models/bots/task_list.go +++ b/models/bots/task_list.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/task_step.go b/models/bots/task_step.go index 95108fb62e..8d187568ec 100644 --- a/models/bots/task_step.go +++ b/models/bots/task_step.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/task_test.go b/models/bots/task_test.go index beba507be0..7f12c7ee75 100644 --- a/models/bots/task_test.go +++ b/models/bots/task_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/bots/utils.go b/models/bots/utils.go index d35976c9ef..c24834d592 100644 --- a/models/bots/utils.go +++ b/models/bots/utils.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/models/dbfs/dbfile.go b/models/dbfs/dbfile.go index 475c7f8ffa..bac1cb9eb6 100644 --- a/models/dbfs/dbfile.go +++ b/models/dbfs/dbfile.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package dbfs diff --git a/models/dbfs/dbfs.go b/models/dbfs/dbfs.go index ebe75d8c1b..89d3dc7cbc 100644 --- a/models/dbfs/dbfs.go +++ b/models/dbfs/dbfs.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package dbfs diff --git a/models/dbfs/dbfs_test.go b/models/dbfs/dbfs_test.go index 45aedb1f90..50b9d561a1 100644 --- a/models/dbfs/dbfs_test.go +++ b/models/dbfs/dbfs_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package dbfs diff --git a/models/dbfs/main_test.go b/models/dbfs/main_test.go index 9d63807f8e..bd0a38a881 100644 --- a/models/dbfs/main_test.go +++ b/models/dbfs/main_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package dbfs diff --git a/models/migrations/v-dev.go b/models/migrations/v-dev.go index 40e65c18b0..809bf4d690 100644 --- a/models/migrations/v-dev.go +++ b/models/migrations/v-dev.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package migrations diff --git a/models/user/user_system.go b/models/user/user_system.go index 39f0835d50..9e7efc7a20 100644 --- a/models/user/user_system.go +++ b/models/user/user_system.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package user diff --git a/modules/bots/bots.go b/modules/bots/bots.go index 4c11a60e75..38985c0f89 100644 --- a/modules/bots/bots.go +++ b/modules/bots/bots.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/modules/bots/log.go b/modules/bots/log.go index ef0e20a9ce..01df11ee5d 100644 --- a/modules/bots/log.go +++ b/modules/bots/log.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/modules/bots/task_state.go b/modules/bots/task_state.go index 3c4563a12a..cb9db92d12 100644 --- a/modules/bots/task_state.go +++ b/modules/bots/task_state.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/modules/bots/task_state_test.go b/modules/bots/task_state_test.go index 92181bb70d..bb45f6314e 100644 --- a/modules/bots/task_state_test.go +++ b/modules/bots/task_state_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/modules/notification/bots/bots.go b/modules/notification/bots/bots.go index 5078381d59..c7b0aef1b4 100644 --- a/modules/notification/bots/bots.go +++ b/modules/notification/bots/bots.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/modules/notification/bots/helper.go b/modules/notification/bots/helper.go index ba4a7cbd1b..e7e4015d14 100644 --- a/modules/notification/bots/helper.go +++ b/modules/notification/bots/helper.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/modules/setting/bot.go b/modules/setting/bot.go index e7cda607ce..a094a3aeda 100644 --- a/modules/setting/bot.go +++ b/modules/setting/bot.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package setting diff --git a/routers/api/bots/bots.go b/routers/api/bots/bots.go index 0a7e857013..aa30ea5e69 100644 --- a/routers/api/bots/bots.go +++ b/routers/api/bots/bots.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/routers/api/bots/bots_test.go b/routers/api/bots/bots_test.go index de074cc050..d53a951190 100644 --- a/routers/api/bots/bots_test.go +++ b/routers/api/bots/bots_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/routers/api/bots/grpc/grpc.go b/routers/api/bots/grpc/grpc.go index d4949dcf65..6e0149a463 100644 --- a/routers/api/bots/grpc/grpc.go +++ b/routers/api/bots/grpc/grpc.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package grpc diff --git a/routers/api/bots/grpc/health.go b/routers/api/bots/grpc/health.go index ec0dfc9d69..b7f9b157cb 100644 --- a/routers/api/bots/grpc/health.go +++ b/routers/api/bots/grpc/health.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package grpc diff --git a/routers/api/bots/grpc/ping.go b/routers/api/bots/grpc/ping.go index 6ba240904e..8bf40cdd6b 100644 --- a/routers/api/bots/grpc/ping.go +++ b/routers/api/bots/grpc/ping.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package grpc diff --git a/routers/api/bots/grpc/runner.go b/routers/api/bots/grpc/runner.go index 39e704d2fb..d0a046ff08 100644 --- a/routers/api/bots/grpc/runner.go +++ b/routers/api/bots/grpc/runner.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package grpc diff --git a/routers/api/bots/ping/ping.go b/routers/api/bots/ping/ping.go index 37e3d77cdd..2efabfecf2 100644 --- a/routers/api/bots/ping/ping.go +++ b/routers/api/bots/ping/ping.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package ping diff --git a/routers/api/bots/ping/ping_test.go b/routers/api/bots/ping/ping_test.go index 480222725f..b17e4d0b02 100644 --- a/routers/api/bots/ping/ping_test.go +++ b/routers/api/bots/ping/ping_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package ping diff --git a/routers/api/bots/ping/testping.go b/routers/api/bots/ping/testping.go index 128306cffc..f682d95cc1 100644 --- a/routers/api/bots/ping/testping.go +++ b/routers/api/bots/ping/testping.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package ping diff --git a/routers/api/bots/runner/runner.go b/routers/api/bots/runner/runner.go index c763e7398c..2074399d70 100644 --- a/routers/api/bots/runner/runner.go +++ b/routers/api/bots/runner/runner.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package runner diff --git a/routers/api/bots/runner/unary.go b/routers/api/bots/runner/unary.go index 0cb29eca1b..d1c683d5da 100644 --- a/routers/api/bots/runner/unary.go +++ b/routers/api/bots/runner/unary.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package runner diff --git a/routers/common/runners.go b/routers/common/runners.go index 5407c68d3b..eb9c78d634 100644 --- a/routers/common/runners.go +++ b/routers/common/runners.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package common diff --git a/routers/web/admin/runners.go b/routers/web/admin/runners.go index ce5ad404b5..90319927ab 100644 --- a/routers/web/admin/runners.go +++ b/routers/web/admin/runners.go @@ -1,7 +1,6 @@ // Copyright 2014 The Gogs Authors. All rights reserved. // Copyright 2020 The Gitea Authors. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package admin diff --git a/routers/web/org/org_runners.go b/routers/web/org/org_runners.go index 850d4f5a5f..56eca6a138 100644 --- a/routers/web/org/org_runners.go +++ b/routers/web/org/org_runners.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package org diff --git a/routers/web/repo/bots/bots.go b/routers/web/repo/bots/bots.go index 94f4540aca..0634d9721f 100644 --- a/routers/web/repo/bots/bots.go +++ b/routers/web/repo/bots/bots.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/routers/web/repo/bots/view.go b/routers/web/repo/bots/view.go index 0dead07981..b3780a2709 100644 --- a/routers/web/repo/bots/view.go +++ b/routers/web/repo/bots/view.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/routers/web/repo/runners.go b/routers/web/repo/runners.go index 5df3bfcaf2..d009e72a69 100644 --- a/routers/web/repo/runners.go +++ b/routers/web/repo/runners.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package repo diff --git a/services/bots/bots.go b/services/bots/bots.go index 3d5a0f212f..0f0fff06dc 100644 --- a/services/bots/bots.go +++ b/services/bots/bots.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/services/bots/clear_tasks.go b/services/bots/clear_tasks.go index 8225bbe709..e705023ce9 100644 --- a/services/bots/clear_tasks.go +++ b/services/bots/clear_tasks.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/services/bots/job_emitter.go b/services/bots/job_emitter.go index d812a1a377..ee06860836 100644 --- a/services/bots/job_emitter.go +++ b/services/bots/job_emitter.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/services/bots/job_emitter_test.go b/services/bots/job_emitter_test.go index 52d7d5d6df..42f8645fdf 100644 --- a/services/bots/job_emitter_test.go +++ b/services/bots/job_emitter_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package bots diff --git a/services/cron/tasks_bots.go b/services/cron/tasks_bots.go index 72d73da54b..3dcfe224e4 100644 --- a/services/cron/tasks_bots.go +++ b/services/cron/tasks_bots.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package cron diff --git a/services/forms/runner.go b/services/forms/runner.go index 3ba59a2b0d..58d9076a85 100644 --- a/services/forms/runner.go +++ b/services/forms/runner.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package forms diff --git a/services/secrets/encryption.go b/services/secrets/encryption.go index 4cf192ee61..2f07d05df9 100644 --- a/services/secrets/encryption.go +++ b/services/secrets/encryption.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/encryption_aes.go b/services/secrets/encryption_aes.go index 612efedb28..790fe3f320 100644 --- a/services/secrets/encryption_aes.go +++ b/services/secrets/encryption_aes.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/encryption_aes_test.go b/services/secrets/encryption_aes_test.go index 4a28c21d13..18e0fd1069 100644 --- a/services/secrets/encryption_aes_test.go +++ b/services/secrets/encryption_aes_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/masterkey.go b/services/secrets/masterkey.go index c69a75b78a..2ad18954d8 100644 --- a/services/secrets/masterkey.go +++ b/services/secrets/masterkey.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/masterkey_nop.go b/services/secrets/masterkey_nop.go index db0d11471a..dc9b93a7ca 100644 --- a/services/secrets/masterkey_nop.go +++ b/services/secrets/masterkey_nop.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/masterkey_nop_test.go b/services/secrets/masterkey_nop_test.go index f270a6cee4..330ecf9919 100644 --- a/services/secrets/masterkey_nop_test.go +++ b/services/secrets/masterkey_nop_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/masterkey_plain.go b/services/secrets/masterkey_plain.go index 6a457c745a..d299bdbf63 100644 --- a/services/secrets/masterkey_plain.go +++ b/services/secrets/masterkey_plain.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets diff --git a/services/secrets/secrets.go b/services/secrets/secrets.go index 1afc9905e5..36bd147191 100644 --- a/services/secrets/secrets.go +++ b/services/secrets/secrets.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package secrets