Commit Graph

308 Commits

Author SHA1 Message Date
arcanis 14cb548c3b 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 2eb93a6090 Release 2.3.0 2022-11-16 00:53:48 +02:00
arcanis dd6ef38c99 remote threadname from logging
Since application is mostly singlethreaded it makes no sense to log it
2022-11-14 23:21:06 +02:00
arcanis 415dc42313 Release 2.3.0rc4 2022-11-14 01:02:27 +02:00
arcanis 880cebe54f Release 2.3.0rc3 2022-11-11 21:20:55 +02:00
arcanis dc8a52f6c0 Release 2.3.0rc2 2022-11-11 17:25:11 +02:00
arcanis f7ec24523b Release 2.3.0rc1 2022-11-11 16:36:13 +02:00
arcanis 82b932371b 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 09678a3ae1 add possibility to run full update
In case if packages are not set from web, the spawner will run full
repository update
2022-10-31 02:41:24 +02:00
arcanis 8394004943 Release 2.2.2 2022-09-17 04:05:06 +03:00
arcanis 7e20ff5184 Release 2.2.1 2022-09-14 04:49:08 +03:00
arcanis 43166e5f94 Release 2.2.0 2022-09-14 03:28:28 +03:00
arcanis 43696b9920 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 8befee58fe patch architecture list in runtime (#66) 2022-08-09 15:18:20 +03:00
arcanis eae5748a30 Release 2.1.0 2022-07-02 15:42:39 +03:00
arcanis fac228d6c6 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 eb5ac5a52b bump web libraries
also encode strings for the views
2022-06-24 12:03:38 +03:00
arcanis 047925dcfe review loggers 2022-06-21 11:48:42 +03:00
arcanis bf959ceb5f Release 2.0.0 2022-06-05 20:46:32 +03:00
arcanis 1ea3911531 rewrite api under single /api endpoint 2022-05-29 17:15:49 +03:00
arcanis d7966e419d add shell and version parser 2022-05-27 18:34:07 +03:00
arcanis 3a5268993e update readme 2022-05-22 16:00:24 +03:00
arcanis b1dfafe275 dynamic html load (#63)
* dynamic html load
* split by classes
2022-05-20 22:29:36 +03:00
arcanis dc3562a4ec add contribution guide 2022-05-11 03:17:37 +03:00
arcanis dda94f8f9e Release 2.0.0rc11 2022-05-10 06:03:33 +03:00
arcanis 89a2d8e298 Release 2.0.0rc10 2022-05-09 21:51:35 +03:00
arcanis b9cd98235e triggers implementation (#62) 2022-05-09 20:00:20 +03:00
arcanis 1905360f8f Release 2.0.0rc9 2022-05-08 03:58:53 +03:00
arcanis 73057bc08d Release 2.0.0rc8 2022-05-06 20:55:54 +03:00
arcanis c73a2a4aa9 add note about ahriman to index page 2022-05-06 02:54:37 +03:00
arcanis 571f720ae2 Complete official repository support (#59) 2022-05-03 00:49:32 +03:00
arcanis 06bd29b78d Release 2.0.0rc7 2022-04-11 00:48:08 +03:00
arcanis 307a7f4a71 Release 2.0.0rc6 2022-04-09 17:34:23 +03:00
arcanis 25734876de do not render failed packages in jinja (#57)
basic templates require package info which is unavailable if package
wasn't built
2022-04-09 17:31:13 +03:00
arcanis 53df735eb2 Release 2.0.0rc5 2022-04-08 04:42:05 +03:00
arcanis fb7275f9dd change telegram default index to telegram-index 2022-04-08 04:32:34 +03:00
arcanis 1a83e55d64 add telegram integraion 2022-04-08 03:41:07 +03:00
arcanis b8e17c4879 Release 2.0.0rc4 2022-04-08 01:14:35 +03:00
arcanis 8f18ead4cc Release 2.0.0rc3 2022-04-04 02:40:17 +03:00
arcanis 97ec5bfa41 Release 2.0.0rc2 2022-04-04 02:27:19 +03:00
arcanis c5f086a7c6 Release 2.0.0-rc1 2022-04-04 02:18:31 +03:00
arcanis a132b1544a create user in docker container
also fix user reading and add nocolor flag by default
2022-03-31 03:25:53 +03:00
arcanis 83931f5cf4 port part of settings to database (#54) 2022-03-31 01:48:06 +03:00
arcanis d4eadf0013 migrate to tox
this also requires to move default configuration files to share/ahriman.
Thus the following features have been added
* default configuration is not stored in /usr/share/ahriman/settings
* package installed via PKGBUILD now copies files from /usr
* configuration class now fallbacks to default in /usr
2022-03-21 04:38:42 +03:00
arcanis a7c6d95b34 add console printer
also add python-requests as explicit dependency and escape symbols in
repository name for badges in default tempate
2022-03-20 02:31:50 +03:00
arcanis fa4c1c6205 Release 1.8.0 2022-02-06 05:45:50 +03:00
arcanis 9197b416e6 use own aur wrapper (#49) 2022-02-06 03:44:57 +03:00
arcanis f54a2fe740 Release 1.7.0 2021-12-26 02:01:09 +03:00
arcanis 32b129a806 Release 1.6.4 2021-11-10 21:29:45 +03:00
arcanis 5b678149dc Release 1.6.3 2021-11-04 21:32:27 +03:00