mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-03-04 09:19:47 +00:00
feat: use split packages (#135)
* move argument parsers to handlers themselves * use hatchling instead of flit * Revert "use hatchling instead of flit" This reverts commit d18d146d796bef01f7bba9003bc634946649f9aa. * add package-splitt script * replace simplify walk method * split packages * explicitly install packages * separate support triggers from main package * add docs examples * sort actions * docs update * add metapackage * review fixes
This commit is contained in:
@@ -311,6 +311,12 @@ Automatic worker nodes discovery
|
||||
|
||||
Instead of setting ``${build:workers}`` option explicitly it is also possible to configure services to load worker list dynamically. To do so, the ``ahriman.core.distributed.WorkerLoaderTrigger`` and ``ahriman.core.distributed.WorkerTrigger`` must be used for **master** and **worker** nodes respectively. See recipes for more details.
|
||||
|
||||
Those triggers have to be installed as a separate package:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S ahriman-triggers
|
||||
|
||||
Known limitations
|
||||
"""""""""""""""""
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ TL;DR
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S ahriman
|
||||
yay -S ahriman-core
|
||||
ahriman -a x86_64 -r aur service-setup --packager "ahriman bot <ahriman@example.com>"
|
||||
systemctl enable --now ahriman@x86_64-aur.timer
|
||||
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
Maintenance packages
|
||||
--------------------
|
||||
|
||||
Those features require extensions package to be installed before, e.g.:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S ahriman-triggers
|
||||
|
||||
Generate keyring package
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@ How to setup web service
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
#.
|
||||
Install dependencies:
|
||||
Install web service:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S --asdeps python-aiohttp python-aiohttp-jinja2 python-aiohttp-apispec>=3.0.0 python-aiohttp-cors
|
||||
yay -S ahriman-web
|
||||
|
||||
#.
|
||||
Configure service:
|
||||
|
||||
Reference in New Issue
Block a user