From c2b875db6caa7a36c1caf98c4e2916d43f450331 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Wed, 20 Sep 2023 15:38:22 -0700 Subject: [PATCH] Update and add GPL headers --- build.go | 2 +- cmd/lure-api-server/api.go | 2 +- cmd/lure-api-server/main.go | 2 +- cmd/lure-api-server/webhook.go | 2 +- distro/osrelease.go | 2 +- fix.go | 2 +- info.go | 2 +- install.go | 2 +- internal/api/gen.go | 2 +- internal/build/build.go | 20 +++++++++++++++++++- internal/build/install.go | 20 +++++++++++++++++++- internal/cliutils/prompt.go | 2 +- internal/config/config.go | 2 +- internal/config/dirs.go | 2 +- internal/config/lang.go | 2 +- internal/config/version.go | 2 +- internal/cpu/cpu.go | 2 +- internal/db/db.go | 2 +- internal/db/db_test.go | 2 +- internal/dl/dl.go | 2 +- internal/dl/file.go | 2 +- internal/dl/git.go | 2 +- internal/dlcache/dlcache.go | 2 +- internal/dlcache/dlcache_test.go | 2 +- internal/log/log.go | 18 ++++++++++++++++++ internal/osutils/move.go | 18 ++++++++++++++++++ internal/overrides/overrides.go | 2 +- internal/overrides/overrides_test.go | 2 +- internal/pager/highlighting.go | 2 +- internal/pager/pager.go | 2 +- internal/repos/find.go | 2 +- internal/repos/find_test.go | 2 +- internal/repos/pull.go | 2 +- internal/repos/pull_test.go | 2 +- internal/shutils/decoder/decoder.go | 2 +- internal/shutils/decoder/decoder_test.go | 2 +- internal/shutils/exec.go | 2 +- internal/shutils/exec_test.go | 2 +- internal/shutils/helpers/helpers.go | 2 +- internal/shutils/nop.go | 2 +- internal/shutils/nop_test.go | 2 +- internal/shutils/restricted.go | 2 +- internal/translations/translations.go | 18 ++++++++++++++++++ internal/types/build.go | 18 ++++++++++++++++++ internal/types/config.go | 2 +- internal/types/repo.go | 2 +- list.go | 2 +- main.go | 2 +- manager/apk.go | 2 +- manager/apt.go | 2 +- manager/dnf.go | 2 +- manager/managers.go | 2 +- manager/pacman.go | 2 +- manager/yum.go | 2 +- manager/zypper.go | 2 +- repo.go | 2 +- scripts/install.sh | 16 ++++++++++++++++ upgrade.go | 4 ++-- 58 files changed, 178 insertions(+), 54 deletions(-) diff --git a/build.go b/build.go index 5ff1aa6..6db280a 100644 --- a/build.go +++ b/build.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/cmd/lure-api-server/api.go b/cmd/lure-api-server/api.go index 801a521..ca20afa 100644 --- a/cmd/lure-api-server/api.go +++ b/cmd/lure-api-server/api.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/cmd/lure-api-server/main.go b/cmd/lure-api-server/main.go index dc9e11a..13e7dee 100644 --- a/cmd/lure-api-server/main.go +++ b/cmd/lure-api-server/main.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/cmd/lure-api-server/webhook.go b/cmd/lure-api-server/webhook.go index bb19a59..9c8199c 100644 --- a/cmd/lure-api-server/webhook.go +++ b/cmd/lure-api-server/webhook.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/distro/osrelease.go b/distro/osrelease.go index 5149a0a..943942f 100644 --- a/distro/osrelease.go +++ b/distro/osrelease.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/fix.go b/fix.go index 249c2bc..84dff20 100644 --- a/fix.go +++ b/fix.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/info.go b/info.go index 02a1f0e..4012fe3 100644 --- a/info.go +++ b/info.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/install.go b/install.go index 578e142..8ae3f5e 100644 --- a/install.go +++ b/install.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/api/gen.go b/internal/api/gen.go index 460f237..00575f5 100644 --- a/internal/api/gen.go +++ b/internal/api/gen.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/build/build.go b/internal/build/build.go index 7ec5007..ca24bbf 100644 --- a/internal/build/build.go +++ b/internal/build/build.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2023 Elara Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package build import ( @@ -20,13 +38,13 @@ import ( "github.com/goreleaser/nfpm/v2" "github.com/goreleaser/nfpm/v2/files" - "go.elara.ws/lure/internal/log" "go.elara.ws/lure/distro" "go.elara.ws/lure/internal/cliutils" "go.elara.ws/lure/internal/config" "go.elara.ws/lure/internal/cpu" "go.elara.ws/lure/internal/db" "go.elara.ws/lure/internal/dl" + "go.elara.ws/lure/internal/log" "go.elara.ws/lure/internal/repos" "go.elara.ws/lure/internal/shutils" "go.elara.ws/lure/internal/shutils/decoder" diff --git a/internal/build/install.go b/internal/build/install.go index ce6bb25..ed81095 100644 --- a/internal/build/install.go +++ b/internal/build/install.go @@ -1,12 +1,30 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2023 Elara Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package build import ( "context" "path/filepath" - "go.elara.ws/lure/internal/log" "go.elara.ws/lure/internal/config" "go.elara.ws/lure/internal/db" + "go.elara.ws/lure/internal/log" "go.elara.ws/lure/internal/types" ) diff --git a/internal/cliutils/prompt.go b/internal/cliutils/prompt.go index 121ce04..f038407 100644 --- a/internal/cliutils/prompt.go +++ b/internal/cliutils/prompt.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/config/config.go b/internal/config/config.go index a77781a..38b27af 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/config/dirs.go b/internal/config/dirs.go index 3dacc93..331ae93 100644 --- a/internal/config/dirs.go +++ b/internal/config/dirs.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/config/lang.go b/internal/config/lang.go index 1acb48e..3364d55 100644 --- a/internal/config/lang.go +++ b/internal/config/lang.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/config/version.go b/internal/config/version.go index 118804a..622d782 100644 --- a/internal/config/version.go +++ b/internal/config/version.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/cpu/cpu.go b/internal/cpu/cpu.go index 8204fec..4262265 100644 --- a/internal/cpu/cpu.go +++ b/internal/cpu/cpu.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/db/db.go b/internal/db/db.go index 14cf471..aee3f7c 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/db/db_test.go b/internal/db/db_test.go index 96b3129..1a93282 100644 --- a/internal/db/db_test.go +++ b/internal/db/db_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/dl/dl.go b/internal/dl/dl.go index 3c4e2f3..c5762eb 100644 --- a/internal/dl/dl.go +++ b/internal/dl/dl.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/dl/file.go b/internal/dl/file.go index 6311d46..77ed084 100644 --- a/internal/dl/file.go +++ b/internal/dl/file.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/dl/git.go b/internal/dl/git.go index afa8541..f4b3adc 100644 --- a/internal/dl/git.go +++ b/internal/dl/git.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/dlcache/dlcache.go b/internal/dlcache/dlcache.go index bad2089..bc3cbfe 100644 --- a/internal/dlcache/dlcache.go +++ b/internal/dlcache/dlcache.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/dlcache/dlcache_test.go b/internal/dlcache/dlcache_test.go index 986e9d4..9ac5724 100644 --- a/internal/dlcache/dlcache_test.go +++ b/internal/dlcache/dlcache_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/log/log.go b/internal/log/log.go index 524f98e..6e3648f 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2023 Elara Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package log import ( diff --git a/internal/osutils/move.go b/internal/osutils/move.go index 5637605..e8405b3 100644 --- a/internal/osutils/move.go +++ b/internal/osutils/move.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2023 Elara Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package osutils import ( diff --git a/internal/overrides/overrides.go b/internal/overrides/overrides.go index d8b915b..1992054 100644 --- a/internal/overrides/overrides.go +++ b/internal/overrides/overrides.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/overrides/overrides_test.go b/internal/overrides/overrides_test.go index 99b886c..ab6249a 100644 --- a/internal/overrides/overrides_test.go +++ b/internal/overrides/overrides_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/pager/highlighting.go b/internal/pager/highlighting.go index b156cff..9e85366 100644 --- a/internal/pager/highlighting.go +++ b/internal/pager/highlighting.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/pager/pager.go b/internal/pager/pager.go index d1d91bb..0e3ef26 100644 --- a/internal/pager/pager.go +++ b/internal/pager/pager.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/repos/find.go b/internal/repos/find.go index 1e9310d..eadafcb 100644 --- a/internal/repos/find.go +++ b/internal/repos/find.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/repos/find_test.go b/internal/repos/find_test.go index 35d40fe..af1d9cc 100644 --- a/internal/repos/find_test.go +++ b/internal/repos/find_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/repos/pull.go b/internal/repos/pull.go index 36fe5f7..d751da2 100644 --- a/internal/repos/pull.go +++ b/internal/repos/pull.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/repos/pull_test.go b/internal/repos/pull_test.go index 0c72a1c..6c1c927 100644 --- a/internal/repos/pull_test.go +++ b/internal/repos/pull_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/decoder/decoder.go b/internal/shutils/decoder/decoder.go index 4f308c4..1f590f6 100644 --- a/internal/shutils/decoder/decoder.go +++ b/internal/shutils/decoder/decoder.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/decoder/decoder_test.go b/internal/shutils/decoder/decoder_test.go index a75bc8a..a143c92 100644 --- a/internal/shutils/decoder/decoder_test.go +++ b/internal/shutils/decoder/decoder_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/exec.go b/internal/shutils/exec.go index 20b175d..7b84ace 100644 --- a/internal/shutils/exec.go +++ b/internal/shutils/exec.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/exec_test.go b/internal/shutils/exec_test.go index c3287e0..23a7d17 100644 --- a/internal/shutils/exec_test.go +++ b/internal/shutils/exec_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/helpers/helpers.go b/internal/shutils/helpers/helpers.go index f43547e..9310afb 100644 --- a/internal/shutils/helpers/helpers.go +++ b/internal/shutils/helpers/helpers.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/nop.go b/internal/shutils/nop.go index cad6017..08d95e0 100644 --- a/internal/shutils/nop.go +++ b/internal/shutils/nop.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/nop_test.go b/internal/shutils/nop_test.go index 11dfb7e..408865b 100644 --- a/internal/shutils/nop_test.go +++ b/internal/shutils/nop_test.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/shutils/restricted.go b/internal/shutils/restricted.go index e9325bb..d202f64 100644 --- a/internal/shutils/restricted.go +++ b/internal/shutils/restricted.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/translations/translations.go b/internal/translations/translations.go index a070270..efc29ec 100644 --- a/internal/translations/translations.go +++ b/internal/translations/translations.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2023 Elara Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package translations import ( diff --git a/internal/types/build.go b/internal/types/build.go index 6f1e226..d9f9865 100644 --- a/internal/types/build.go +++ b/internal/types/build.go @@ -1,3 +1,21 @@ +/* + * LURE - Linux User REpository + * Copyright (C) 2023 Elara Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package types import "go.elara.ws/lure/manager" diff --git a/internal/types/config.go b/internal/types/config.go index cba9f3b..b2c2603 100644 --- a/internal/types/config.go +++ b/internal/types/config.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/internal/types/repo.go b/internal/types/repo.go index 8f624f4..c6c9232 100644 --- a/internal/types/repo.go +++ b/internal/types/repo.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/list.go b/list.go index 0ed8201..f521a90 100644 --- a/list.go +++ b/list.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/main.go b/main.go index 96ee28f..4a55bc0 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/apk.go b/manager/apk.go index 2dea386..5b5be40 100644 --- a/manager/apk.go +++ b/manager/apk.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/apt.go b/manager/apt.go index a7b5688..36f7569 100644 --- a/manager/apt.go +++ b/manager/apt.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/dnf.go b/manager/dnf.go index 792fb66..0eb11dc 100644 --- a/manager/dnf.go +++ b/manager/dnf.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/managers.go b/manager/managers.go index 355d0ac..7aae16f 100644 --- a/manager/managers.go +++ b/manager/managers.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/pacman.go b/manager/pacman.go index 075c372..d58626b 100644 --- a/manager/pacman.go +++ b/manager/pacman.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/yum.go b/manager/yum.go index 13d2b53..b5cb5aa 100644 --- a/manager/yum.go +++ b/manager/yum.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/manager/zypper.go b/manager/zypper.go index 7893118..55aab95 100644 --- a/manager/zypper.go +++ b/manager/zypper.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/repo.go b/repo.go index fc612aa..4e06b4c 100644 --- a/repo.go +++ b/repo.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/scripts/install.sh b/scripts/install.sh index a64e0bd..a798de2 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,5 +1,21 @@ #!/bin/bash +# LURE - Linux User REpository +# Copyright (C) 2023 Elara Musayelyan +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + info() { echo $'\x1b[32m[INFO]\x1b[0m' $@ } diff --git a/upgrade.go b/upgrade.go index 743ff7b..78ecccc 100644 --- a/upgrade.go +++ b/upgrade.go @@ -1,6 +1,6 @@ /* * LURE - Linux User REpository - * Copyright (C) 2023 Arsen Musayelyan + * Copyright (C) 2023 Elara Musayelyan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,11 +23,11 @@ import ( "fmt" "github.com/urfave/cli/v2" - "go.elara.ws/lure/internal/log" "go.elara.ws/lure/distro" "go.elara.ws/lure/internal/build" "go.elara.ws/lure/internal/config" "go.elara.ws/lure/internal/db" + "go.elara.ws/lure/internal/log" "go.elara.ws/lure/internal/repos" "go.elara.ws/lure/internal/types" "go.elara.ws/lure/manager"