Commit Graph

824 Commits

Author SHA1 Message Date
arcanis 8bdf420cdc feat: suppress info log during vcs version calculation 2024-09-25 07:15:51 +03:00
arcanis 2deca6d715 refactor: even further improvements for Handler.check_status method 2024-09-25 07:15:51 +03:00
arcanis 180adf3f33 type: remove unused ignore comment 2024-09-25 07:15:51 +03:00
arcanis 634054926d docs: improve application help messages 2024-09-24 17:58:08 +03:00
arcanis 53baaac61e Release 2.15.1 2024-09-24 11:18:38 +03:00
arcanis d2a93a94e3 feat: enable changes calculation in unit 2024-09-24 11:01:37 +03:00
arcanis 7134aea125 refactor: rename Handler.check_if_empty to check_status 2024-09-24 01:36:33 +03:00
arcanis 740d537618 fix: bump pkgrel if the local version is newer than remote
In case of VCS packages, if PKGBUILD contains older version, the pkgrel
remains the same during the rebuild process. This fix bumps pkgrel in
any case if the local version is newer than the remote
2024-09-23 16:30:33 +03:00
arcanis 9f78e79f1f build: reduce docker image size 2024-09-23 14:37:36 +03:00
arcanis 09456141f5 docs: update web preview picture 2024-09-23 14:03:12 +03:00
arcanis 9e30e98e90 fix: allow colon in options interpolation 2024-09-23 13:52:49 +03:00
arcanis df2e98a1d3 Release 2.15.0 2024-09-23 03:32:01 +03:00
arcanis 24993047c6 build: speedup pacman 2024-09-23 03:30:17 +03:00
arcanis b20e844cc9 website: add logo to api docs 2024-09-23 02:39:54 +03:00
arcanis ce75ccb405 docs: update configuration references in docs 2024-09-22 15:16:34 +03:00
arcanis 1acff852d0 docs: add logo 2024-09-22 14:21:01 +03:00
arcanis 62320e8ec6 feat: drop explicit makepkg usage (#134)
* generate filenames without using makepkg

* pkgbuild parser impl

* completely remove makepkg calls

* simplify typed get

* try to improve parser

* docs and recipes updatte

* never raise keyerror instead return empty string

* udpate tests

* add support of array expansion

* docs update

* tests update

* handle quoted control sequences correctly

* expand bash

* allow packages without package function

* docs update

* add moroe tests

* small improovements

* support escaped arrays and functions
2024-09-21 03:57:22 +03:00
arcanis 1089bab526 type: ignore too-many-positional-arguments 2024-09-20 23:22:33 +03:00
arcanis 0e0012a6e0 chore: refresh icons 2024-09-20 03:29:18 +03:00
arcanis fbbb80d091 Revert "fix: update Repo.init to the latest pacman release"
This reverts commit 99ca0cb2fd.
2024-09-20 01:48:09 +03:00
arcanis 5316427371 fix: limit amount of fetches used for changes
The issue appears in case if - somehow - unknown commit sha has been
stored. In this scenario it would try to fetch infinitely
2024-09-20 01:48:03 +03:00
arcanis 0fa748f302 feat: calculate changes on package addition as well 2024-09-20 01:48:03 +03:00
arcanis 7a3d32dcfa fix: do not treat cached vcs packages as local 2024-09-20 01:47:58 +03:00
arcanis a396126a79 feat: calculate and store changes for each update 2024-09-17 15:01:45 +03:00
arcanis 9785835c0e docs: improve class init docs 2024-09-15 15:13:54 +03:00
arcanis c4f4e37731 feat: get rid of jquery (#133) 2024-09-05 02:26:52 +03:00
arcanis f43ee2fd1d build: make cerberus dependency optional 2024-09-04 22:28:25 +03:00
arcanis f7a50e5294 feat: implement stats subcommand (#132) 2024-09-04 22:28:25 +03:00
arcanis ddd3c3f06f feat: allow filter events by timestamp 2024-09-04 22:28:25 +03:00
arcanis 242f3d4d34 chore: add rss generation to samples 2024-09-04 22:28:25 +03:00
arcanis 303f9ff03c feat: add event log and update chart to package info modal 2024-09-04 22:28:25 +03:00
arcanis 65fac09d8d feat: remove duplicates from the toast 2024-09-04 22:28:25 +03:00
arcanis aaf7adbac1 refactor: simplify Validator class 2024-09-04 22:28:25 +03:00
arcanis 9e011990ee feat: allow cross reference in the configuration (#131) 2024-09-04 22:28:25 +03:00
arcanis 529d4caa0e feat: implement rss generation (#130) 2024-09-04 22:28:25 +03:00
arcanis d7c4fccf98 feat: add ability to log sql statements 2024-09-04 22:28:25 +03:00
arcanis 1e30838be4 feat: serve logs and events from the newest to oldest, but keep the
ordering

So basically initial implementation, with limit=1, would emit the oldest
record in series. New implementation will return the most recent one
instead

The response is still sorted by ascension
2024-09-04 22:28:25 +03:00
arcanis d57276f214 feat: log package update events 2024-09-04 22:28:25 +03:00
arcanis 31e59df2c8 refactor: allow event to receive keyword arguments
This change also replaces the dataclass implementation of the class to
custom one
2024-09-04 22:28:25 +03:00
arcanis 23cd843e44 feat: add timer for metrics purposes 2024-09-04 22:28:25 +03:00
arcanis c08a292070 docs: update booleans in docs 2024-09-04 22:28:25 +03:00
arcanis 5163aa4dca feat: implement audit log tables and methods (#129) 2024-09-04 22:28:25 +03:00
arcanis 69f0966ff1 feat: replace scan paths options to single one
It has been found that previous system didn't allow to configure
specific cases (e.g. a whitelisted directory inside /usr/lib/cmake). The
current solution replaces two options to single one, which also allows a
regular expressions

Also PackageArchive class has been moved to core package, because it is
more about service rather than model
2024-09-04 22:25:54 +03:00
arcanis 16308dc3ae Release 2.14.1 2024-09-04 22:01:04 +03:00
arcanis 962599e937 bug: fix removal of the packages
It has been broken since reporter improvements, because it effectivelly
1) didn't call remove functions in database
2) used empty repository identifier for web service

With those changes it also raises exception when you try to call id on
empty identifier
2024-09-04 21:50:33 +03:00
arcanis 758a81e3db chore: small contributing guide update 2024-09-04 21:49:31 +03:00
arcanis 84942e3c98 refactor: fix some IDE warnings 2024-09-04 21:49:31 +03:00
arcanis 6f8b1509d7 build: update pytest configuration to suppress deprecation warnings 2024-09-04 21:49:31 +03:00
arcanis b4372ff583 Release 2.14.0 2024-08-23 14:37:05 +03:00
arcanis 41fc7bffbb docs: improve waiter classes docs 2024-08-23 14:33:07 +03:00