summaryrefslogtreecommitdiffstats
path: root/services/mailer
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/mailer
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/mailer')
-rw-r--r--services/mailer/mail.go3
-rw-r--r--services/mailer/mail_comment.go3
-rw-r--r--services/mailer/mail_issue.go3
-rw-r--r--services/mailer/mail_release.go3
-rw-r--r--services/mailer/mail_repo.go3
-rw-r--r--services/mailer/mail_team_invite.go3
-rw-r--r--services/mailer/mail_test.go3
-rw-r--r--services/mailer/mailer.go3
-rw-r--r--services/mailer/mailer_test.go3
-rw-r--r--services/mailer/main_test.go3
10 files changed, 10 insertions, 20 deletions
diff --git a/services/mailer/mail.go b/services/mailer/mail.go
index a9e36e10f8..674011bede 100644
--- a/services/mailer/mail.go
+++ b/services/mailer/mail.go
@@ -1,7 +1,6 @@
// Copyright 2016 The Gogs Authors. All rights reserved.
// 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 mailer
diff --git a/services/mailer/mail_comment.go b/services/mailer/mail_comment.go
index af07821c29..1812441d5a 100644
--- a/services/mailer/mail_comment.go
+++ b/services/mailer/mail_comment.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 mailer
diff --git a/services/mailer/mail_issue.go b/services/mailer/mail_issue.go
index e7ff1d59d6..be5279aac5 100644
--- a/services/mailer/mail_issue.go
+++ b/services/mailer/mail_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 mailer
diff --git a/services/mailer/mail_release.go b/services/mailer/mail_release.go
index b15fc05ce9..96227270c8 100644
--- a/services/mailer/mail_release.go
+++ b/services/mailer/mail_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 mailer
diff --git a/services/mailer/mail_repo.go b/services/mailer/mail_repo.go
index d3f5120929..5fa13f5044 100644
--- a/services/mailer/mail_repo.go
+++ b/services/mailer/mail_repo.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 mailer
diff --git a/services/mailer/mail_team_invite.go b/services/mailer/mail_team_invite.go
index c2b2a00e76..f01d6f47dd 100644
--- a/services/mailer/mail_team_invite.go
+++ b/services/mailer/mail_team_invite.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 mailer
diff --git a/services/mailer/mail_test.go b/services/mailer/mail_test.go
index acb1f69961..6ed4fed9bd 100644
--- a/services/mailer/mail_test.go
+++ b/services/mailer/mail_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 mailer
diff --git a/services/mailer/mailer.go b/services/mailer/mailer.go
index 2663b6b2ba..6149644600 100644
--- a/services/mailer/mailer.go
+++ b/services/mailer/mailer.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// 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 mailer
diff --git a/services/mailer/mailer_test.go b/services/mailer/mailer_test.go
index b94fce8443..79c5231218 100644
--- a/services/mailer/mailer_test.go
+++ b/services/mailer/mailer_test.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 mailer
diff --git a/services/mailer/main_test.go b/services/mailer/main_test.go
index 0bd154113f..16a6a26545 100644
--- a/services/mailer/main_test.go
+++ b/services/mailer/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 mailer