summaryrefslogtreecommitdiffstats
path: root/modules/private
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/private
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/private')
-rw-r--r--modules/private/hook.go3
-rw-r--r--modules/private/internal.go3
-rw-r--r--modules/private/key.go3
-rw-r--r--modules/private/mail.go3
-rw-r--r--modules/private/manager.go3
-rw-r--r--modules/private/restore_repo.go3
-rw-r--r--modules/private/serv.go3
7 files changed, 7 insertions, 14 deletions
diff --git a/modules/private/hook.go b/modules/private/hook.go
index e208c14378..027014270a 100644
--- a/modules/private/hook.go
+++ b/modules/private/hook.go
@@ -1,6 +1,5 @@
// Copyright 2019 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 private
diff --git a/modules/private/internal.go b/modules/private/internal.go
index 21e5c9a279..a8b62fdde7 100644
--- a/modules/private/internal.go
+++ b/modules/private/internal.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 private
diff --git a/modules/private/key.go b/modules/private/key.go
index 8dfd82a6d6..f09d6de2bf 100644
--- a/modules/private/key.go
+++ b/modules/private/key.go
@@ -1,6 +1,5 @@
// Copyright 2018 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 private
diff --git a/modules/private/mail.go b/modules/private/mail.go
index 3efef3bece..6eb7c2acd0 100644
--- a/modules/private/mail.go
+++ b/modules/private/mail.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 private
diff --git a/modules/private/manager.go b/modules/private/manager.go
index ba51260ebb..bbf470cd7a 100644
--- a/modules/private/manager.go
+++ b/modules/private/manager.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 private
diff --git a/modules/private/restore_repo.go b/modules/private/restore_repo.go
index b1561f392b..f40d914a7b 100644
--- a/modules/private/restore_repo.go
+++ b/modules/private/restore_repo.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 private
diff --git a/modules/private/serv.go b/modules/private/serv.go
index 2e1367e4c4..c176e1ddfc 100644
--- a/modules/private/serv.go
+++ b/modules/private/serv.go
@@ -1,6 +1,5 @@
// Copyright 2019 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 private