Compare commits
6 Commits
v0.0.11
...
1ebd1aaf92
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ebd1aaf92 | |||
| 080c9f42ff | |||
| 3c3ee286ce | |||
| d0d8930491 | |||
| 93508647e0 | |||
| 6135e55f92 |
@@ -1,5 +1,5 @@
|
|||||||
# ALR - Any Linux Repository
|
# ALR - Any Linux Repository
|
||||||
# Copyright (C) 2025 Евгений Храмов
|
# Copyright (C) 2025 ALR Authors
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
# This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
# It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
# It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
#
|
#
|
||||||
# ALR - Any Linux Repository
|
# ALR - Any Linux Repository
|
||||||
# Copyright (C) 2025 Евгений Храмов
|
# Copyright (C) 2025 ALR Authors
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -59,7 +59,7 @@ nfpms:
|
|||||||
{{- else }}{{ .Arch }}{{ end -}}
|
{{- else }}{{ .Arch }}{{ end -}}
|
||||||
description: "Any Linux Repository"
|
description: "Any Linux Repository"
|
||||||
homepage: 'https://gitea.plemya-x.ru/xpamych/ALR'
|
homepage: 'https://gitea.plemya-x.ru/xpamych/ALR'
|
||||||
maintainer: 'Евгений Храмов <xpamych@yandex.ru>'
|
maintainer: 'ALR Authors <xpamych@yandex.ru>'
|
||||||
license: GPLv3
|
license: GPLv3
|
||||||
formats:
|
formats:
|
||||||
- apk
|
- apk
|
||||||
@@ -82,7 +82,7 @@ aurs:
|
|||||||
homepage: 'https://gitea.plemya-x.ru/xpamych/ALR'
|
homepage: 'https://gitea.plemya-x.ru/xpamych/ALR'
|
||||||
description: "Any Linux Repository"
|
description: "Any Linux Repository"
|
||||||
maintainers:
|
maintainers:
|
||||||
- 'Евгений Храмов <xpamych@yandex.ru>'
|
- 'ALR Authors <xpamych@yandex.ru>'
|
||||||
license: GPLv3
|
license: GPLv3
|
||||||
private_key: '{{ .Env.AUR_KEY }}'
|
private_key: '{{ .Env.AUR_KEY }}'
|
||||||
git_url: 'ssh://aur@aur.archlinux.org/linux-user-repository-bin.git'
|
git_url: 'ssh://aur@aur.archlinux.org/linux-user-repository-bin.git'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# ALR - Any Linux Repository
|
# ALR - Any Linux Repository
|
||||||
# Copyright (C) 2025 Евгений Храмов
|
# Copyright (C) 2025 ALR Authors
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
# This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
# It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
# It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
#
|
#
|
||||||
# ALR - Any Linux Repository
|
# ALR - Any Linux Repository
|
||||||
# Copyright (C) 2025 Евгений Храмов
|
# Copyright (C) 2025 ALR Authors
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
4
build.go
4
build.go
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
51
e2e-tests/issue_72_install_with_deps_test.go
Normal file
51
e2e-tests/issue_72_install_with_deps_test.go
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
// ALR - Any Linux Repository
|
||||||
|
// Copyright (C) 2025 ALR Authors
|
||||||
|
//
|
||||||
|
// 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 <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
//go:build e2e
|
||||||
|
|
||||||
|
package e2etests_test
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/alecthomas/assert/v2"
|
||||||
|
"github.com/efficientgo/e2e"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestE2EIssue72InstallWithDeps(t *testing.T) {
|
||||||
|
dockerMultipleRun(
|
||||||
|
t,
|
||||||
|
"issue-72-install-with-deps",
|
||||||
|
COMMON_SYSTEMS,
|
||||||
|
func(t *testing.T, r e2e.Runnable) {
|
||||||
|
err := r.Exec(e2e.NewCommand(
|
||||||
|
"sudo",
|
||||||
|
"alr",
|
||||||
|
"addrepo",
|
||||||
|
"--name",
|
||||||
|
"alr-repo",
|
||||||
|
"--url",
|
||||||
|
"https://gitea.plemya-x.ru/Maks1mS/repo-for-tests.git",
|
||||||
|
))
|
||||||
|
assert.NoError(t, err)
|
||||||
|
|
||||||
|
err = r.Exec(e2e.NewCommand(
|
||||||
|
"sudo", "alr", "in", "test-app-with-lib",
|
||||||
|
))
|
||||||
|
assert.NoError(t, err)
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
4
fix.go
4
fix.go
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
4
gen.go
4
gen.go
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
4
info.go
4
info.go
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -115,7 +115,7 @@ func InstallCmd() *cli.Command {
|
|||||||
args.Slice(),
|
args.Slice(),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return cliutils.FormatCliExit(gotext.Get("Error parsing os release"), err)
|
return cliutils.FormatCliExit(gotext.Get("Error when installing the package"), err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -59,7 +59,7 @@ var testPkg = db.Package{
|
|||||||
}),
|
}),
|
||||||
Maintainer: db.NewJSON(map[string]string{
|
Maintainer: db.NewJSON(map[string]string{
|
||||||
"en": "Evgeniy Khramov <xpamych@yandex.ru>",
|
"en": "Evgeniy Khramov <xpamych@yandex.ru>",
|
||||||
"ru": "Евгений Храмов <xpamych@yandex.ru>",
|
"ru": "ALR Authors <xpamych@yandex.ru>",
|
||||||
}),
|
}),
|
||||||
Architectures: db.NewJSON([]string{"arm64", "amd64"}),
|
Architectures: db.NewJSON([]string{"arm64", "amd64"}),
|
||||||
Licenses: db.NewJSON([]string{"GPL-3.0-or-later"}),
|
Licenses: db.NewJSON([]string{"GPL-3.0-or-later"}),
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -59,7 +59,7 @@ const testScript = `
|
|||||||
epoch=2
|
epoch=2
|
||||||
desc="Test package"
|
desc="Test package"
|
||||||
homepage='https://gitea.plemya-x.ru/xpamych/ALR'
|
homepage='https://gitea.plemya-x.ru/xpamych/ALR'
|
||||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
maintainer='ALR Authors <xpamych@yandex.ru>'
|
||||||
architectures=('arm64' 'amd64')
|
architectures=('arm64' 'amd64')
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
provides=('test')
|
provides=('test')
|
||||||
@@ -119,7 +119,7 @@ func TestDecodeVars(t *testing.T) {
|
|||||||
Epoch: 2,
|
Epoch: 2,
|
||||||
Description: "Test package",
|
Description: "Test package",
|
||||||
Homepage: "https://gitea.plemya-x.ru/xpamych/ALR",
|
Homepage: "https://gitea.plemya-x.ru/xpamych/ALR",
|
||||||
Maintainer: "Евгений Храмов <xpamych@yandex.ru>",
|
Maintainer: "ALR Authors <xpamych@yandex.ru>",
|
||||||
Architectures: []string{"arm64", "amd64"},
|
Architectures: []string{"arm64", "amd64"},
|
||||||
Licenses: []string{"GPL-3.0-or-later"},
|
Licenses: []string{"GPL-3.0-or-later"},
|
||||||
Provides: []string{"test"},
|
Provides: []string{"test"},
|
||||||
@@ -142,7 +142,7 @@ func TestDecodeVarsMissing(t *testing.T) {
|
|||||||
epoch=2
|
epoch=2
|
||||||
desc="Test package"
|
desc="Test package"
|
||||||
homepage='https://gitea.plemya-x.ru/xpamych/ALR'
|
homepage='https://gitea.plemya-x.ru/xpamych/ALR'
|
||||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
maintainer='ALR Authors <xpamych@yandex.ru>'
|
||||||
architectures=('arm64' 'amd64')
|
architectures=('arm64' 'amd64')
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
provides=('test')
|
provides=('test')
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -39,7 +39,7 @@ const testScript = `
|
|||||||
epoch=2
|
epoch=2
|
||||||
desc="Test package"
|
desc="Test package"
|
||||||
homepage='https://gitea.plemya-x.ru/xpamych/ALR'
|
homepage='https://gitea.plemya-x.ru/xpamych/ALR'
|
||||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
maintainer='ALR Authors <xpamych@yandex.ru>'
|
||||||
architectures=('arm64' 'amd64')
|
architectures=('arm64' 'amd64')
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
provides=('test')
|
provides=('test')
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ msgid "Command install expected at least 1 argument, got %d"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: install.go:118
|
#: install.go:118
|
||||||
msgid "Error parsing os release"
|
msgid "Error when installing the package"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: install.go:163
|
#: install.go:163
|
||||||
@@ -190,6 +190,10 @@ msgstr ""
|
|||||||
msgid "Error pulling repositories"
|
msgid "Error pulling repositories"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: internal/cliutils/app_builder/builder.go:152
|
||||||
|
msgid "Error parsing os release"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: internal/cliutils/app_builder/builder.go:165
|
#: internal/cliutils/app_builder/builder.go:165
|
||||||
msgid "Unable to detect a supported package manager on the system"
|
msgid "Unable to detect a supported package manager on the system"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
@@ -5,15 +5,15 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: unnamed project\n"
|
"Project-Id-Version: unnamed project\n"
|
||||||
"PO-Revision-Date: 2025-04-18 07:38+0300\n"
|
"PO-Revision-Date: 2025-04-27 18:27+0300\n"
|
||||||
"Last-Translator: Maxim Slipenko <maks1ms@alt-gnome.ru>\n"
|
"Last-Translator: Maxim Slipenko <maks1ms@alt-gnome.ru>\n"
|
||||||
"Language-Team: Russian\n"
|
"Language-Team: Russian\n"
|
||||||
"Language: ru\n"
|
"Language: ru\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
"X-Generator: Gtranslator 48.0\n"
|
"X-Generator: Gtranslator 48.0\n"
|
||||||
|
|
||||||
#: build.go:42
|
#: build.go:42
|
||||||
@@ -166,8 +166,8 @@ msgid "Command install expected at least 1 argument, got %d"
|
|||||||
msgstr "Для команды install ожидался хотя бы 1 аргумент, получено %d"
|
msgstr "Для команды install ожидался хотя бы 1 аргумент, получено %d"
|
||||||
|
|
||||||
#: install.go:118
|
#: install.go:118
|
||||||
msgid "Error parsing os release"
|
msgid "Error when installing the package"
|
||||||
msgstr "Ошибка при разборе файла выпуска операционной системы"
|
msgstr "Ошибка при установке пакета"
|
||||||
|
|
||||||
#: install.go:163
|
#: install.go:163
|
||||||
msgid "Remove an installed package"
|
msgid "Remove an installed package"
|
||||||
@@ -197,6 +197,10 @@ msgstr "Ошибка инициализации базы данных"
|
|||||||
msgid "Error pulling repositories"
|
msgid "Error pulling repositories"
|
||||||
msgstr "Ошибка при извлечении репозиториев"
|
msgstr "Ошибка при извлечении репозиториев"
|
||||||
|
|
||||||
|
#: internal/cliutils/app_builder/builder.go:152
|
||||||
|
msgid "Error parsing os release"
|
||||||
|
msgstr "Ошибка при разборе файла выпуска операционной системы"
|
||||||
|
|
||||||
#: internal/cliutils/app_builder/builder.go:165
|
#: internal/cliutils/app_builder/builder.go:165
|
||||||
msgid "Unable to detect a supported package manager on the system"
|
msgid "Unable to detect a supported package manager on the system"
|
||||||
msgstr "Не удалось обнаружить поддерживаемый менеджер пакетов в системе"
|
msgstr "Не удалось обнаружить поддерживаемый менеджер пакетов в системе"
|
||||||
@@ -576,9 +580,6 @@ msgstr "Здесь нечего делать."
|
|||||||
#~ msgid "Error installing native packages"
|
#~ msgid "Error installing native packages"
|
||||||
#~ msgstr "Ошибка при установке нативных пакетов"
|
#~ msgstr "Ошибка при установке нативных пакетов"
|
||||||
|
|
||||||
#~ msgid "Error installing package"
|
|
||||||
#~ msgstr "Ошибка при установке пакета"
|
|
||||||
|
|
||||||
#~ msgid "Error opening config file, using defaults"
|
#~ msgid "Error opening config file, using defaults"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
#~ "Ошибка при открытии конфигурационного файла, используются значения по "
|
#~ "Ошибка при открытии конфигурационного файла, используются значения по "
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
|
|
||||||
ALR - Any Linux Repository
|
ALR - Any Linux Repository
|
||||||
Copyright (C) {{ .Year }} Евгений Храмов
|
Copyright (C) {{ .Year }} ALR Authors
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
ALR - Any Linux Repository
|
ALR - Any Linux Repository
|
||||||
Copyright (C) {{ .Year }} Евгений Храмов
|
Copyright (C) {{ .Year }} ALR Authors
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
4
list.go
4
list.go
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
4
main.go
4
main.go
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -439,7 +439,7 @@ func (b *Builder) BuildPackage(
|
|||||||
}
|
}
|
||||||
|
|
||||||
slog.Debug("BuildALRDeps")
|
slog.Debug("BuildALRDeps")
|
||||||
_, builtNames, repoDeps, err := b.BuildALRDeps(ctx, input, depends)
|
builtPaths, builtNames, repoDeps, err := b.BuildALRDeps(ctx, input, depends)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@@ -481,8 +481,8 @@ func (b *Builder) BuildPackage(
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgPaths := removeDuplicates(res.BuiltPaths)
|
pkgPaths := removeDuplicates(append(builtPaths, res.BuiltPaths...))
|
||||||
pkgNames := removeDuplicates(res.BuiltNames)
|
pkgNames := removeDuplicates(append(builtNames, res.BuiltNames...))
|
||||||
|
|
||||||
return &BuildResult{
|
return &BuildResult{
|
||||||
PackagePaths: pkgPaths,
|
PackagePaths: pkgPaths,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -237,6 +237,7 @@ func GetSafeScriptExecutor() (ScriptExecutor, func(), error) {
|
|||||||
UnixSocketConfig: &plugin.UnixSocketConfig{
|
UnixSocketConfig: &plugin.UnixSocketConfig{
|
||||||
Group: "alr",
|
Group: "alr",
|
||||||
},
|
},
|
||||||
|
SyncStderr: os.Stderr,
|
||||||
})
|
})
|
||||||
rpcClient, err := client.Client()
|
rpcClient, err := client.Client()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -73,7 +73,7 @@ func (e *LocalScriptExecutor) ExecuteFirstPass(ctx context.Context, input *Build
|
|||||||
|
|
||||||
runner, err := interp.New(
|
runner, err := interp.New(
|
||||||
interp.Env(expand.ListEnviron(env...)), // Устанавливаем окружение
|
interp.Env(expand.ListEnviron(env...)), // Устанавливаем окружение
|
||||||
interp.StdIO(os.Stdin, os.Stdout, os.Stderr), // Устанавливаем стандартный ввод-вывод
|
interp.StdIO(os.Stdin, os.Stderr, os.Stderr), // Устанавливаем стандартный ввод-вывод
|
||||||
interp.ExecHandler(helpers.Restricted.ExecHandler(handlers.NopExec)), // Ограничиваем выполнение
|
interp.ExecHandler(helpers.Restricted.ExecHandler(handlers.NopExec)), // Ограничиваем выполнение
|
||||||
interp.ReadDirHandler2(handlers.RestrictedReadDir(scriptDir)), // Ограничиваем чтение директорий
|
interp.ReadDirHandler2(handlers.RestrictedReadDir(scriptDir)), // Ограничиваем чтение директорий
|
||||||
interp.StatHandler(handlers.RestrictedStat(scriptDir)), // Ограничиваем доступ к статистике файлов
|
interp.StatHandler(handlers.RestrictedStat(scriptDir)), // Ограничиваем доступ к статистике файлов
|
||||||
@@ -193,7 +193,7 @@ func (e *LocalScriptExecutor) ExecuteSecondPass(
|
|||||||
fakeroot := handlers.FakerootExecHandler(2 * time.Second)
|
fakeroot := handlers.FakerootExecHandler(2 * time.Second)
|
||||||
runner, err := interp.New(
|
runner, err := interp.New(
|
||||||
interp.Env(expand.ListEnviron(env...)), // Устанавливаем окружение
|
interp.Env(expand.ListEnviron(env...)), // Устанавливаем окружение
|
||||||
interp.StdIO(os.Stdin, os.Stdout, os.Stderr), // Устанавливаем стандартный ввод-вывод
|
interp.StdIO(os.Stdin, os.Stderr, os.Stderr), // Устанавливаем стандартный ввод-вывод
|
||||||
interp.ExecHandlers(func(next interp.ExecHandlerFunc) interp.ExecHandlerFunc {
|
interp.ExecHandlers(func(next interp.ExecHandlerFunc) interp.ExecHandlerFunc {
|
||||||
return helpers.Helpers.ExecHandler(fakeroot)
|
return helpers.Helpers.ExecHandler(fakeroot)
|
||||||
}), // Обрабатываем выполнение через fakeroot
|
}), // Обрабатываем выполнение через fakeroot
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
# This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
# It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
# It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
#
|
#
|
||||||
# ALR - Any Linux Repository
|
# ALR - Any Linux Repository
|
||||||
# Copyright (C) 2025 Евгений Храмов
|
# Copyright (C) 2025 ALR Authors
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
name='{{.Info.Name | tolower}}'
|
name='python3-{{.Info.Name | tolower}}'
|
||||||
version='{{.Info.Version}}'
|
version='{{.Info.Version}}'
|
||||||
release='1'
|
release='1'
|
||||||
desc='{{.Info.Summary}}'
|
desc='{{.Info.Summary}}'
|
||||||
@@ -48,3 +48,8 @@ package() {
|
|||||||
cd "$srcdir/{{.Info.Name}}-${version}"
|
cd "$srcdir/{{.Info.Name}}-${version}"
|
||||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||||
}
|
}
|
||||||
|
|
||||||
|
files() {
|
||||||
|
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/{{.Info.Name | tolower}}/*
|
||||||
|
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/{{.Info.Name | tolower}}-${version}.dist-info/*
|
||||||
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||||
// It has been modified as part of "ALR - Any Linux Repository" by Евгений Храмов.
|
// It has been modified as part of "ALR - Any Linux Repository" by ALR Authors.
|
||||||
//
|
//
|
||||||
// ALR - Any Linux Repository
|
// ALR - Any Linux Repository
|
||||||
// Copyright (C) 2025 Евгений Храмов
|
// Copyright (C) 2025 ALR Authors
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user