summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorflynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com>2022-11-27 13:20:29 -0500
committerGitHub <noreply@github.com>2022-11-27 18:20:29 +0000
commite81ccc406bf723a5a58d685e7782f281736affd4 (patch)
treebc9812f3f1779f8ce86b8f915d08aafd02e944b9 /modules/base
parentf6fd501841816f5e5c1c9a30fbc4c9a2a6f987bc (diff)
downloadgitea-e81ccc406bf723a5a58d685e7782f281736affd4.tar.gz
gitea-e81ccc406bf723a5a58d685e7782f281736affd4.zip
Implement FSFE REUSE for golang files (#21840)
Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/base.go3
-rw-r--r--modules/base/natural_sort.go3
-rw-r--r--modules/base/natural_sort_test.go3
-rw-r--r--modules/base/tool.go3
-rw-r--r--modules/base/tool_test.go3
5 files changed, 5 insertions, 10 deletions
diff --git a/modules/base/base.go b/modules/base/base.go
index 026f68f646..dddce202da 100644
--- a/modules/base/base.go
+++ b/modules/base/base.go
@@ -1,6 +1,5 @@
// Copyright 2014 The Gogs 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 base
diff --git a/modules/base/natural_sort.go b/modules/base/natural_sort.go
index 46cdd52932..e920177f89 100644
--- a/modules/base/natural_sort.go
+++ b/modules/base/natural_sort.go
@@ -1,6 +1,5 @@
// Copyright 2017 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 base
diff --git a/modules/base/natural_sort_test.go b/modules/base/natural_sort_test.go
index 2faa5acf38..91e864ad2a 100644
--- a/modules/base/natural_sort_test.go
+++ b/modules/base/natural_sort_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 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 base
diff --git a/modules/base/tool.go b/modules/base/tool.go
index df0947ec61..994e58ac3c 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -1,6 +1,5 @@
// Copyright 2014 The Gogs 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 base
diff --git a/modules/base/tool_test.go b/modules/base/tool_test.go
index 87de898e0b..81f4b464e6 100644
--- a/modules/base/tool_test.go
+++ b/modules/base/tool_test.go
@@ -1,6 +1,5 @@
// Copyright 2020 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 base