Commit Graph

86 Commits

Author SHA1 Message Date
arcanis ce1bd2f2db add curl examples to web views 2022-11-24 02:38:33 +02:00
arcanis 6ba96d838d build docs together with web views 2022-11-24 02:38:33 +02:00
arcanis df9e03f495 change respone for service requests 2022-11-24 02:38:33 +02:00
arcanis bbb97d1cdd add more notes about docker 2022-11-22 10:49:46 +02:00
arcanis 137d62e2f8 Extended package status page (#76)
* implement log storage at backend
* handle process id during removal. During one process we can write logs from different packages in different times (e.g. check and update later) and we would like to store all logs belong to the same process
* set package context in main functions
* implement logs support in interface
* filter out logs posting http logs
* add timestamp to log records
* hide getting logs under reporter permission

List of breaking changes:

* `ahriman.core.lazy_logging.LazyLogging` has been renamed to `ahriman.core.log.LazyLogging`
* `ahriman.core.configuration.Configuration.from_path` does not have `quiet` attribute now
* `ahriman.core.configuration.Configuration` class does not have `load_logging` method now
* `ahriman.core.status.client.Client.load` requires `report` argument now
2022-11-22 02:58:22 +03:00
arcanis 8a6854c867 Release 2.3.0 2022-11-16 00:53:48 +02:00
arcanis 84c1b4d82d Release 2.3.0rc4 2022-11-14 01:02:27 +02:00
arcanis cdd66ee780 fix case when no files were commited in remote push trigger
The issue appears together with --intent-to-add flag for adding new
files. Original testing has been performed by having already added new
files, thus it passed all checks.

This commit also adds `commit_author` option which will allow to
overwrite the author.
2022-11-14 00:59:43 +02:00
arcanis 9a008ddafa Release 2.3.0rc1 2022-11-11 16:36:13 +02:00
arcanis 233dda8420 man update 2022-11-10 20:10:07 +02:00
arcanis 2a07356d24 add ability to use ahriman pacman database instead of system one (#71)
By default this feature is enabled. On the first run it will copy (if
exists) databases from filesystem to local cache (one per each
architecture). Later it will use this cache for all alpm operations. In
order to update this cache, some commands (mainly package building)
provide `-y`/`--refresh` option which has same semantics as pacman -Sy
does.

Note however that due to extending `Pacman` class some methods were
renamed in order to be more descriptive:
* `Pacman.all_packages` -> `Pacman.packages`
* `Pacman.get` -> `Pacman.package_get`

This commit also adds multilib repository to the default docker image
which was missed.
2022-11-08 17:26:51 +03:00
arcanis 0d1a890bd0 fix case in which if no source PKGBUILDs were updated, an exception will occur 2022-11-03 03:39:54 +02:00
arcanis 3aeaa8ce2c faq update 2022-11-02 17:15:17 +02:00
arcanis 7cee859f19 docs update 2022-11-02 04:17:26 +02:00
arcanis fb6b22cdd7 change gitremote api to be same as report and upload
These changes are keeping fallback to old settings, but will allow to
run multiple git targets with different settings
2022-11-02 04:09:42 +02:00
arcanis 649df81aa5 implement single-function patches (#69) 2022-10-30 03:11:03 +03:00
arcanis 342b3cb652 Add gitremote triggers (#68)
* add gitremote pull trigger

* add push gitremote trigger

* docs update
2022-10-18 01:46:27 +03:00
arcanis e441d93a56 Release 2.2.2 2022-09-17 04:05:06 +03:00
arcanis f6d9ea480a docs update 2022-09-14 04:48:11 +03:00
arcanis 08f62842ba Release 2.2.0 2022-09-14 03:28:28 +03:00
arcanis 1912790ccc Make optional dependencies trully optional (#67)
The issue appears when there is no boto, jinja and some other libraries
are not installed because the classes which use these libraries are
still being imported inside the package file. The fix removes those
imports from package root, because they should not be here, in fact,
content of report and upload packages must be imported only inside the
trigger class and only if they are actually required

This commit also adds setuptools as required dependency since it is used
for some parsers (previously it was provided dependency)
2022-09-11 01:44:06 +03:00
arcanis f73d1eb424 reduce docker image size a bit 2022-07-18 11:42:26 +03:00
arcanis 87ab3683ad Release 2.1.0 2022-07-02 15:42:39 +03:00
arcanis cd361a483d review loggers once more
This commit makes loggers like java.util.logging with fully qualified
logger name which is created by LazyLogging trait
2022-06-27 01:41:49 +03:00
arcanis 03c298c762 replace if with while for telelgram reporting 2022-06-10 12:02:00 +03:00
arcanis 79d4a488a0 Release 2.0.0 2022-06-05 20:46:32 +03:00
arcanis 22847aac68 small docs update 2022-06-04 15:24:14 +03:00
arcanis a0cfb7561d rewrite api under single /api endpoint 2022-05-29 17:15:49 +03:00
arcanis f4131b8cd7 add shell and version parser 2022-05-27 18:34:07 +03:00
arcanis 9f134e37b6 update readme 2022-05-22 16:00:24 +03:00
arcanis 47de715d7d dynamic html load (#63)
* dynamic html load
* split by classes
2022-05-20 22:29:36 +03:00
arcanis 38e48b1571 add not about pacman database update 2022-05-11 04:30:24 +03:00
arcanis 88f71b240d Release 2.0.0rc10 2022-05-09 21:51:35 +03:00
arcanis 99874845b5 triggers implementation (#62) 2022-05-09 20:00:20 +03:00
arcanis d98cfa3732 Release 2.0.0rc9 2022-05-08 03:58:53 +03:00
arcanis 47c578ea08 Release 2.0.0rc8 2022-05-06 20:55:54 +03:00
arcanis 98910240dd shorten public imports 2022-05-06 04:08:05 +03:00
arcanis 33e9fea47c Docs update (#61)
* Improve sphinx documentation

* update faq formatting

* fix setup doc

* fix docs according to the generated htmls
2022-05-06 02:54:37 +03:00
arcanis b7debddaea Complete official repository support (#59) 2022-05-03 00:49:32 +03:00
arcanis 1cfc751d21 rename classes in order to make documentation reference work 2022-04-18 05:30:02 +03:00
arcanis 6ebbb04504 readthedoc integration 2022-04-18 04:39:40 +03:00
arcanis d90f417cae Docstring update (#58)
* migrate docstrings from reST to google format

* add raises note

Also change behaviour of the `from_option` method to fallback to
disabled instead of raising exception on unknown option

* fix part of warnings for sphinx

* make identation a bit more readable

* review fixes

* add verbose description for properties to make them parsed by sphinx extenstion

* add demo sphinx generator
2022-04-17 20:25:28 +03:00
arcanis 0db619136d Release 2.0.0rc7 2022-04-11 00:48:08 +03:00
arcanis 208a9b920d docs update 2022-04-11 00:46:46 +03:00
arcanis cb63bc08ff add backup and restore subcommands 2022-04-10 21:34:34 +03:00
arcanis a6c8d64053 Release 2.0.0rc6 2022-04-09 17:34:23 +03:00
arcanis 900907cdaa Release 2.0.0rc5 2022-04-08 04:42:05 +03:00
arcanis 5ff2f43506 change telegram default index to telegram-index 2022-04-08 04:32:34 +03:00
arcanis 86af13f09e add telegram integraion 2022-04-08 03:41:07 +03:00
arcanis 733c014229 Release 2.0.0rc4 2022-04-08 01:14:35 +03:00