diff options
author | flynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com> | 2022-11-27 13:20:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 18:20:29 +0000 |
commit | e81ccc406bf723a5a58d685e7782f281736affd4 (patch) | |
tree | bc9812f3f1779f8ce86b8f915d08aafd02e944b9 /modules/notification | |
parent | f6fd501841816f5e5c1c9a30fbc4c9a2a6f987bc (diff) | |
download | gitea-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/notification')
-rw-r--r-- | modules/notification/action/action.go | 3 | ||||
-rw-r--r-- | modules/notification/action/action_test.go | 3 | ||||
-rw-r--r-- | modules/notification/base/notifier.go | 3 | ||||
-rw-r--r-- | modules/notification/base/null.go | 3 | ||||
-rw-r--r-- | modules/notification/indexer/indexer.go | 3 | ||||
-rw-r--r-- | modules/notification/mail/mail.go | 3 | ||||
-rw-r--r-- | modules/notification/mirror/mirror.go | 3 | ||||
-rw-r--r-- | modules/notification/notification.go | 3 | ||||
-rw-r--r-- | modules/notification/ui/ui.go | 3 | ||||
-rw-r--r-- | modules/notification/webhook/webhook.go | 3 |
10 files changed, 10 insertions, 20 deletions
diff --git a/modules/notification/action/action.go b/modules/notification/action/action.go index d029405664..2f882c2cb8 100644 --- a/modules/notification/action/action.go +++ b/modules/notification/action/action.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 action diff --git a/modules/notification/action/action_test.go b/modules/notification/action/action_test.go index dc31b3189b..05ce70f388 100644 --- a/modules/notification/action/action_test.go +++ b/modules/notification/action/action_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 action diff --git a/modules/notification/base/notifier.go b/modules/notification/base/notifier.go index 2f7deac88e..dbed20ba3a 100644 --- a/modules/notification/base/notifier.go +++ b/modules/notification/base/notifier.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 base diff --git a/modules/notification/base/null.go b/modules/notification/base/null.go index 88e0c93de1..de5f072d24 100644 --- a/modules/notification/base/null.go +++ b/modules/notification/base/null.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 base diff --git a/modules/notification/indexer/indexer.go b/modules/notification/indexer/indexer.go index 2bacd5dec0..c67f79d0f2 100644 --- a/modules/notification/indexer/indexer.go +++ b/modules/notification/indexer/indexer.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 indexer diff --git a/modules/notification/mail/mail.go b/modules/notification/mail/mail.go index 123fa0e65a..18f7fa22ae 100644 --- a/modules/notification/mail/mail.go +++ b/modules/notification/mail/mail.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 mail diff --git a/modules/notification/mirror/mirror.go b/modules/notification/mirror/mirror.go index 159c44ee6c..426e36ee58 100644 --- a/modules/notification/mirror/mirror.go +++ b/modules/notification/mirror/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 mirror diff --git a/modules/notification/notification.go b/modules/notification/notification.go index a117a60815..c3e09bb8a9 100644 --- a/modules/notification/notification.go +++ b/modules/notification/notification.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 notification diff --git a/modules/notification/ui/ui.go b/modules/notification/ui/ui.go index a38289c976..63a3ffd199 100644 --- a/modules/notification/ui/ui.go +++ b/modules/notification/ui/ui.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 ui diff --git a/modules/notification/webhook/webhook.go b/modules/notification/webhook/webhook.go index 37ce7661f2..326d987ba5 100644 --- a/modules/notification/webhook/webhook.go +++ b/modules/notification/webhook/webhook.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 webhook |