summaryrefslogtreecommitdiffstats
path: root/modules/process
diff options
context:
space:
mode:
authorflynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com>2022-11-27 13:20:29 -0500
committerGitHub <noreply@github.com>2022-11-27 18:20:29 +0000
commite81ccc406bf723a5a58d685e7782f281736affd4 (patch)
treebc9812f3f1779f8ce86b8f915d08aafd02e944b9 /modules/process
parentf6fd501841816f5e5c1c9a30fbc4c9a2a6f987bc (diff)
downloadgitea-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/process')
-rw-r--r--modules/process/context.go3
-rw-r--r--modules/process/error.go3
-rw-r--r--modules/process/manager.go3
-rw-r--r--modules/process/manager_exec.go3
-rw-r--r--modules/process/manager_stacktraces.go3
-rw-r--r--modules/process/manager_test.go3
-rw-r--r--modules/process/manager_unix.go3
-rw-r--r--modules/process/manager_windows.go3
-rw-r--r--modules/process/process.go3
9 files changed, 9 insertions, 18 deletions
diff --git a/modules/process/context.go b/modules/process/context.go
index 6df5bc1513..f1bc582ff0 100644
--- a/modules/process/context.go
+++ b/modules/process/context.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 process
diff --git a/modules/process/error.go b/modules/process/error.go
index 7a72bda40e..8f02f65258 100644
--- a/modules/process/error.go
+++ b/modules/process/error.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 process
diff --git a/modules/process/manager.go b/modules/process/manager.go
index 7f14287de5..1272510067 100644
--- a/modules/process/manager.go
+++ b/modules/process/manager.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// 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 process
diff --git a/modules/process/manager_exec.go b/modules/process/manager_exec.go
index 77e3d3193a..c983173748 100644
--- a/modules/process/manager_exec.go
+++ b/modules/process/manager_exec.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 process
diff --git a/modules/process/manager_stacktraces.go b/modules/process/manager_stacktraces.go
index 628d9cebcd..49bd5071f6 100644
--- a/modules/process/manager_stacktraces.go
+++ b/modules/process/manager_stacktraces.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 process
diff --git a/modules/process/manager_test.go b/modules/process/manager_test.go
index 30eabeb37a..527072713f 100644
--- a/modules/process/manager_test.go
+++ b/modules/process/manager_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 process
diff --git a/modules/process/manager_unix.go b/modules/process/manager_unix.go
index 1e7c77fdbf..c5be906b35 100644
--- a/modules/process/manager_unix.go
+++ b/modules/process/manager_unix.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
//go:build !windows
diff --git a/modules/process/manager_windows.go b/modules/process/manager_windows.go
index 35f66d9fa5..44a84f2203 100644
--- a/modules/process/manager_windows.go
+++ b/modules/process/manager_windows.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
//go:build windows
diff --git a/modules/process/process.go b/modules/process/process.go
index 2f7ea18373..06a28c4a60 100644
--- a/modules/process/process.go
+++ b/modules/process/process.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 process