mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
faq update
This commit is contained in:
parent
33e4bf511e
commit
9e460acb90
74
docs/faq.rst
74
docs/faq.rst
@ -753,6 +753,80 @@ If you did everything fine you should receive the message with the next update.
|
|||||||
|
|
||||||
(replace ``${CHAT_ID}`` and ``${API_KEY}`` with the values from configuration).
|
(replace ``${CHAT_ID}`` and ``${API_KEY}`` with the values from configuration).
|
||||||
|
|
||||||
|
Maintenance packages
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Generate keyring package
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The application provides special plugin which generates keyring package. This plugin heavily depends on ``sign`` group settings, however it is possible to override them. The minimal package can be generated in the following way:
|
||||||
|
|
||||||
|
#.
|
||||||
|
Edit configuration:
|
||||||
|
|
||||||
|
.. code-block:: ini
|
||||||
|
|
||||||
|
[keyring]
|
||||||
|
target = keyring_generator
|
||||||
|
|
||||||
|
By default it will use ``sign.key`` as trusted key and all other keys as packagers ones. For all available options refer to :doc:`configuration <configuration>.
|
||||||
|
|
||||||
|
#.
|
||||||
|
Create package source files:
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
sudo -u ahriman ahriman repo-create-keyring
|
||||||
|
|
||||||
|
This command will generate PKGBUILD, revoked and trusted listings and keyring itself and will register the package in database.
|
||||||
|
|
||||||
|
#.
|
||||||
|
Build new package as usual:
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
sudo -u ahriman ahriman package-add aur-clone-keyring --source local --now
|
||||||
|
|
||||||
|
where ``aur-clone`` is your repository name.
|
||||||
|
|
||||||
|
This plugin might have some issues, in case of any of them, kindly create `new issue <https://github.com/arcan1s/ahriman/issues/new/choose>`_.
|
||||||
|
|
||||||
|
Generate mirrorlist package
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The application provides special plugin which generates mirrorlist package also. It is possible to distribute this package as usual later. The package can be generated in the following way:
|
||||||
|
|
||||||
|
#.
|
||||||
|
Edit configuration:
|
||||||
|
|
||||||
|
.. code-block:: ini
|
||||||
|
|
||||||
|
[mirrorlist]
|
||||||
|
target = mirrorlist_generator
|
||||||
|
|
||||||
|
[mirrorlist_generator]
|
||||||
|
servers = https://repo.example.com/$arch
|
||||||
|
|
||||||
|
The ``mirrorlist_generator.servers`` must contain list of available mirrors, the ``$arch`` and ``$repo`` variables are supported. For more options kindly refer to :doc:`configuration <configuration>.
|
||||||
|
|
||||||
|
#.
|
||||||
|
Create package source files:
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
sudo -u ahriman ahriman repo-create-mirrorlist
|
||||||
|
|
||||||
|
This command will generate PKGBUILD and mirrorlist file and will register the package in database.
|
||||||
|
|
||||||
|
#.
|
||||||
|
Build new package as usual:
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
sudo -u ahriman ahriman package-add aur-clone-mirrorlist --source local --now
|
||||||
|
|
||||||
|
where ``aur-clone`` is your repository name.
|
||||||
|
|
||||||
Web service
|
Web service
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user