aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-07-19 14:59:17 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-19 14:59:17 +0300
commit092787000d07d48482b42495a2d4a1297b3f306b (patch)
tree167a78fafbd1e257d6445cea9ff750007159c66c /pkg
parentscss: fix CSS warnings (diff)
downloadsoko-092787000d07d48482b42495a2d4a1297b3f306b.tar.gz
soko-092787000d07d48482b42495a2d4a1297b3f306b.tar.bz2
soko-092787000d07d48482b42495a2d4a1297b3f306b.zip
add SPDX license info
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/app/handler/about/feedback.templ1
-rw-r--r--pkg/app/handler/about/feeds.templ1
-rw-r--r--pkg/app/handler/about/help.templ1
-rw-r--r--pkg/app/handler/about/index.templ1
-rw-r--r--pkg/app/handler/about/status.templ1
-rw-r--r--pkg/app/handler/arches/changedVersions.templ1
-rw-r--r--pkg/app/handler/arches/show.go1
-rw-r--r--pkg/app/handler/arches/utils.go1
-rw-r--r--pkg/app/handler/categories/feeds.go1
-rw-r--r--pkg/app/handler/categories/index.go1
-rw-r--r--pkg/app/handler/categories/index.templ1
-rw-r--r--pkg/app/handler/categories/show.go1
-rw-r--r--pkg/app/handler/categories/show.templ1
-rw-r--r--pkg/app/handler/categories/utils.go1
-rw-r--r--pkg/app/handler/feeds/changes.go1
-rw-r--r--pkg/app/handler/feeds/packages.go1
-rw-r--r--pkg/app/handler/index/index.templ1
-rw-r--r--pkg/app/handler/index/utils.go1
-rw-r--r--pkg/app/handler/maintainer/browse.templ1
-rw-r--r--pkg/app/handler/maintainer/show.go1
-rw-r--r--pkg/app/handler/maintainer/show.templ1
-rw-r--r--pkg/app/handler/packages/changed_versions.templ1
-rw-r--r--pkg/app/handler/packages/components/bugs.templ1
-rw-r--r--pkg/app/handler/packages/components/changelog.templ1
-rw-r--r--pkg/app/handler/packages/components/outdated.templ1
-rw-r--r--pkg/app/handler/packages/components/pullrequests.templ1
-rw-r--r--pkg/app/handler/packages/components/stabilization.templ1
-rw-r--r--pkg/app/handler/packages/dependencies.templ1
-rw-r--r--pkg/app/handler/packages/eapi.templ1
-rw-r--r--pkg/app/handler/packages/json.go1
-rw-r--r--pkg/app/handler/packages/overview.templ1
-rw-r--r--pkg/app/handler/packages/qareport.templ1
-rw-r--r--pkg/app/handler/packages/resolve.go1
-rw-r--r--pkg/app/handler/packages/search.go1
-rw-r--r--pkg/app/handler/packages/search.templ1
-rw-r--r--pkg/app/handler/packages/show.go1
-rw-r--r--pkg/app/handler/packages/show.templ1
-rw-r--r--pkg/app/handler/packages/suggest.go1
-rw-r--r--pkg/app/handler/packages/utils.go1
-rw-r--r--pkg/app/handler/useflags/expand.templ1
-rw-r--r--pkg/app/handler/useflags/global.templ1
-rw-r--r--pkg/app/handler/useflags/local.templ1
-rw-r--r--pkg/app/handler/useflags/popular.go1
-rw-r--r--pkg/app/handler/useflags/popular.templ1
-rw-r--r--pkg/app/handler/useflags/search.templ1
-rw-r--r--pkg/app/handler/useflags/show.templ1
-rw-r--r--pkg/app/handler/useflags/suggest.go1
-rw-r--r--pkg/app/handler/useflags/utils.go1
-rw-r--r--pkg/app/layout/page.templ1
-rw-r--r--pkg/app/serve.go1
-rw-r--r--pkg/app/utils/applicationdata.go1
-rw-r--r--pkg/app/utils/bugs.go1
-rw-r--r--pkg/app/utils/changedVersion.templ1
-rw-r--r--pkg/app/utils/outdated.go1
-rw-r--r--pkg/app/utils/stabilization.go1
-rw-r--r--pkg/app/utils/version.go1
-rw-r--r--pkg/config/config.go1
-rw-r--r--pkg/database/connection.go1
-rw-r--r--pkg/metrics/metrics.go1
-rw-r--r--pkg/models/application.go1
-rw-r--r--pkg/models/bug.go1
-rw-r--r--pkg/models/category.go1
-rw-r--r--pkg/models/commit.go1
-rw-r--r--pkg/models/dependencies.go1
-rw-r--r--pkg/models/deprecated.go1
-rw-r--r--pkg/models/github.go1
-rw-r--r--pkg/models/masks.go1
-rw-r--r--pkg/models/outdated.go1
-rw-r--r--pkg/models/package.go1
-rw-r--r--pkg/models/pkgcheckresult.go1
-rw-r--r--pkg/models/projects.go1
-rw-r--r--pkg/models/useflag.go1
-rw-r--r--pkg/models/userpreferences.go1
-rw-r--r--pkg/models/version.go1
-rw-r--r--pkg/models/version_test.go1
-rw-r--r--pkg/portage/anitya/anitya.go1
-rw-r--r--pkg/portage/bugs/bugs.go1
-rw-r--r--pkg/portage/dependencies/dependency.go1
-rw-r--r--pkg/portage/github/pullrequests.go1
-rw-r--r--pkg/portage/maintainers/update.go1
-rw-r--r--pkg/portage/pkgcheck/parse.go1
-rw-r--r--pkg/portage/projects/update.go1
-rw-r--r--pkg/portage/repology/category.go1
-rw-r--r--pkg/portage/repology/outdated.go1
-rw-r--r--pkg/portage/repository/arch.go1
-rw-r--r--pkg/portage/repository/category.go1
-rw-r--r--pkg/portage/repository/commit.go1
-rw-r--r--pkg/portage/repository/deprecated.go1
-rw-r--r--pkg/portage/repository/mask.go1
-rw-r--r--pkg/portage/repository/package.go1
-rw-r--r--pkg/portage/repository/use.go1
-rw-r--r--pkg/portage/repository/version.go1
-rw-r--r--pkg/portage/update.go1
-rw-r--r--pkg/portage/utils/exec.go1
-rw-r--r--pkg/portage/utils/files.go1
-rw-r--r--pkg/portage/utils/git.go1
-rw-r--r--pkg/portage/utils/version.go1
-rw-r--r--pkg/selfcheck/check.go1
-rw-r--r--pkg/selfcheck/metrics/metrics.go1
-rw-r--r--pkg/selfcheck/portage/arch.go1
-rw-r--r--pkg/selfcheck/portage/category.go1
-rw-r--r--pkg/selfcheck/portage/mask.go1
-rw-r--r--pkg/selfcheck/portage/package.go1
-rw-r--r--pkg/selfcheck/portage/use.go1
-rw-r--r--pkg/selfcheck/portage/version.go1
-rw-r--r--pkg/selfcheck/repository/git.go1
-rw-r--r--pkg/selfcheck/repository/update.go1
-rw-r--r--pkg/selfcheck/serve.go1
-rw-r--r--pkg/selfcheck/storage/storage.go1
-rw-r--r--pkg/utils/utils.go1
110 files changed, 110 insertions, 0 deletions
diff --git a/pkg/app/handler/about/feedback.templ b/pkg/app/handler/about/feedback.templ
index 0bf6b2c..103e556 100644
--- a/pkg/app/handler/about/feedback.templ
+++ b/pkg/app/handler/about/feedback.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package about
import (
diff --git a/pkg/app/handler/about/feeds.templ b/pkg/app/handler/about/feeds.templ
index af61c7f..9ffec46 100644
--- a/pkg/app/handler/about/feeds.templ
+++ b/pkg/app/handler/about/feeds.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package about
import (
diff --git a/pkg/app/handler/about/help.templ b/pkg/app/handler/about/help.templ
index e00ef8c..a055452 100644
--- a/pkg/app/handler/about/help.templ
+++ b/pkg/app/handler/about/help.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package about
import (
diff --git a/pkg/app/handler/about/index.templ b/pkg/app/handler/about/index.templ
index aa5130d..1dcb087 100644
--- a/pkg/app/handler/about/index.templ
+++ b/pkg/app/handler/about/index.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package about
import (
diff --git a/pkg/app/handler/about/status.templ b/pkg/app/handler/about/status.templ
index f669ec4..5135304 100644
--- a/pkg/app/handler/about/status.templ
+++ b/pkg/app/handler/about/status.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package about
import (
diff --git a/pkg/app/handler/arches/changedVersions.templ b/pkg/app/handler/arches/changedVersions.templ
index 224076c..74838cd 100644
--- a/pkg/app/handler/arches/changedVersions.templ
+++ b/pkg/app/handler/arches/changedVersions.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package arches
import (
diff --git a/pkg/app/handler/arches/show.go b/pkg/app/handler/arches/show.go
index 40fb048..813efa2 100644
--- a/pkg/app/handler/arches/show.go
+++ b/pkg/app/handler/arches/show.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package arches
import (
diff --git a/pkg/app/handler/arches/utils.go b/pkg/app/handler/arches/utils.go
index 686e3f0..0d0bcd7 100644
--- a/pkg/app/handler/arches/utils.go
+++ b/pkg/app/handler/arches/utils.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// miscellaneous utility functions used for arches
package arches
diff --git a/pkg/app/handler/categories/feeds.go b/pkg/app/handler/categories/feeds.go
index 0ccfdeb..5da3b7a 100644
--- a/pkg/app/handler/categories/feeds.go
+++ b/pkg/app/handler/categories/feeds.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package categories
import (
diff --git a/pkg/app/handler/categories/index.go b/pkg/app/handler/categories/index.go
index 7214942..4d1611a 100644
--- a/pkg/app/handler/categories/index.go
+++ b/pkg/app/handler/categories/index.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Used to show a all categories
package categories
diff --git a/pkg/app/handler/categories/index.templ b/pkg/app/handler/categories/index.templ
index 790be00..98c2b3f 100644
--- a/pkg/app/handler/categories/index.templ
+++ b/pkg/app/handler/categories/index.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package categories
import (
diff --git a/pkg/app/handler/categories/show.go b/pkg/app/handler/categories/show.go
index a7dad6b..f5a2ed2 100644
--- a/pkg/app/handler/categories/show.go
+++ b/pkg/app/handler/categories/show.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Used to show a specific category
package categories
diff --git a/pkg/app/handler/categories/show.templ b/pkg/app/handler/categories/show.templ
index 5065809..afc804e 100644
--- a/pkg/app/handler/categories/show.templ
+++ b/pkg/app/handler/categories/show.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package categories
import (
diff --git a/pkg/app/handler/categories/utils.go b/pkg/app/handler/categories/utils.go
index 84a9f68..2e28264 100644
--- a/pkg/app/handler/categories/utils.go
+++ b/pkg/app/handler/categories/utils.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package categories
import (
diff --git a/pkg/app/handler/feeds/changes.go b/pkg/app/handler/feeds/changes.go
index a4adcfa..125328b 100644
--- a/pkg/app/handler/feeds/changes.go
+++ b/pkg/app/handler/feeds/changes.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package feeds
import (
diff --git a/pkg/app/handler/feeds/packages.go b/pkg/app/handler/feeds/packages.go
index 2186401..f8ac1d3 100644
--- a/pkg/app/handler/feeds/packages.go
+++ b/pkg/app/handler/feeds/packages.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package feeds
import (
diff --git a/pkg/app/handler/index/index.templ b/pkg/app/handler/index/index.templ
index 14b380e..5a5ca96 100644
--- a/pkg/app/handler/index/index.templ
+++ b/pkg/app/handler/index/index.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package index
import (
diff --git a/pkg/app/handler/index/utils.go b/pkg/app/handler/index/utils.go
index 3d92e40..e643149 100644
--- a/pkg/app/handler/index/utils.go
+++ b/pkg/app/handler/index/utils.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// miscellaneous utility functions used for the landing page of the application
package index
diff --git a/pkg/app/handler/maintainer/browse.templ b/pkg/app/handler/maintainer/browse.templ
index 64b2586..6af7ffe 100644
--- a/pkg/app/handler/maintainer/browse.templ
+++ b/pkg/app/handler/maintainer/browse.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package maintainer
import (
diff --git a/pkg/app/handler/maintainer/show.go b/pkg/app/handler/maintainer/show.go
index 1103724..9ff2132 100644
--- a/pkg/app/handler/maintainer/show.go
+++ b/pkg/app/handler/maintainer/show.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package maintainer
import (
diff --git a/pkg/app/handler/maintainer/show.templ b/pkg/app/handler/maintainer/show.templ
index 0061788..c1d72d6 100644
--- a/pkg/app/handler/maintainer/show.templ
+++ b/pkg/app/handler/maintainer/show.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package maintainer
import (
diff --git a/pkg/app/handler/packages/changed_versions.templ b/pkg/app/handler/packages/changed_versions.templ
index 4d2a6c5..dae8fcc 100644
--- a/pkg/app/handler/packages/changed_versions.templ
+++ b/pkg/app/handler/packages/changed_versions.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import (
diff --git a/pkg/app/handler/packages/components/bugs.templ b/pkg/app/handler/packages/components/bugs.templ
index f0ae391..2764a27 100644
--- a/pkg/app/handler/packages/components/bugs.templ
+++ b/pkg/app/handler/packages/components/bugs.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package components
import (
diff --git a/pkg/app/handler/packages/components/changelog.templ b/pkg/app/handler/packages/components/changelog.templ
index 3a1f2b0..673efa4 100644
--- a/pkg/app/handler/packages/components/changelog.templ
+++ b/pkg/app/handler/packages/components/changelog.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package components
import (
diff --git a/pkg/app/handler/packages/components/outdated.templ b/pkg/app/handler/packages/components/outdated.templ
index 30a7ce1..4ad3680 100644
--- a/pkg/app/handler/packages/components/outdated.templ
+++ b/pkg/app/handler/packages/components/outdated.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package components
type OutdatedItem struct {
diff --git a/pkg/app/handler/packages/components/pullrequests.templ b/pkg/app/handler/packages/components/pullrequests.templ
index 29e53ee..6334075 100644
--- a/pkg/app/handler/packages/components/pullrequests.templ
+++ b/pkg/app/handler/packages/components/pullrequests.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package components
import (
diff --git a/pkg/app/handler/packages/components/stabilization.templ b/pkg/app/handler/packages/components/stabilization.templ
index 1bdd1c2..be6788b 100644
--- a/pkg/app/handler/packages/components/stabilization.templ
+++ b/pkg/app/handler/packages/components/stabilization.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package components
import "soko/pkg/models"
diff --git a/pkg/app/handler/packages/dependencies.templ b/pkg/app/handler/packages/dependencies.templ
index ea4e00b..9e85c35 100644
--- a/pkg/app/handler/packages/dependencies.templ
+++ b/pkg/app/handler/packages/dependencies.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import "soko/pkg/models"
diff --git a/pkg/app/handler/packages/eapi.templ b/pkg/app/handler/packages/eapi.templ
index fef1e96..e01322d 100644
--- a/pkg/app/handler/packages/eapi.templ
+++ b/pkg/app/handler/packages/eapi.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import (
diff --git a/pkg/app/handler/packages/json.go b/pkg/app/handler/packages/json.go
index 8621736..057d410 100644
--- a/pkg/app/handler/packages/json.go
+++ b/pkg/app/handler/packages/json.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import (
diff --git a/pkg/app/handler/packages/overview.templ b/pkg/app/handler/packages/overview.templ
index 7237914..bcbe218 100644
--- a/pkg/app/handler/packages/overview.templ
+++ b/pkg/app/handler/packages/overview.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import (
diff --git a/pkg/app/handler/packages/qareport.templ b/pkg/app/handler/packages/qareport.templ
index 619b7f5..6248c83 100644
--- a/pkg/app/handler/packages/qareport.templ
+++ b/pkg/app/handler/packages/qareport.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import "soko/pkg/models"
diff --git a/pkg/app/handler/packages/resolve.go b/pkg/app/handler/packages/resolve.go
index 8939bea..aeb0973 100644
--- a/pkg/app/handler/packages/resolve.go
+++ b/pkg/app/handler/packages/resolve.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import (
diff --git a/pkg/app/handler/packages/search.go b/pkg/app/handler/packages/search.go
index 32c93e5..b061e26 100644
--- a/pkg/app/handler/packages/search.go
+++ b/pkg/app/handler/packages/search.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Used to search for packages
package packages
diff --git a/pkg/app/handler/packages/search.templ b/pkg/app/handler/packages/search.templ
index 19033dd..7289c40 100644
--- a/pkg/app/handler/packages/search.templ
+++ b/pkg/app/handler/packages/search.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import "strconv"
diff --git a/pkg/app/handler/packages/show.go b/pkg/app/handler/packages/show.go
index 6e92b91..7d1a5b8 100644
--- a/pkg/app/handler/packages/show.go
+++ b/pkg/app/handler/packages/show.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Used to show a specific package
package packages
diff --git a/pkg/app/handler/packages/show.templ b/pkg/app/handler/packages/show.templ
index 5abc2a1..e008997 100644
--- a/pkg/app/handler/packages/show.templ
+++ b/pkg/app/handler/packages/show.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package packages
import (
diff --git a/pkg/app/handler/packages/suggest.go b/pkg/app/handler/packages/suggest.go
index 6bfc9b3..4a9b72b 100644
--- a/pkg/app/handler/packages/suggest.go
+++ b/pkg/app/handler/packages/suggest.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Used to create package suggestions
package packages
diff --git a/pkg/app/handler/packages/utils.go b/pkg/app/handler/packages/utils.go
index 423f937..131d1b1 100644
--- a/pkg/app/handler/packages/utils.go
+++ b/pkg/app/handler/packages/utils.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// miscellaneous utility functions used for packages
package packages
diff --git a/pkg/app/handler/useflags/expand.templ b/pkg/app/handler/useflags/expand.templ
index 0b7a8df..f72d780 100644
--- a/pkg/app/handler/useflags/expand.templ
+++ b/pkg/app/handler/useflags/expand.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import (
diff --git a/pkg/app/handler/useflags/global.templ b/pkg/app/handler/useflags/global.templ
index 0289dbb..fb0824b 100644
--- a/pkg/app/handler/useflags/global.templ
+++ b/pkg/app/handler/useflags/global.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import (
diff --git a/pkg/app/handler/useflags/local.templ b/pkg/app/handler/useflags/local.templ
index 138b493..aabd65b 100644
--- a/pkg/app/handler/useflags/local.templ
+++ b/pkg/app/handler/useflags/local.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import (
diff --git a/pkg/app/handler/useflags/popular.go b/pkg/app/handler/useflags/popular.go
index 7443bd1..aa991b8 100644
--- a/pkg/app/handler/useflags/popular.go
+++ b/pkg/app/handler/useflags/popular.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// USE to show popular USE flags
package useflags
diff --git a/pkg/app/handler/useflags/popular.templ b/pkg/app/handler/useflags/popular.templ
index 716a73a..262ea08 100644
--- a/pkg/app/handler/useflags/popular.templ
+++ b/pkg/app/handler/useflags/popular.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import "net/http"
diff --git a/pkg/app/handler/useflags/search.templ b/pkg/app/handler/useflags/search.templ
index d989f91..e8a71bb 100644
--- a/pkg/app/handler/useflags/search.templ
+++ b/pkg/app/handler/useflags/search.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import (
diff --git a/pkg/app/handler/useflags/show.templ b/pkg/app/handler/useflags/show.templ
index ab1c861..9ec7da6 100644
--- a/pkg/app/handler/useflags/show.templ
+++ b/pkg/app/handler/useflags/show.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import (
diff --git a/pkg/app/handler/useflags/suggest.go b/pkg/app/handler/useflags/suggest.go
index 2093a3b..3e7a6af 100644
--- a/pkg/app/handler/useflags/suggest.go
+++ b/pkg/app/handler/useflags/suggest.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Used to create USE flag suggestions
package useflags
diff --git a/pkg/app/handler/useflags/utils.go b/pkg/app/handler/useflags/utils.go
index 51225d2..ed2d1d9 100644
--- a/pkg/app/handler/useflags/utils.go
+++ b/pkg/app/handler/useflags/utils.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package useflags
import (
diff --git a/pkg/app/layout/page.templ b/pkg/app/layout/page.templ
index b8dff92..dbc4a09 100644
--- a/pkg/app/layout/page.templ
+++ b/pkg/app/layout/page.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package layout
import "soko/pkg/config"
diff --git a/pkg/app/serve.go b/pkg/app/serve.go
index 48974fa..a263781 100644
--- a/pkg/app/serve.go
+++ b/pkg/app/serve.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Entrypoint for the web application
package app
diff --git a/pkg/app/utils/applicationdata.go b/pkg/app/utils/applicationdata.go
index db27f63..b5b71c6 100644
--- a/pkg/app/utils/applicationdata.go
+++ b/pkg/app/utils/applicationdata.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains miscellaneous utility functions
package utils
diff --git a/pkg/app/utils/bugs.go b/pkg/app/utils/bugs.go
index a49f21d..064d7a6 100644
--- a/pkg/app/utils/bugs.go
+++ b/pkg/app/utils/bugs.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import (
diff --git a/pkg/app/utils/changedVersion.templ b/pkg/app/utils/changedVersion.templ
index 80cee68..eaed1e0 100644
--- a/pkg/app/utils/changedVersion.templ
+++ b/pkg/app/utils/changedVersion.templ
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import (
diff --git a/pkg/app/utils/outdated.go b/pkg/app/utils/outdated.go
index 317c82b..72fb586 100644
--- a/pkg/app/utils/outdated.go
+++ b/pkg/app/utils/outdated.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import (
diff --git a/pkg/app/utils/stabilization.go b/pkg/app/utils/stabilization.go
index 8757440..7b2a699 100644
--- a/pkg/app/utils/stabilization.go
+++ b/pkg/app/utils/stabilization.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import (
diff --git a/pkg/app/utils/version.go b/pkg/app/utils/version.go
index 5609404..fec094c 100644
--- a/pkg/app/utils/version.go
+++ b/pkg/app/utils/version.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import (
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 3bd651f..c5775c8 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package config
import (
diff --git a/pkg/database/connection.go b/pkg/database/connection.go
index 77a6b50..c69fd99 100644
--- a/pkg/database/connection.go
+++ b/pkg/database/connection.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains utility functions around the database
package database
diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go
index 2d6a878..39c274b 100644
--- a/pkg/metrics/metrics.go
+++ b/pkg/metrics/metrics.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package metrics
import (
diff --git a/pkg/models/application.go b/pkg/models/application.go
index 96d3b45..1238fd0 100644
--- a/pkg/models/application.go
+++ b/pkg/models/application.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of the application data
package models
diff --git a/pkg/models/bug.go b/pkg/models/bug.go
index 1329631..71b9655 100644
--- a/pkg/models/bug.go
+++ b/pkg/models/bug.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package models
type BugComponent string
diff --git a/pkg/models/category.go b/pkg/models/category.go
index fcf13b0..5126da3 100644
--- a/pkg/models/category.go
+++ b/pkg/models/category.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a category
package models
diff --git a/pkg/models/commit.go b/pkg/models/commit.go
index 7e6cd07..e5fffe6 100644
--- a/pkg/models/commit.go
+++ b/pkg/models/commit.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a commit
package models
diff --git a/pkg/models/dependencies.go b/pkg/models/dependencies.go
index 0fe44f2..2447da1 100644
--- a/pkg/models/dependencies.go
+++ b/pkg/models/dependencies.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package models
type ReverseDependency struct {
diff --git a/pkg/models/deprecated.go b/pkg/models/deprecated.go
index 1c1b1cb..825360d 100644
--- a/pkg/models/deprecated.go
+++ b/pkg/models/deprecated.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a package deprecated entry
package models
diff --git a/pkg/models/github.go b/pkg/models/github.go
index aca52e9..90c6937 100644
--- a/pkg/models/github.go
+++ b/pkg/models/github.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package models
import (
diff --git a/pkg/models/masks.go b/pkg/models/masks.go
index 623d282..e421c57 100644
--- a/pkg/models/masks.go
+++ b/pkg/models/masks.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a package mask entry
package models
diff --git a/pkg/models/outdated.go b/pkg/models/outdated.go
index e65fcb4..8351912 100644
--- a/pkg/models/outdated.go
+++ b/pkg/models/outdated.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a package
package models
diff --git a/pkg/models/package.go b/pkg/models/package.go
index 659dcd8..e0a1ce3 100644
--- a/pkg/models/package.go
+++ b/pkg/models/package.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a package
package models
diff --git a/pkg/models/pkgcheckresult.go b/pkg/models/pkgcheckresult.go
index e0b98f2..0624cc7 100644
--- a/pkg/models/pkgcheckresult.go
+++ b/pkg/models/pkgcheckresult.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a pkgcheckresults
package models
diff --git a/pkg/models/projects.go b/pkg/models/projects.go
index 23a075a..b511a63 100644
--- a/pkg/models/projects.go
+++ b/pkg/models/projects.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package models
import "encoding/xml"
diff --git a/pkg/models/useflag.go b/pkg/models/useflag.go
index 98cffa7..ad04e09 100644
--- a/pkg/models/useflag.go
+++ b/pkg/models/useflag.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a USE flag
package models
diff --git a/pkg/models/userpreferences.go b/pkg/models/userpreferences.go
index 5426659..22d9aba 100644
--- a/pkg/models/userpreferences.go
+++ b/pkg/models/userpreferences.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package models
var ArchesToShow = [...]string{"amd64", "x86", "alpha", "arm", "arm64", "hppa", "ia64", "ppc", "ppc64", "riscv", "sparc"}
diff --git a/pkg/models/version.go b/pkg/models/version.go
index f36eb52..42e5c6b 100644
--- a/pkg/models/version.go
+++ b/pkg/models/version.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a package version
package models
diff --git a/pkg/models/version_test.go b/pkg/models/version_test.go
index 29b8570..da2e3bf 100644
--- a/pkg/models/version_test.go
+++ b/pkg/models/version_test.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package models
import (
diff --git a/pkg/portage/anitya/anitya.go b/pkg/portage/anitya/anitya.go
index 9a73aae..d1bcdf2 100644
--- a/pkg/portage/anitya/anitya.go
+++ b/pkg/portage/anitya/anitya.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package anitya
import (
diff --git a/pkg/portage/bugs/bugs.go b/pkg/portage/bugs/bugs.go
index a561f48..c9b4a07 100644
--- a/pkg/portage/bugs/bugs.go
+++ b/pkg/portage/bugs/bugs.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package bugs
import (
diff --git a/pkg/portage/dependencies/dependency.go b/pkg/portage/dependencies/dependency.go
index e6e4358..28f81cb 100644
--- a/pkg/portage/dependencies/dependency.go
+++ b/pkg/portage/dependencies/dependency.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package dependencies
import (
diff --git a/pkg/portage/github/pullrequests.go b/pkg/portage/github/pullrequests.go
index 9399a06..5470ac5 100644
--- a/pkg/portage/github/pullrequests.go
+++ b/pkg/portage/github/pullrequests.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package github
import (
diff --git a/pkg/portage/maintainers/update.go b/pkg/portage/maintainers/update.go
index 297bf14..cab451d 100644
--- a/pkg/portage/maintainers/update.go
+++ b/pkg/portage/maintainers/update.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package maintainers
import (
diff --git a/pkg/portage/pkgcheck/parse.go b/pkg/portage/pkgcheck/parse.go
index 6eab781..5d249a3 100644
--- a/pkg/portage/pkgcheck/parse.go
+++ b/pkg/portage/pkgcheck/parse.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package pkgcheck
import (
diff --git a/pkg/portage/projects/update.go b/pkg/portage/projects/update.go
index d463862..d359008 100644
--- a/pkg/portage/projects/update.go
+++ b/pkg/portage/projects/update.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package projects
import (
diff --git a/pkg/portage/repology/category.go b/pkg/portage/repology/category.go
index 41efe57..eadb92b 100644
--- a/pkg/portage/repology/category.go
+++ b/pkg/portage/repology/category.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package repology
import (
diff --git a/pkg/portage/repology/outdated.go b/pkg/portage/repology/outdated.go
index f49129a..4237072 100644
--- a/pkg/portage/repology/outdated.go
+++ b/pkg/portage/repology/outdated.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package repology
import (
diff --git a/pkg/portage/repository/arch.go b/pkg/portage/repository/arch.go
index 3387f7e..b3641c8 100644
--- a/pkg/portage/repository/arch.go
+++ b/pkg/portage/repository/arch.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import the list of arches into the database
package repository
diff --git a/pkg/portage/repository/category.go b/pkg/portage/repository/category.go
index b0dfe18..82bfe5e 100644
--- a/pkg/portage/repository/category.go
+++ b/pkg/portage/repository/category.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import categories into the database
package repository
diff --git a/pkg/portage/repository/commit.go b/pkg/portage/repository/commit.go
index 17a3371..b55c6a6 100644
--- a/pkg/portage/repository/commit.go
+++ b/pkg/portage/repository/commit.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to parse, import and process commits
package repository
diff --git a/pkg/portage/repository/deprecated.go b/pkg/portage/repository/deprecated.go
index ddc80a1..c2297ae 100644
--- a/pkg/portage/repository/deprecated.go
+++ b/pkg/portage/repository/deprecated.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import package deprecated entries into the database
//
// Example
diff --git a/pkg/portage/repository/mask.go b/pkg/portage/repository/mask.go
index eddf8ec..edce2ed 100644
--- a/pkg/portage/repository/mask.go
+++ b/pkg/portage/repository/mask.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import package mask entries into the database
//
// Example
diff --git a/pkg/portage/repository/package.go b/pkg/portage/repository/package.go
index 09c060e..a84c2e1 100644
--- a/pkg/portage/repository/package.go
+++ b/pkg/portage/repository/package.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import packages into the database
package repository
diff --git a/pkg/portage/repository/use.go b/pkg/portage/repository/use.go
index a05e589..df7bf0e 100644
--- a/pkg/portage/repository/use.go
+++ b/pkg/portage/repository/use.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import USE flags into the database
package repository
diff --git a/pkg/portage/repository/version.go b/pkg/portage/repository/version.go
index 178a9d2..7a9c57e 100644
--- a/pkg/portage/repository/version.go
+++ b/pkg/portage/repository/version.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import package versions into the database
package repository
diff --git a/pkg/portage/update.go b/pkg/portage/update.go
index 8ad9187..39d81b2 100644
--- a/pkg/portage/update.go
+++ b/pkg/portage/update.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Update the portage data in the database
package portage
diff --git a/pkg/portage/utils/exec.go b/pkg/portage/utils/exec.go
index 421710c..ad2355c 100644
--- a/pkg/portage/utils/exec.go
+++ b/pkg/portage/utils/exec.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains utility functions to execute commands and parse the output
package utils
diff --git a/pkg/portage/utils/files.go b/pkg/portage/utils/files.go
index a0d0065..0b64eaa 100644
--- a/pkg/portage/utils/files.go
+++ b/pkg/portage/utils/files.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains utility functions to read the content of files
package utils
diff --git a/pkg/portage/utils/git.go b/pkg/portage/utils/git.go
index c576105..1a30cfb 100644
--- a/pkg/portage/utils/git.go
+++ b/pkg/portage/utils/git.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains utility functions to parse the output of git commands
package utils
diff --git a/pkg/portage/utils/version.go b/pkg/portage/utils/version.go
index 942bd53..976c732 100644
--- a/pkg/portage/utils/version.go
+++ b/pkg/portage/utils/version.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import (
diff --git a/pkg/selfcheck/check.go b/pkg/selfcheck/check.go
index 6d02548..8e80044 100644
--- a/pkg/selfcheck/check.go
+++ b/pkg/selfcheck/check.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package selfcheck
import (
diff --git a/pkg/selfcheck/metrics/metrics.go b/pkg/selfcheck/metrics/metrics.go
index e5c894e..2400ed8 100644
--- a/pkg/selfcheck/metrics/metrics.go
+++ b/pkg/selfcheck/metrics/metrics.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package metrics
import (
diff --git a/pkg/selfcheck/portage/arch.go b/pkg/selfcheck/portage/arch.go
index 3387f7e..b3641c8 100644
--- a/pkg/selfcheck/portage/arch.go
+++ b/pkg/selfcheck/portage/arch.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import the list of arches into the database
package repository
diff --git a/pkg/selfcheck/portage/category.go b/pkg/selfcheck/portage/category.go
index c9b49db..7115992 100644
--- a/pkg/selfcheck/portage/category.go
+++ b/pkg/selfcheck/portage/category.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import categories into the database
package repository
diff --git a/pkg/selfcheck/portage/mask.go b/pkg/selfcheck/portage/mask.go
index 1d8fc53..ae12ed3 100644
--- a/pkg/selfcheck/portage/mask.go
+++ b/pkg/selfcheck/portage/mask.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import package mask entries into the database
//
// Example
diff --git a/pkg/selfcheck/portage/package.go b/pkg/selfcheck/portage/package.go
index ad011ff..3f9cb7e 100644
--- a/pkg/selfcheck/portage/package.go
+++ b/pkg/selfcheck/portage/package.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import packages into the database
package repository
diff --git a/pkg/selfcheck/portage/use.go b/pkg/selfcheck/portage/use.go
index 21ea283..d5ad4f1 100644
--- a/pkg/selfcheck/portage/use.go
+++ b/pkg/selfcheck/portage/use.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import USE flags into the database
package repository
diff --git a/pkg/selfcheck/portage/version.go b/pkg/selfcheck/portage/version.go
index f71612f..05ddc0b 100644
--- a/pkg/selfcheck/portage/version.go
+++ b/pkg/selfcheck/portage/version.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains functions to import package versions into the database
package repository
diff --git a/pkg/selfcheck/repository/git.go b/pkg/selfcheck/repository/git.go
index a68cf63..c5ac042 100644
--- a/pkg/selfcheck/repository/git.go
+++ b/pkg/selfcheck/repository/git.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains utility functions to parse the output of git commands
package repository
diff --git a/pkg/selfcheck/repository/update.go b/pkg/selfcheck/repository/update.go
index 6995a98..81ce72f 100644
--- a/pkg/selfcheck/repository/update.go
+++ b/pkg/selfcheck/repository/update.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Update the portage data in the database
package repository
diff --git a/pkg/selfcheck/serve.go b/pkg/selfcheck/serve.go
index 7d5498b..1c22961 100644
--- a/pkg/selfcheck/serve.go
+++ b/pkg/selfcheck/serve.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package selfcheck
import (
diff --git a/pkg/selfcheck/storage/storage.go b/pkg/selfcheck/storage/storage.go
index fdd1235..7d0538f 100644
--- a/pkg/selfcheck/storage/storage.go
+++ b/pkg/selfcheck/storage/storage.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
// Contains utility functions to execute commands and parse the output
package storage
diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go
index d9d9641..51e3b6c 100644
--- a/pkg/utils/utils.go
+++ b/pkg/utils/utils.go
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
package utils
import "sort"