summaryrefslogtreecommitdiffstats
path: root/modules/convert
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/convert
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/convert')
-rw-r--r--modules/convert/convert.go3
-rw-r--r--modules/convert/git_commit.go3
-rw-r--r--modules/convert/git_commit_test.go3
-rw-r--r--modules/convert/issue.go3
-rw-r--r--modules/convert/issue_comment.go3
-rw-r--r--modules/convert/issue_test.go3
-rw-r--r--modules/convert/main_test.go3
-rw-r--r--modules/convert/mirror.go3
-rw-r--r--modules/convert/notification.go3
-rw-r--r--modules/convert/package.go3
-rw-r--r--modules/convert/pull.go3
-rw-r--r--modules/convert/pull_review.go3
-rw-r--r--modules/convert/pull_test.go3
-rw-r--r--modules/convert/release.go3
-rw-r--r--modules/convert/repository.go3
-rw-r--r--modules/convert/status.go3
-rw-r--r--modules/convert/user.go3
-rw-r--r--modules/convert/user_test.go3
-rw-r--r--modules/convert/utils.go3
-rw-r--r--modules/convert/utils_test.go3
-rw-r--r--modules/convert/wiki.go3
21 files changed, 21 insertions, 42 deletions
diff --git a/modules/convert/convert.go b/modules/convert/convert.go
index 78eb62d42d..107854e013 100644
--- a/modules/convert/convert.go
+++ b/modules/convert/convert.go
@@ -1,7 +1,6 @@
// Copyright 2015 The Gogs Authors. All rights reserved.
// 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 convert
diff --git a/modules/convert/git_commit.go b/modules/convert/git_commit.go
index 6015a73712..59842e4020 100644
--- a/modules/convert/git_commit.go
+++ b/modules/convert/git_commit.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 convert
diff --git a/modules/convert/git_commit_test.go b/modules/convert/git_commit_test.go
index 0bba0e502e..8c4ef88ebe 100644
--- a/modules/convert/git_commit_test.go
+++ b/modules/convert/git_commit_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 convert
diff --git a/modules/convert/issue.go b/modules/convert/issue.go
index 7c11b2a89f..ff3466cb3f 100644
--- a/modules/convert/issue.go
+++ b/modules/convert/issue.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 convert
diff --git a/modules/convert/issue_comment.go b/modules/convert/issue_comment.go
index c33cf5c111..81cd1ac245 100644
--- a/modules/convert/issue_comment.go
+++ b/modules/convert/issue_comment.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 convert
diff --git a/modules/convert/issue_test.go b/modules/convert/issue_test.go
index ec672abad2..4d780f3f00 100644
--- a/modules/convert/issue_test.go
+++ b/modules/convert/issue_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 convert
diff --git a/modules/convert/main_test.go b/modules/convert/main_test.go
index 84f16b9af3..4c8e57bf79 100644
--- a/modules/convert/main_test.go
+++ b/modules/convert/main_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 convert
diff --git a/modules/convert/mirror.go b/modules/convert/mirror.go
index b2414f4677..1dcfc9b64d 100644
--- a/modules/convert/mirror.go
+++ b/modules/convert/mirror.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 convert
diff --git a/modules/convert/notification.go b/modules/convert/notification.go
index 55f782f8f6..49a1b148fb 100644
--- a/modules/convert/notification.go
+++ b/modules/convert/notification.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 convert
diff --git a/modules/convert/package.go b/modules/convert/package.go
index 9713cda48b..900f1dd816 100644
--- a/modules/convert/package.go
+++ b/modules/convert/package.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 convert
diff --git a/modules/convert/pull.go b/modules/convert/pull.go
index ca9a4c39c5..4291d737a4 100644
--- a/modules/convert/pull.go
+++ b/modules/convert/pull.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 convert
diff --git a/modules/convert/pull_review.go b/modules/convert/pull_review.go
index e8a543fea9..66c5018ee2 100644
--- a/modules/convert/pull_review.go
+++ b/modules/convert/pull_review.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 convert
diff --git a/modules/convert/pull_test.go b/modules/convert/pull_test.go
index a0a672d3a5..21d410cfcb 100644
--- a/modules/convert/pull_test.go
+++ b/modules/convert/pull_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 convert
diff --git a/modules/convert/release.go b/modules/convert/release.go
index 5fc95dab72..95c6d03ab1 100644
--- a/modules/convert/release.go
+++ b/modules/convert/release.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 convert
diff --git a/modules/convert/repository.go b/modules/convert/repository.go
index 09b84afa6c..3c75f588fd 100644
--- a/modules/convert/repository.go
+++ b/modules/convert/repository.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 convert
diff --git a/modules/convert/status.go b/modules/convert/status.go
index 7ed28a9c10..5eb38ad063 100644
--- a/modules/convert/status.go
+++ b/modules/convert/status.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 convert
diff --git a/modules/convert/user.go b/modules/convert/user.go
index 093994856c..6b90539fd9 100644
--- a/modules/convert/user.go
+++ b/modules/convert/user.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 convert
diff --git a/modules/convert/user_test.go b/modules/convert/user_test.go
index 89d912e460..c3ab4187b7 100644
--- a/modules/convert/user_test.go
+++ b/modules/convert/user_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 convert
diff --git a/modules/convert/utils.go b/modules/convert/utils.go
index 52fbcf547f..cdce60831c 100644
--- a/modules/convert/utils.go
+++ b/modules/convert/utils.go
@@ -1,7 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// Copyright 2016 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 convert
diff --git a/modules/convert/utils_test.go b/modules/convert/utils_test.go
index e0ab15dfd8..d1ec5980ce 100644
--- a/modules/convert/utils_test.go
+++ b/modules/convert/utils_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 convert
diff --git a/modules/convert/wiki.go b/modules/convert/wiki.go
index 1112da43f8..20d76162c7 100644
--- a/modules/convert/wiki.go
+++ b/modules/convert/wiki.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 convert