Commit Graph

94 Commits

Author SHA1 Message Date
Maxim Slipenko
35656d63a1 fix: use shell.Fields 2025-01-25 09:39:33 +03:00
6410f7547b Merge pull request 'po(RU): update translation' (#20) from x1z53/ALR:master into master
Reviewed-on: #20
2025-01-24 19:04:33 +00:00
53e783df31 po(RU): update translation 2025-01-24 21:20:45 +03:00
fcc9ef5474 Merge pull request 'feat: add files() function' (#19) from Maks1mS/ALR:feat/files-function into master
Reviewed-on: #19
2025-01-24 16:40:21 +00:00
Maxim Slipenko
f6ba4a1c26 feat: add files() function
also add files-find-lang and files-find-doc helpers
2025-01-24 19:23:41 +03:00
b5bf6ab61d Merge pull request 'fix: completely remove old logger' (#18) from Maks1mS/ALR:fix/remove-old-logger into master
Reviewed-on: #18
2025-01-23 08:43:59 +00:00
Maxim Slipenko
18e90e4afc fix: completely remove old logger 2025-01-23 11:42:48 +03:00
a09863dfcb Merge pull request 'feat: add autoPull in config' (#17) from Maks1mS/ALR:feat/add-auto-pull-to-config into master
Reviewed-on: #17
2025-01-23 07:37:52 +00:00
Maxim Slipenko
fd643ea6cd chore: run make fmt and make i18n 2025-01-22 18:12:26 +03:00
Maxim Slipenko
309ecf784f feat: add autoPull in config 2025-01-22 18:10:57 +03:00
Maxim Slipenko
30f95a4cbf chore: make usage strings translatable 2025-01-22 17:16:15 +03:00
Maxim Slipenko
b9bf908007 chore: remove legacy translation system 2025-01-22 16:53:30 +03:00
Maxim Slipenko
a6076b1253 chore: replace old logger with new 2025-01-22 16:37:16 +03:00
Maxim Slipenko
ac35b4d71d feat: add new logger and translation 2025-01-22 14:40:11 +03:00
945f920654 Merge pull request 'fix: rename module from plemya-x.ru/alr to gitea.plemya-x.ru/Plemya-x/ALR' (#12) from Maks1mS/ALR:fix/rename-module into master
Reviewed-on: #12
2025-01-20 21:17:58 +00:00
Maxim Slipenko
84ac2377fb fix: rename module from plemya-x.ru/alr to gitea.plemya-x.ru/Plemya-x/ALR 2025-01-20 19:58:24 +03:00
de1db25202 Merge pull request 'fix: removeAlreadyInstalled before FindPkgs' (#11) from Maks1mS/ALR:fix/resolve-deps into master
Reviewed-on: #11
2025-01-19 08:55:09 +00:00
Maxim Slipenko
2d6504b329 fix: removeAlreadyInstalled before FindPkgs 2025-01-19 11:49:00 +03:00
4ca557402a Merge pull request 'chore: add fmt and update-license' (#10) from Maks1mS/ALR:chore/linting into master
Reviewed-on: #10
2025-01-19 07:41:15 +00:00
Maxim Slipenko
e497d41030 chore: run make update-license fmt 2025-01-18 19:30:02 +03:00
Maxim Slipenko
d46414a67c Merge branch 'master' into chore/linting 2025-01-18 19:22:18 +03:00
29e2f85eeb Исправление ссылки на скрипт установки 2025-01-18 18:30:26 +03:00
c9c872abbc Merge remote-tracking branch 'gitea/master' 2025-01-18 18:29:50 +03:00
fb93864d09 Revert "Исправление ссылки на скрипт установки"
This reverts commit 9fcd618a83105876da9a78f0b0a814c4da40bc76.
2025-01-18 18:29:42 +03:00
9fcd618a83 Исправление ссылки на скрипт установки 2025-01-18 18:29:17 +03:00
1fb9c6b574 Merge pull request 'refactor(db, config, repos): migrate from functions to struct' (#9) from Maks1mS/ALR:refactor/db into master
Reviewed-on: #9
2025-01-18 15:27:10 +00:00
fb5c875713 Merge pull request 'fix: add auto_req and auto_prov' (#7) from Maks1mS/ALR:fix/make-findprovides-findrequires-optional into master
Reviewed-on: #7
2025-01-18 15:24:07 +00:00
Maxim Slipenko
3f428ab7b5 chore: add golangci-lint 2025-01-14 15:45:29 +03:00
Maxim Slipenko
5b7af1f6b5 chore: refactor license update script 2025-01-14 15:28:54 +03:00
Maxim Slipenko
3224d7c6e4 chore: add license update script 2025-01-14 15:24:24 +03:00
Maxim Slipenko
e1829c4824 refactor: migrate repos find to struct 2025-01-14 13:18:51 +03:00
Maxim Slipenko
12d83f2015 test: fix decoder and handlers tests 2025-01-14 13:04:10 +03:00
Maxim Slipenko
6bc6bfdcd9 refactor: migrate dlcache to struct 2025-01-14 12:59:00 +03:00
Maxim Slipenko
eeb25c239b refactor: move defaultConfig from config_legacy to config 2025-01-14 11:54:00 +03:00
Maxim Slipenko
91937a1fc5 refactor: migrate repo to struct 2025-01-14 11:49:42 +03:00
Maxim Slipenko
e827fb8049 refactor: use context logger 2025-01-14 10:41:38 +03:00
Maxim Slipenko
a13acc5ed0 refactor: migrate list command to struct API 2025-01-14 10:35:23 +03:00
Maxim Slipenko
52d3ab7791 refactor: migrate db and config packages to use struct-based API
Removed global variables in favor of instance variables. This makes the code more maintainable and making it easier to write unit tests without relying on global state.

Marked the old functions with global state as obsolete, redirecting them to use a new API based on struct in order to rewrite the code using these functions gradually.
2025-01-14 10:11:17 +03:00
Maxim Slipenko
a345a24b95 fix: add auto_req and auto_prov 2024-12-27 21:15:37 +03:00
5d1d3d7c45 Merge pull request 'feat: add find-provides and find-requires (rpm only)' (#5) from Maks1mS/ALR:feat/auto-provides-requires into master
Reviewed-on: #5
2024-12-26 08:07:15 +00:00
a711edbcc0 fix: ignore empty dependencies 2024-12-23 21:12:08 +03:00
d5636e8094 feat: add find-provides and find-requires (rpm only) 2024-12-19 19:21:41 +03:00
5d17875813 Merge pull request 'Исправление file exists при распаковке архива' (#2) from Maks1mS/ALR:fix/unpack-file-exists-error into master
Reviewed-on: xpamych/ALR#2
2024-11-17 18:25:29 +00:00
41eec2fc98 fix: use MkdirAll instead Mkdir to ignore existing dirs 2024-11-17 21:11:54 +03:00
1273aeae39 Merge branch 'Maks1mS-master'
# Conflicts:
#	pkg/build/build.go
2024-11-16 11:55:20 +03:00
49785d4dc8 Комментирование кода, добавление возможности сборки нескольких пакетов package_* из одного alr.sh 2024-11-16 11:32:47 +03:00
1890311d11 fix: add alt only for rpm on altlinux 2024-11-15 16:35:31 +03:00
eb1c1a1d8c fix: add alt prefix for release 2024-11-15 16:25:09 +03:00
c105cf2cbb chore: go mod tidy 2024-11-15 16:21:57 +03:00
94048184c1 chore: update goreleaser/nfpm 2024-11-15 15:50:45 +03:00