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/public | |
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/public')
-rw-r--r-- | modules/public/mime_types.go | 3 | ||||
-rw-r--r-- | modules/public/public.go | 3 | ||||
-rw-r--r-- | modules/public/public_bindata.go | 3 | ||||
-rw-r--r-- | modules/public/public_test.go | 3 | ||||
-rw-r--r-- | modules/public/serve_dynamic.go | 3 | ||||
-rw-r--r-- | modules/public/serve_static.go | 3 |
6 files changed, 6 insertions, 12 deletions
diff --git a/modules/public/mime_types.go b/modules/public/mime_types.go index f8c92e824f..32bdf3bfa2 100644 --- a/modules/public/mime_types.go +++ b/modules/public/mime_types.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 public diff --git a/modules/public/public.go b/modules/public/public.go index ac1d80c860..42026f9b10 100644 --- a/modules/public/public.go +++ b/modules/public/public.go @@ -1,6 +1,5 @@ // Copyright 2016 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 public diff --git a/modules/public/public_bindata.go b/modules/public/public_bindata.go index fe250c6454..4878f88ad1 100644 --- a/modules/public/public_bindata.go +++ b/modules/public/public_bindata.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 //go:build bindata diff --git a/modules/public/public_test.go b/modules/public/public_test.go index 8b58d6af33..5e4bf5d671 100644 --- a/modules/public/public_test.go +++ b/modules/public/public_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 public diff --git a/modules/public/serve_dynamic.go b/modules/public/serve_dynamic.go index 672924a636..cd74ee5743 100644 --- a/modules/public/serve_dynamic.go +++ b/modules/public/serve_dynamic.go @@ -1,6 +1,5 @@ // Copyright 2016 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 !bindata diff --git a/modules/public/serve_static.go b/modules/public/serve_static.go index 10120bf85d..e85ca79253 100644 --- a/modules/public/serve_static.go +++ b/modules/public/serve_static.go @@ -1,6 +1,5 @@ // Copyright 2016 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 bindata |