6c0e8aeb3f
chore: enable autoPull
2025-03-23 13:28:33 +03:00
cbc6b9f452
Merge pull request 'Update config module' ( #56 ) from Maks1mS/ALR:fix/update-config-module into master
...
Reviewed-on: Plemya-x/ALR#56
Конфигурация явно загружается методом Load, убрана лишняя передача контекста в методы config.
Конфигурация определяется как комбинация из нескольких источников (частично решает задачу #55 ):
defaultConfig
/etc/alr/alr.toml
$HOME/.config/alr.toml
ENV переменных
2.1. addrepo / removerepo сохраняют конфигурацию в $HOME/.config/alr.toml
Добавлена возможность задать уровень логов (закрывает #49 ). Теперь при дальнейшей работе в старые и новые методы желательно добавлять debug логирование.
2025-03-22 12:47:16 +00:00
c705c25613
fix: add config load and directory creation
2025-03-22 13:41:41 +03:00
8f4b021a93
update config module
2025-03-22 12:58:10 +03:00
5e7d4033e4
Merge pull request 'fix: save config after removerepo and LC_ALL=C for info command' ( #54 ) from Maks1mS/ALR:fix-53-and-removerepo into master
...
Reviewed-on: Plemya-x/ALR#54
2025-03-19 05:46:17 +00:00
4ac2432770
fix: removerepo and LC_ALL=C for info command
2025-03-19 08:26:53 +03:00
3c37310f0d
Merge pull request 'test: add e2e tests' ( #51 ) from Maks1mS/ALR:tests/add-e2e-test into master
...
Reviewed-on: Plemya-x/ALR#51
2025-03-15 10:17:38 +00:00
d300ab197b
test: add e2e tests
2025-03-15 12:52:56 +03:00
eb2cc3c1e6
Merge pull request 'fix: add handling len(pkgs) == 0
' ( #48 ) from Maks1mS/ALR:fix/handle-notfound-package into master
...
Reviewed-on: Plemya-x/ALR#48
2025-03-14 16:40:24 +00:00
7a3acfe5c1
fix: add handling len(pkgs) == 0
2025-03-14 19:38:58 +03:00
9cf8af08ab
Merge pull request 'fix: remove duplicates correctly' ( #46 ) from Maks1mS/ALR:fix/remove-duplicates-correctly into master
...
Reviewed-on: Plemya-x/ALR#46
2025-03-13 13:44:40 +00:00
86940e8962
tests: add TestRemoveDuplicatesSources
2025-03-13 16:38:36 +03:00
db244204c7
fix: remove duplicates correctly
2025-03-13 16:24:37 +03:00
9cb0a5e9ad
Merge pull request 'chore: update package name in Makefile' ( #45 ) from Maks1mS/ALR:fix/correct-set-version into master
...
Reviewed-on: Plemya-x/ALR#45
2025-03-12 15:18:01 +00:00
1a57ccdb83
chore: update package name in Makefile
2025-03-12 15:11:19 +03:00
615cd83fb7
Merge pull request 'fix: resolve absolute path of ScriptDir' ( #44 ) from Maks1mS/ALR:fix/use-abs-scriptdir-path into master
...
Reviewed-on: Plemya-x/ALR#44
2025-03-11 17:30:49 +00:00
27e2f54653
fix: resolve absolute path of ScriptDir
2025-03-11 20:28:41 +03:00
af57165c89
Небольшие правки и исправления.
2025-03-10 14:50:02 +03:00
3770c82240
Merge pull request 'fix: add db.Init() in bash completion' ( #42 ) from Maks1mS/ALR:fix/add-db-init-in-completion into master
...
Reviewed-on: Plemya-x/ALR#42
2025-03-09 20:59:05 +00:00
2dff463303
i18n: update ru translation
2025-03-09 17:32:19 +03:00
9085e38454
fix: add db.Init() in bash completion
2025-03-09 17:30:02 +03:00
a7d016abc9
Замена устаревшего метода установки в шаблоне alr gen pip
2025-03-02 13:50:11 +03:00
4a5cca2d0f
Замена устаревшего метода установки в шаблоне alr gen pip
2025-03-02 13:34:22 +03:00
71000fd3cd
Merge pull request 'fix: use unique names for packages' ( #40 ) from Maks1mS/ALR:fix/use-unique-package-name into master
...
Reviewed-on: Plemya-x/ALR#40
2025-03-02 06:49:52 +00:00
71968bbe13
fix: fix config saving
2025-02-28 21:14:59 +03:00
29c1a31066
fix: fix list and upgrade commands with new naming
2025-02-28 21:14:21 +03:00
8f94b61a0e
fix: use +alr-{reponame} suffix
2025-02-28 20:15:02 +03:00
ae8e2d2807
Merge pull request 'chore: make the application more internationalized' ( #39 ) from Maks1mS/ALR:chore/i18n into master
...
Reviewed-on: Plemya-x/ALR#39
добавлен badge для русского языка
переведены все строки
переведены выводы help
2025-02-28 07:09:22 +00:00
0fa288b8a2
chore: make the application more internationalized
2025-02-27 16:41:18 +03:00
dcac0b9ee5
i18n: translate all strings
2025-02-27 11:43:20 +03:00
4e6e1f524a
chore: make the application more internationalized
2025-02-27 11:18:13 +03:00
47a9b9a96c
Merge pull request 'chore: refactor code' ( #38 ) from Maks1mS/ALR:chore/refactor-code into master
...
Reviewed-on: Plemya-x/ALR#38
remove legacy code
refactor search and add tests
2025-02-22 15:34:57 +00:00
9bb14312bd
chore: refactor code
...
- remove legacy code
- refactor search and add tests
2025-02-22 09:44:59 +03:00
88b8d2fbf3
Merge pull request 'feat: add search command' ( #37 ) from Maks1mS/ALR:feat/add-search-command into master
...
Reviewed-on: Plemya-x/ALR#37
Добавлена команда search.
2025-02-18 18:18:48 +00:00
04523775f1
feat: add search command
2025-02-18 17:55:25 +03:00
adc4a42800
Merge pull request 'fix: remove default repo and disable autoPull by default' ( #36 ) from Maks1mS/ALR:fix/change-default-config into master
...
Reviewed-on: Plemya-x/ALR#36
2025-02-13 15:46:13 +00:00
81651af20d
Merge pull request 'feat: add support for multiple packages in one alr.sh' ( #35 ) from Maks1mS/ALR:feat/add-multiple-package-build into master
...
Reviewed-on: Plemya-x/ALR#35
В этом PR добавлена поддержка сборки нескольких пакетов из одного alr.sh, которая скорее всего потребует доработки в дальнейшем.
Пример репозитория с пакетами, содержащие несколько package_: https://gitea.plemya-x.ru/Maks1mS/multipackage-test-repo
2025-02-13 15:45:28 +00:00
f04ebbaf14
chore: update info about xpamych-alr-repo
2025-02-12 19:19:08 +03:00
be1a137eab
fix: remove default repo and disable autoPull by default
2025-02-12 19:13:50 +03:00
719a5b7fe7
Merge branch 'master' into feat/add-multiple-package-build
2025-02-12 18:52:16 +03:00
e05bb07f23
feat: add support for multiple packages in one alr.sh
2025-02-12 18:34:35 +03:00
ec053f7e6a
Корректировка скрипта первичной установки с учётом ALT linux
2025-02-09 12:44:56 +03:00
ad1696d507
Перевод fakeroot на gitea - fix
2025-02-09 12:13:28 +03:00
a57602a278
Перевод fakeroot на gitea
2025-02-06 14:17:57 +03:00
606cd5473a
Merge pull request 'chore: add tests for dl' ( #34 ) from Maks1mS/ALR:chore/add-tests into master
...
Reviewed-on: Plemya-x/ALR#34
2025-01-31 16:33:16 +00:00
d2bcb4e345
chore: remove comment
2025-01-31 18:14:28 +03:00
1fcb88976c
tests: add more tests for dl
2025-01-31 18:12:22 +03:00
55feea9b25
chore: remove code duplication
2025-01-31 17:05:14 +03:00
0d1db212e1
tests: add tests for dl
2025-01-31 16:56:26 +03:00
99ec48c4c6
Merge pull request 'chore: fix formatting and add pre-commit' ( #33 ) from Maks1mS/ALR:chore/fix-fmt into master
...
Reviewed-on: Plemya-x/ALR#33
2025-01-31 10:43:56 +00:00