mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-19 03:08:03 +00:00
bug: always keep existing package version in archive
This commit is contained in:
1 parent
b73be7abcc
commit
81ea175034
4 files changed
+15
-7
No files matched your search
@@ -207,7 +207,7 @@ Web server settings. This feature requires ``aiohttp`` libraries to be installed
|
||||
|
||||
Describes settings for packages archives management extensions.
|
||||
|
||||
* ``keep_built_packages`` - keep this amount of built packages with different versions, integer, required. ``0`` will effectively disable archives removal.
|
||||
* ``keep_built_packages`` - keep this amount of additional built package versions alongside the version currently published in the repository, integer, required. ``0`` will effectively disable archives removal.
|
||||
|
||||
``keyring`` group
|
||||
-----------------
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ This trigger will be called right after build process (``on_result``). It will p
|
||||
``ahriman.core.housekeeping.ArchiveRotationTrigger``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This trigger removes old package versions from the archive directory. It implements ``on_result`` and, after each build, compares available versions for updated packages and removes the older ones, keeping only the last N versions as configured by ``keep_built_packages`` option.
|
||||
This trigger removes old package versions from the archive directory. It implements ``on_result`` and, after each build, compares available versions for updated packages and removes older ones, keeping the version currently published in the repository plus the last N other versions as configured by ``keep_built_packages`` option.
|
||||
|
||||
``ahriman.core.housekeeping.LogsRotationTrigger``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in new issue
Block a user