aboutsummaryrefslogtreecommitdiffstats
path: root/services/issue
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 /services/issue
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 'services/issue')
-rw-r--r--services/issue/assignee.go3
-rw-r--r--services/issue/assignee_test.go3
-rw-r--r--services/issue/commit.go3
-rw-r--r--services/issue/commit_test.go3
-rw-r--r--services/issue/content.go3
-rw-r--r--services/issue/issue.go3
-rw-r--r--services/issue/issue_test.go3
-rw-r--r--services/issue/label.go3
-rw-r--r--services/issue/label_test.go3
-rw-r--r--services/issue/main_test.go3
-rw-r--r--services/issue/milestone.go3
-rw-r--r--services/issue/milestone_test.go3
-rw-r--r--services/issue/status.go3
13 files changed, 13 insertions, 26 deletions
diff --git a/services/issue/assignee.go b/services/issue/assignee.go
index 291fc31637..2e62f7cf1c 100644
--- a/services/issue/assignee.go
+++ b/services/issue/assignee.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 issue
diff --git a/services/issue/assignee_test.go b/services/issue/assignee_test.go
index 5c8b822499..946085cb91 100644
--- a/services/issue/assignee_test.go
+++ b/services/issue/assignee_test.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 issue
diff --git a/services/issue/commit.go b/services/issue/commit.go
index c8cfa6cc8a..f9d59b6bd0 100644
--- a/services/issue/commit.go
+++ b/services/issue/commit.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 issue
diff --git a/services/issue/commit_test.go b/services/issue/commit_test.go
index 8469bf1ac1..590e7adce9 100644
--- a/services/issue/commit_test.go
+++ b/services/issue/commit_test.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 issue
diff --git a/services/issue/content.go b/services/issue/content.go
index 851d986de3..819ac3f20f 100644
--- a/services/issue/content.go
+++ b/services/issue/content.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 issue
diff --git a/services/issue/issue.go b/services/issue/issue.go
index 9ec43f8264..23b48c2861 100644
--- a/services/issue/issue.go
+++ b/services/issue/issue.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 issue
diff --git a/services/issue/issue_test.go b/services/issue/issue_test.go
index 20f3a3296c..44168388e6 100644
--- a/services/issue/issue_test.go
+++ b/services/issue/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 issue
diff --git a/services/issue/label.go b/services/issue/label.go
index cd29fcebae..c18abbfcda 100644
--- a/services/issue/label.go
+++ b/services/issue/label.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 issue
diff --git a/services/issue/label_test.go b/services/issue/label_test.go
index 482db95139..af220601f1 100644
--- a/services/issue/label_test.go
+++ b/services/issue/label_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 issue
diff --git a/services/issue/main_test.go b/services/issue/main_test.go
index 689ae744f6..0f2427122f 100644
--- a/services/issue/main_test.go
+++ b/services/issue/main_test.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 issue
diff --git a/services/issue/milestone.go b/services/issue/milestone.go
index 2be4a9e70a..6019a28a99 100644
--- a/services/issue/milestone.go
+++ b/services/issue/milestone.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 issue
diff --git a/services/issue/milestone_test.go b/services/issue/milestone_test.go
index 087c256700..069117d1f1 100644
--- a/services/issue/milestone_test.go
+++ b/services/issue/milestone_test.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 issue
diff --git a/services/issue/status.go b/services/issue/status.go
index 2d4622324c..782ce0bd96 100644
--- a/services/issue/status.go
+++ b/services/issue/status.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 issue