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/avatar | |
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/avatar')
-rw-r--r-- | modules/avatar/avatar.go | 3 | ||||
-rw-r--r-- | modules/avatar/avatar_test.go | 3 | ||||
-rw-r--r-- | modules/avatar/identicon/block.go | 3 | ||||
-rw-r--r-- | modules/avatar/identicon/colors.go | 3 | ||||
-rw-r--r-- | modules/avatar/identicon/identicon.go | 3 | ||||
-rw-r--r-- | modules/avatar/identicon/identicon_test.go | 3 | ||||
-rw-r--r-- | modules/avatar/identicon/polygon.go | 3 |
7 files changed, 7 insertions, 14 deletions
diff --git a/modules/avatar/avatar.go b/modules/avatar/avatar.go index 2de77de009..9ee926b059 100644 --- a/modules/avatar/avatar.go +++ b/modules/avatar/avatar.go @@ -1,6 +1,5 @@ // Copyright 2014 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 avatar diff --git a/modules/avatar/avatar_test.go b/modules/avatar/avatar_test.go index a2acc54438..5ef4ed379b 100644 --- a/modules/avatar/avatar_test.go +++ b/modules/avatar/avatar_test.go @@ -1,6 +1,5 @@ // 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 avatar diff --git a/modules/avatar/identicon/block.go b/modules/avatar/identicon/block.go index 270f05e1b0..cb1803a231 100644 --- a/modules/avatar/identicon/block.go +++ b/modules/avatar/identicon/block.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 // Copied and modified from https://github.com/issue9/identicon/ (MIT License) diff --git a/modules/avatar/identicon/colors.go b/modules/avatar/identicon/colors.go index a8d7090369..09a98bd0e9 100644 --- a/modules/avatar/identicon/colors.go +++ b/modules/avatar/identicon/colors.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 identicon diff --git a/modules/avatar/identicon/identicon.go b/modules/avatar/identicon/identicon.go index cc7e2a791d..63926d5f19 100644 --- a/modules/avatar/identicon/identicon.go +++ b/modules/avatar/identicon/identicon.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 // Copied and modified from https://github.com/issue9/identicon/ (MIT License) // Generate pseudo-random avatars by IP, E-mail, etc. diff --git a/modules/avatar/identicon/identicon_test.go b/modules/avatar/identicon/identicon_test.go index 44635fbb3b..23bcc73e2e 100644 --- a/modules/avatar/identicon/identicon_test.go +++ b/modules/avatar/identicon/identicon_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 //go:build test_avatar_identicon diff --git a/modules/avatar/identicon/polygon.go b/modules/avatar/identicon/polygon.go index 88440633c2..ecfc179a5c 100644 --- a/modules/avatar/identicon/polygon.go +++ b/modules/avatar/identicon/polygon.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 // Copied and modified from https://github.com/issue9/identicon/ (MIT License) |