Commit Graph

219 Commits

Author SHA1 Message Date
arcanis 554827cc57 feat: add patch controls to web, review web, enrich info tab (#115)
* add ability to specify one-time patch on package addition

* support vars in interface
2023-10-29 23:41:20 +02:00
arcanis ad901067d8 fix: make toggle button works on small displays 2023-10-21 15:18:09 +03:00
arcanis 4c20897e14 fix: write new line for telegram index 2023-10-21 03:56:48 +03:00
arcanis 6bd1636bfa feat: allow to use single web instance for all repositories (#114)
* Allow to use single web instance for any repository

* some improvements

* drop includes from user home directory, introduce new variables to docker

The old solution didn't actually work as expected, because devtools
configuration belongs to filesystem (as well as sudo one), so it was
still required to run setup command.

In order to handle additional repositories, the POSTSETUP and PRESETUP
commands variables have been introduced. FAQ has been updated as well

* raise 404 in case if repository is unknown
2023-10-17 03:58:50 +03:00
arcanis edcc464658 fix: add note about pacman configuration 2023-09-10 23:48:03 +03:00
arcanis 018d9589e1 feat: improve template processing (#112)
* Improve template processing

* docs update, config validation rules update
2023-09-08 23:38:07 +03:00
arcanis 03c183d66c fix: correct version check in postinstall script 2023-09-08 14:48:31 +03:00
arcanis efde0b2e86 feat: allow to use one application for multiple repositories (#111)
* allow to use one application for multiple repositories

* update tests

* handle None append argument everywhere

* rewrite repository definition logic

* drop optional flags from docs

* support of new schema in systemd units

* add migration docs and ability to migrate tree automatically

* use repostory id instead

* verbose multiarchitectureerror

* object path support for s3 sync

* fix tests after rebase
2023-09-08 14:01:07 +03:00
arcanis c915d68c97 feat: pagination support for logs request 2023-09-08 01:41:36 +03:00
arcanis 6fcb5449c3 feat: add ability to skip migrations
This feature can be used in order to handle conflicting migrations
2023-09-02 14:30:50 +03:00
arcanis 969352d842 Release 2.11.0 2023-08-27 02:12:21 +03:00
arcanis a1db4dc8b8 add ability to partition tree before calculationn 2023-08-27 01:55:57 +03:00
arcanis c26a13c562 Remote call trigger support (#105)
* add support of remote task tracking
* add remote call trigger implementation
* docs update
* add cross-service upload
* add notes about user
* add more ability to control upload
* multipart upload with signatures as well as safe file save
* configuration reference update
* rename watcher methods
* erase logs based on current package version

Old implementation has used process id instead, but it leads to log
removal in case of remote process trigger

* add --server flag for setup command
* restore behavior of the httploghandler
2023-08-20 03:44:31 +03:00
arcanis 95e29d16bb Local packages support improvements (#104)
* handle git author correctly
* make remote source required argument
2023-08-13 15:45:53 +03:00
arcanis 1baf04998d full support of pep517
Since llast upgrade build is broken. Lets fully migrate to
pyproject.toml. Note for maintaners: because data_files option is
deprectated (see https://github.com/pypa/setuptools/discussions/2648)
you will have to install files manually inside your packaging process
2023-08-11 03:55:31 +03:00
arcanis b58d8d96ff Release 2.10.2 2023-08-08 02:54:23 +03:00
arcanis bd0f850d25 Release 2.10.1 2023-07-28 03:21:19 +03:00
arcanis 931ff9bd98 Release 2.10.0 2023-07-22 05:28:57 +03:00
arcanis 6b3fc3a6a0 add support of table filter controls (#101) 2023-07-21 02:10:26 +03:00
arcanis 4b984afb64 packagers support (#100) 2023-06-05 02:37:19 +03:00
arcanis 041e9536bf use cached property instead of custom __getattr__ implementation 2023-05-31 19:17:16 +03:00
arcanis 8731cee8ea runtime logger handler selector 2023-05-29 03:41:11 +03:00
arcanis 1cf027cb55 Support type triggers (#96)
* implement mirrorlist package generator

* implement keyring package generator

* docs update

* do not skip empty lines

* fill remote source for local packages

* faq update
2023-05-25 16:27:16 +03:00
arcanis 8e0e57e193 switch to explicit journald logger instead of syslog 2023-05-25 04:44:38 +03:00
arcanis 840921f585 update packaging files
also remove makedependencies after installation in docker
2023-05-22 18:23:06 +03:00
arcanis 6f566b0c6c Release 2.9.0 2023-05-22 17:04:32 +03:00
arcanis 70e9e3e822 migrate to the latest devtools & archlinux git changes
This migration includes
* removal of community repository as it is no more
* fixed paths for devtools configurations
* migration of archlinux packaging git url
2023-05-22 16:51:27 +03:00
arcanis 2ff56965d9 PEP-673 use Self as return type for classmethods (#94)
* PEP-673 use Self as return type for classmethods

* add dummy test file

* remove python3.10 compat
2023-05-04 03:28:08 +03:00
arcanis f7e260e1f4 add reference to api documentation from main page 2023-04-12 04:22:49 +03:00
arcanis 2cd61b0a20 Release 2.8.0 2023-04-09 13:06:54 +03:00
arcanis 8f4a2547e8 use api generated docs instead of comments (#92) 2023-04-06 00:24:39 +03:00
arcanis ec0550a275 Release 2.7.1 2023-03-06 01:15:47 +02:00
arcanis d517d8bfbb Release 2.7.0 2023-02-20 03:05:08 +02:00
arcanis 25eee9ca5e add ability to suppress http logging errors (#86) 2023-01-30 17:19:01 +02:00
arcanis 5bbb9d269b Release 2.6.1 2023-01-25 15:28:27 +02:00
arcanis c6555cf2c7 Release 2.6.0 2023-01-16 01:35:12 +02:00
arcanis 77954b988b subcommand review
Some commands have been moved to another group and thus having another
default name (old subcommands are still available...for now):

* daemon -> repo-daemon
* key-import -> service-key-import
* repo-clean -> service-clean
* repo-config -> service-config
* repo-config-validate -> service-config-validate
* repo-setup -> service-setup
* repo-shell -> service-shell
* version -> help-version
2023-01-12 15:37:05 +02:00
arcanis 0239fb50b6 expose trigger configuration schema
Note that this commit contains the following breaking changes:

* remote pull and remote push triggers are now enabled by default (with
  empty target list)
* remote pull and remote push triggers now require target option to be
  set (old behaviour had fallback on `gitremote`)
* validation is now considered to be stable, so it is enabled by default
  in docker image (can be disabled however)
2023-01-10 03:33:52 +02:00
arcanis d942a70272 add config validator subcommand (#80)
* add config validator subcommand

* add --exit-code flag

* docs & faq update
2023-01-09 18:22:29 +03:00
arcanis 014007ade3 review unsafe commands access
Some commands were made unsafe in old versions, but nowadays they can be
run without having special privileges.

There was also a bug in which status commands were not available if you
are not ahriman user and unix socket is used. It has been fixed by
switching to manual socket creation (see also
https://github.com/aio-libs/aiohttp/issues/4155)
2023-01-04 17:45:44 +02:00
arcanis 42c13b5d4b Release 2.5.4 2023-01-03 01:59:25 +02:00
arcanis 98f2f19d5b Release 2.5.3 2023-01-02 03:24:11 +02:00
arcanis 84d4523e85 Release 2.5.2 2023-01-02 01:57:09 +02:00
arcanis 214d6d7fdd Release 2.5.1 2022-12-31 14:58:37 +02:00
arcanis b44e5c3a3d Release 2.5.0 2022-12-31 02:02:37 +02:00
arcanis 81d9526054 improve VCS packages checks
* Unlike older version, currently service will always try to pull AUR
  package to check version. Previously if no-vcs flag is set, it would
  ignore VCS packages completelly
* Introduce build.vcs_allowed_age option. If set, it will skip version
  calculation if package age (now - build_date) is less than this value
2022-12-30 21:19:23 +02:00
arcanis b0b37e8169 Release 2.4.1 2022-12-11 05:17:10 +02:00
arcanis 7df4adfc9d replace alert bodals with toasts 2022-12-09 11:33:19 +02:00
arcanis 2d5b73c6dc remove badges from status page 2022-12-09 00:58:03 +02:00
arcanis 2e059023f3 Release 2.4.0 2022-12-05 00:25:53 +02:00