From e81ccc406bf723a5a58d685e7782f281736affd4 Mon Sep 17 00:00:00 2001 From: flynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com> Date: Sun, 27 Nov 2022 13:20:29 -0500 Subject: Implement FSFE REUSE for golang files (#21840) Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn Co-authored-by: John Olheiser --- modules/public/mime_types.go | 3 +-- modules/public/public.go | 3 +-- modules/public/public_bindata.go | 3 +-- modules/public/public_test.go | 3 +-- modules/public/serve_dynamic.go | 3 +-- modules/public/serve_static.go | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) (limited to 'modules/public') 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 -- cgit v1.2.3