Commit Graph

84 Commits

Author SHA1 Message Date
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
3f1c1b6795 feat: add apt-rpm manager 2024-11-15 15:21:34 +03:00
6238765a7d Merge remote-tracking branch 'gitea/master'
# Conflicts:
#	internal/config/config.go
2024-09-06 12:23:03 +03:00
b1d45b05de Изменение ссылки на gitea.plemya-x.ru 2024-09-06 12:22:37 +03:00
5b89381115 Изменение ссылки на gitea.plemya-x.ru 2024-08-24 12:55:17 +03:00
842f796284 обновление пути с пакетами 2024-08-20 01:06:38 +03:00
a937476bb0 обновление пути с пакетами 2024-08-20 01:05:15 +03:00
9b37baa040 обновление пути с пакетами 2024-08-20 01:02:08 +03:00
e23a7222fd обновление пути с пакетами 2024-08-10 12:16:40 +03:00
4637adb3e4 Initial commit 2024-08-06 22:35:28 +03:00
5f12733231 Удалить README.md 2024-08-06 22:33:56 +03:00