summaryrefslogtreecommitdiffstats
path: root/modules/queue
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/queue
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/queue')
-rw-r--r--modules/queue/bytefifo.go3
-rw-r--r--modules/queue/helper.go3
-rw-r--r--modules/queue/manager.go3
-rw-r--r--modules/queue/queue.go3
-rw-r--r--modules/queue/queue_bytefifo.go3
-rw-r--r--modules/queue/queue_channel.go3
-rw-r--r--modules/queue/queue_channel_test.go3
-rw-r--r--modules/queue/queue_disk.go3
-rw-r--r--modules/queue/queue_disk_channel.go3
-rw-r--r--modules/queue/queue_disk_channel_test.go3
-rw-r--r--modules/queue/queue_disk_test.go3
-rw-r--r--modules/queue/queue_redis.go3
-rw-r--r--modules/queue/queue_test.go3
-rw-r--r--modules/queue/queue_wrapped.go3
-rw-r--r--modules/queue/setting.go3
-rw-r--r--modules/queue/unique_queue.go3
-rw-r--r--modules/queue/unique_queue_channel.go3
-rw-r--r--modules/queue/unique_queue_channel_test.go3
-rw-r--r--modules/queue/unique_queue_disk.go3
-rw-r--r--modules/queue/unique_queue_disk_channel.go3
-rw-r--r--modules/queue/unique_queue_redis.go3
-rw-r--r--modules/queue/unique_queue_wrapped.go3
-rw-r--r--modules/queue/workerpool.go3
23 files changed, 23 insertions, 46 deletions
diff --git a/modules/queue/bytefifo.go b/modules/queue/bytefifo.go
index bb98d468fb..c33b79426e 100644
--- a/modules/queue/bytefifo.go
+++ b/modules/queue/bytefifo.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 queue
diff --git a/modules/queue/helper.go b/modules/queue/helper.go
index 9ad95badeb..c6fb9447b7 100644
--- a/modules/queue/helper.go
+++ b/modules/queue/helper.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 queue
diff --git a/modules/queue/manager.go b/modules/queue/manager.go
index bba2c54ad2..6975e02907 100644
--- a/modules/queue/manager.go
+++ b/modules/queue/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 queue
diff --git a/modules/queue/queue.go b/modules/queue/queue.go
index a166a935a6..22ee64f8e2 100644
--- a/modules/queue/queue.go
+++ b/modules/queue/queue.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 queue
diff --git a/modules/queue/queue_bytefifo.go b/modules/queue/queue_bytefifo.go
index 79f69f07ce..ee00a5428a 100644
--- a/modules/queue/queue_bytefifo.go
+++ b/modules/queue/queue_bytefifo.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 queue
diff --git a/modules/queue/queue_channel.go b/modules/queue/queue_channel.go
index 028023d500..431f48390c 100644
--- a/modules/queue/queue_channel.go
+++ b/modules/queue/queue_channel.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 queue
diff --git a/modules/queue/queue_channel_test.go b/modules/queue/queue_channel_test.go
index 949c452893..9b92398bac 100644
--- a/modules/queue/queue_channel_test.go
+++ b/modules/queue/queue_channel_test.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 queue
diff --git a/modules/queue/queue_disk.go b/modules/queue/queue_disk.go
index 2691ab02f5..fbedb8e5b9 100644
--- a/modules/queue/queue_disk.go
+++ b/modules/queue/queue_disk.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 queue
diff --git a/modules/queue/queue_disk_channel.go b/modules/queue/queue_disk_channel.go
index c00f620276..c7526714c6 100644
--- a/modules/queue/queue_disk_channel.go
+++ b/modules/queue/queue_disk_channel.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 queue
diff --git a/modules/queue/queue_disk_channel_test.go b/modules/queue/queue_disk_channel_test.go
index b1820e73ac..318610355e 100644
--- a/modules/queue/queue_disk_channel_test.go
+++ b/modules/queue/queue_disk_channel_test.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 queue
diff --git a/modules/queue/queue_disk_test.go b/modules/queue/queue_disk_test.go
index b0835c896f..8f83abf42c 100644
--- a/modules/queue/queue_disk_test.go
+++ b/modules/queue/queue_disk_test.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 queue
diff --git a/modules/queue/queue_redis.go b/modules/queue/queue_redis.go
index 84ab235d5e..039e95241c 100644
--- a/modules/queue/queue_redis.go
+++ b/modules/queue/queue_redis.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 queue
diff --git a/modules/queue/queue_test.go b/modules/queue/queue_test.go
index 65fb816537..42d34c806c 100644
--- a/modules/queue/queue_test.go
+++ b/modules/queue/queue_test.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 queue
diff --git a/modules/queue/queue_wrapped.go b/modules/queue/queue_wrapped.go
index e581ba75f3..84d6dd98a5 100644
--- a/modules/queue/queue_wrapped.go
+++ b/modules/queue/queue_wrapped.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 queue
diff --git a/modules/queue/setting.go b/modules/queue/setting.go
index 880770f073..1e5259fcfb 100644
--- a/modules/queue/setting.go
+++ b/modules/queue/setting.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 queue
diff --git a/modules/queue/unique_queue.go b/modules/queue/unique_queue.go
index 87e0594ecf..8f8215c71d 100644
--- a/modules/queue/unique_queue.go
+++ b/modules/queue/unique_queue.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 queue
diff --git a/modules/queue/unique_queue_channel.go b/modules/queue/unique_queue_channel.go
index d1bf7239eb..f2d3dbdc97 100644
--- a/modules/queue/unique_queue_channel.go
+++ b/modules/queue/unique_queue_channel.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 queue
diff --git a/modules/queue/unique_queue_channel_test.go b/modules/queue/unique_queue_channel_test.go
index 6daf3fc96e..9372694b87 100644
--- a/modules/queue/unique_queue_channel_test.go
+++ b/modules/queue/unique_queue_channel_test.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 queue
diff --git a/modules/queue/unique_queue_disk.go b/modules/queue/unique_queue_disk.go
index dae32f75a8..406f64784c 100644
--- a/modules/queue/unique_queue_disk.go
+++ b/modules/queue/unique_queue_disk.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 queue
diff --git a/modules/queue/unique_queue_disk_channel.go b/modules/queue/unique_queue_disk_channel.go
index 8e0322bb90..405726182d 100644
--- a/modules/queue/unique_queue_disk_channel.go
+++ b/modules/queue/unique_queue_disk_channel.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 queue
diff --git a/modules/queue/unique_queue_redis.go b/modules/queue/unique_queue_redis.go
index 477d5dd81f..491ae5d15e 100644
--- a/modules/queue/unique_queue_redis.go
+++ b/modules/queue/unique_queue_redis.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 queue
diff --git a/modules/queue/unique_queue_wrapped.go b/modules/queue/unique_queue_wrapped.go
index 5245a35f77..22eeb75c40 100644
--- a/modules/queue/unique_queue_wrapped.go
+++ b/modules/queue/unique_queue_wrapped.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 queue
diff --git a/modules/queue/workerpool.go b/modules/queue/workerpool.go
index bdf04a363b..244927880e 100644
--- a/modules/queue/workerpool.go
+++ b/modules/queue/workerpool.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 queue