aboutsummaryrefslogtreecommitdiffstats
path: root/models/packages
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 /models/packages
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 'models/packages')
-rw-r--r--models/packages/conan/references.go3
-rw-r--r--models/packages/conan/search.go3
-rw-r--r--models/packages/container/const.go3
-rw-r--r--models/packages/container/search.go3
-rw-r--r--models/packages/descriptor.go3
-rw-r--r--models/packages/package.go3
-rw-r--r--models/packages/package_blob.go3
-rw-r--r--models/packages/package_blob_upload.go3
-rw-r--r--models/packages/package_file.go3
-rw-r--r--models/packages/package_property.go3
-rw-r--r--models/packages/package_test.go3
-rw-r--r--models/packages/package_version.go3
12 files changed, 12 insertions, 24 deletions
diff --git a/models/packages/conan/references.go b/models/packages/conan/references.go
index e47e689af7..06e828e8fa 100644
--- a/models/packages/conan/references.go
+++ b/models/packages/conan/references.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 conan
diff --git a/models/packages/conan/search.go b/models/packages/conan/search.go
index 39a9000459..ab0bff5968 100644
--- a/models/packages/conan/search.go
+++ b/models/packages/conan/search.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 conan
diff --git a/models/packages/container/const.go b/models/packages/container/const.go
index 9d3ed64a6e..0dfbda051d 100644
--- a/models/packages/container/const.go
+++ b/models/packages/container/const.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 container
diff --git a/models/packages/container/search.go b/models/packages/container/search.go
index e4a5a53848..dfd5e244ba 100644
--- a/models/packages/container/search.go
+++ b/models/packages/container/search.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 container
diff --git a/models/packages/descriptor.go b/models/packages/descriptor.go
index 357574a706..7ffed2d8aa 100644
--- a/models/packages/descriptor.go
+++ b/models/packages/descriptor.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 packages
diff --git a/models/packages/package.go b/models/packages/package.go
index cea04a0957..5c4837d98b 100644
--- a/models/packages/package.go
+++ b/models/packages/package.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 packages
diff --git a/models/packages/package_blob.go b/models/packages/package_blob.go
index fcb71a96ec..36ad745312 100644
--- a/models/packages/package_blob.go
+++ b/models/packages/package_blob.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 packages
diff --git a/models/packages/package_blob_upload.go b/models/packages/package_blob_upload.go
index 635068f1d8..64d1f9d473 100644
--- a/models/packages/package_blob_upload.go
+++ b/models/packages/package_blob_upload.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 packages
diff --git a/models/packages/package_file.go b/models/packages/package_file.go
index 9f6284af07..6d0fd185a0 100644
--- a/models/packages/package_file.go
+++ b/models/packages/package_file.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 packages
diff --git a/models/packages/package_property.go b/models/packages/package_property.go
index fc10713801..1b7f253d56 100644
--- a/models/packages/package_property.go
+++ b/models/packages/package_property.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 packages
diff --git a/models/packages/package_test.go b/models/packages/package_test.go
index 915ef15f91..735688a731 100644
--- a/models/packages/package_test.go
+++ b/models/packages/package_test.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 packages_test
diff --git a/models/packages/package_version.go b/models/packages/package_version.go
index 6ee362502f..a2a8a45d8f 100644
--- a/models/packages/package_version.go
+++ b/models/packages/package_version.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 packages