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/graceful | |
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/graceful')
-rw-r--r-- | modules/graceful/context.go | 3 | ||||
-rw-r--r-- | modules/graceful/manager.go | 3 | ||||
-rw-r--r-- | modules/graceful/manager_unix.go | 3 | ||||
-rw-r--r-- | modules/graceful/manager_windows.go | 3 | ||||
-rw-r--r-- | modules/graceful/net_unix.go | 4 | ||||
-rw-r--r-- | modules/graceful/net_windows.go | 4 | ||||
-rw-r--r-- | modules/graceful/restart_unix.go | 4 | ||||
-rw-r--r-- | modules/graceful/server.go | 4 | ||||
-rw-r--r-- | modules/graceful/server_hooks.go | 3 | ||||
-rw-r--r-- | modules/graceful/server_http.go | 3 |
10 files changed, 14 insertions, 20 deletions
diff --git a/modules/graceful/context.go b/modules/graceful/context.go index b9d975a1d5..6b5b207ff3 100644 --- a/modules/graceful/context.go +++ b/modules/graceful/context.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 graceful diff --git a/modules/graceful/manager.go b/modules/graceful/manager.go index 21f019fb56..c7b4c101ef 100644 --- a/modules/graceful/manager.go +++ b/modules/graceful/manager.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 graceful diff --git a/modules/graceful/manager_unix.go b/modules/graceful/manager_unix.go index ba1dbd38f6..ca6ccc1b66 100644 --- a/modules/graceful/manager_unix.go +++ b/modules/graceful/manager_unix.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 //go:build !windows diff --git a/modules/graceful/manager_windows.go b/modules/graceful/manager_windows.go index 10c1d67b97..212ddf437c 100644 --- a/modules/graceful/manager_windows.go +++ b/modules/graceful/manager_windows.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 // This code is heavily inspired by the archived gofacebook/gracenet/net.go handler //go:build windows diff --git a/modules/graceful/net_unix.go b/modules/graceful/net_unix.go index 0bb589e231..a2620d2c80 100644 --- a/modules/graceful/net_unix.go +++ b/modules/graceful/net_unix.go @@ -1,6 +1,6 @@ // 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 + // This code is heavily inspired by the archived gofacebook/gracenet/net.go handler //go:build !windows diff --git a/modules/graceful/net_windows.go b/modules/graceful/net_windows.go index 07ae51b8dd..a2f58e224a 100644 --- a/modules/graceful/net_windows.go +++ b/modules/graceful/net_windows.go @@ -1,6 +1,6 @@ // 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 + // This code is heavily inspired by the archived gofacebook/gracenet/net.go handler //go:build windows diff --git a/modules/graceful/restart_unix.go b/modules/graceful/restart_unix.go index 1d0d1059e9..406fe6c8af 100644 --- a/modules/graceful/restart_unix.go +++ b/modules/graceful/restart_unix.go @@ -1,6 +1,6 @@ // 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 + // This code is heavily inspired by the archived gofacebook/gracenet/net.go handler //go:build !windows diff --git a/modules/graceful/server.go b/modules/graceful/server.go index 30a460a943..e42d35cd49 100644 --- a/modules/graceful/server.go +++ b/modules/graceful/server.go @@ -1,6 +1,6 @@ // 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 + // This code is highly inspired by endless go package graceful diff --git a/modules/graceful/server_hooks.go b/modules/graceful/server_hooks.go index c634905711..9b67589571 100644 --- a/modules/graceful/server_hooks.go +++ b/modules/graceful/server_hooks.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 graceful diff --git a/modules/graceful/server_http.go b/modules/graceful/server_http.go index 8ab2bdf41f..a1f8e0ff52 100644 --- a/modules/graceful/server_http.go +++ b/modules/graceful/server_http.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 graceful |