aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2022-12-02 22:14:57 +0800
committerGitHub <noreply@github.com>2022-12-02 22:14:57 +0800
commitf59a74852bb530bd728ecf62f5c8be510d2c3770 (patch)
treec80cddfb294cf5957619bc157ee939feca40446c /routers
parentd64063277d77a0eea5fa13d257a25ec554367c71 (diff)
downloadgitea-f59a74852bb530bd728ecf62f5c8be510d2c3770.tar.gz
gitea-f59a74852bb530bd728ecf62f5c8be510d2c3770.zip
Update gitea-vet to check FSFE REUSE (#22004)
Related to: - #21840 - https://gitea.com/gitea/gitea-vet/pulls/21 What it looks like when it's working: https://drone.gitea.io/go-gitea/gitea/64040/1/5 All available SPDX license identifiers: [SPDX License List](https://spdx.org/licenses/). Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'routers')
-rw-r--r--routers/web/org/setting_packages.go3
-rw-r--r--routers/web/shared/packages/packages.go3
-rw-r--r--routers/web/user/setting/packages.go3
3 files changed, 3 insertions, 6 deletions
diff --git a/routers/web/org/setting_packages.go b/routers/web/org/setting_packages.go
index c7edf4a185..80135ca2d0 100644
--- a/routers/web/org/setting_packages.go
+++ b/routers/web/org/setting_packages.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/shared/packages/packages.go b/routers/web/shared/packages/packages.go
index 5e934d707e..b9aa40bdd2 100644
--- a/routers/web/shared/packages/packages.go
+++ b/routers/web/shared/packages/packages.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 packages
diff --git a/routers/web/user/setting/packages.go b/routers/web/user/setting/packages.go
index d44e904556..f6f7195adf 100644
--- a/routers/web/user/setting/packages.go
+++ b/routers/web/user/setting/packages.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