summaryrefslogtreecommitdiffstats
path: root/modules/doctor
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/doctor
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/doctor')
-rw-r--r--modules/doctor/authorizedkeys.go3
-rw-r--r--modules/doctor/breaking.go3
-rw-r--r--modules/doctor/checkOldArchives.go3
-rw-r--r--modules/doctor/dbconsistency.go3
-rw-r--r--modules/doctor/dbversion.go3
-rw-r--r--modules/doctor/doctor.go3
-rw-r--r--modules/doctor/fix16961.go3
-rw-r--r--modules/doctor/fix16961_test.go3
-rw-r--r--modules/doctor/heads.go3
-rw-r--r--modules/doctor/mergebase.go3
-rw-r--r--modules/doctor/misc.go3
-rw-r--r--modules/doctor/paths.go3
-rw-r--r--modules/doctor/storage.go3
-rw-r--r--modules/doctor/usertype.go3
14 files changed, 14 insertions, 28 deletions
diff --git a/modules/doctor/authorizedkeys.go b/modules/doctor/authorizedkeys.go
index b3e9699a02..e4d85c4a18 100644
--- a/modules/doctor/authorizedkeys.go
+++ b/modules/doctor/authorizedkeys.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 doctor
diff --git a/modules/doctor/breaking.go b/modules/doctor/breaking.go
index 474997acd8..77e3d4e8ef 100644
--- a/modules/doctor/breaking.go
+++ b/modules/doctor/breaking.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 doctor
diff --git a/modules/doctor/checkOldArchives.go b/modules/doctor/checkOldArchives.go
index cefb3817bf..390dfb43aa 100644
--- a/modules/doctor/checkOldArchives.go
+++ b/modules/doctor/checkOldArchives.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 doctor
diff --git a/modules/doctor/dbconsistency.go b/modules/doctor/dbconsistency.go
index 602b2e523e..bb560ac6a3 100644
--- a/modules/doctor/dbconsistency.go
+++ b/modules/doctor/dbconsistency.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 doctor
diff --git a/modules/doctor/dbversion.go b/modules/doctor/dbversion.go
index 8afd9f44fd..3ddca92fb3 100644
--- a/modules/doctor/dbversion.go
+++ b/modules/doctor/dbversion.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 doctor
diff --git a/modules/doctor/doctor.go b/modules/doctor/doctor.go
index 5d14cef55c..2025edc58d 100644
--- a/modules/doctor/doctor.go
+++ b/modules/doctor/doctor.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 doctor
diff --git a/modules/doctor/fix16961.go b/modules/doctor/fix16961.go
index d9f895739f..ea14a9b2c4 100644
--- a/modules/doctor/fix16961.go
+++ b/modules/doctor/fix16961.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 doctor
diff --git a/modules/doctor/fix16961_test.go b/modules/doctor/fix16961_test.go
index f5e5667c09..498ed9c8d5 100644
--- a/modules/doctor/fix16961_test.go
+++ b/modules/doctor/fix16961_test.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 doctor
diff --git a/modules/doctor/heads.go b/modules/doctor/heads.go
index b1bfd50b20..41fca01d57 100644
--- a/modules/doctor/heads.go
+++ b/modules/doctor/heads.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 doctor
diff --git a/modules/doctor/mergebase.go b/modules/doctor/mergebase.go
index 9f5e336461..e79369e581 100644
--- a/modules/doctor/mergebase.go
+++ b/modules/doctor/mergebase.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 doctor
diff --git a/modules/doctor/misc.go b/modules/doctor/misc.go
index 6f0e066f54..73df513901 100644
--- a/modules/doctor/misc.go
+++ b/modules/doctor/misc.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 doctor
diff --git a/modules/doctor/paths.go b/modules/doctor/paths.go
index 5a27045457..ad50078d3e 100644
--- a/modules/doctor/paths.go
+++ b/modules/doctor/paths.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 doctor
diff --git a/modules/doctor/storage.go b/modules/doctor/storage.go
index 8ae9168ea6..aa987de447 100644
--- a/modules/doctor/storage.go
+++ b/modules/doctor/storage.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 doctor
diff --git a/modules/doctor/usertype.go b/modules/doctor/usertype.go
index 166e38bd24..550e536cbd 100644
--- a/modules/doctor/usertype.go
+++ b/modules/doctor/usertype.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 doctor