Commit Graph

25 Commits

Author SHA1 Message Date
Martchus c7f2310250 Bump patch version 2024-03-11 12:35:21 +01:00
Martchus 82af909b9f Prevent cmake-format from messing with the comment about BOOST_ASIO_DISABLE_CONCEPTS 2023-12-21 21:00:39 +01:00
Martchus 5a006c6b6d Use CMake `option()` correctly 2023-10-16 23:50:01 +02:00
Martchus d3e556cea7 Notify systemd when the service is ready or stopping 2023-10-16 23:48:19 +02:00
Martchus cda3c34806 Avoid CMake deprecation warning by bumping version 2023-07-23 21:17:53 +02:00
Martchus cf6b90407e Workaround compilation error happening in reflection generation
The latest version of libstdc++ in Arch Linux at this point (13.1.1)
pulls in the following code via `#iterator <iterator>` when
`-std=gnu++2b` is used:

```
    template<forward_iterator _It>
      struct __basic_const_iterator_iter_cat<_It>
{ using iterator_category =
iterator_traits<_It>::iterator_category; };
```

The latest version of Clang in Arch Linux at this point (15.0.7)
complains about a missing `typename` here. To avoid this error
from preventing the build, this changes enables error resilience
for the reflection generation to turn this error into a warning.
2023-05-28 21:05:29 +02:00
Martchus 662c924321 Use `flagenumclass.h` for auth flags 2022-07-29 22:06:40 +02:00
Martchus 255da5b091 Allow passing secrets to build action 2022-07-11 23:33:28 +02:00
Martchus df2b5ba9f6 Allow secrets stored in encrypted files to be loaded from route handlers 2022-07-10 19:47:41 +02:00
Martchus 438fccd6cd Avoid fatal warning about potential null pointer deref from GCC 12
It is about code included from Boost.Asio (some io_uring related code) so
let's just not treat it as fatal error.
2022-05-12 20:45:25 +02:00
Martchus 142f6466ae Show resource usage in UI 2022-04-23 19:56:22 +02:00
Martchus a25db1f9e0 Log usage of `io_uring` 2022-02-22 00:08:21 +01:00
Martchus 8ea2f5fd62 Reintroduce cache file as it is still required for "lastUpdate" for DBs
Maybe it makes more sense to use LMDB for this as well. On the other hand
it is an easy way of keeping the remaining state persistent.
2022-02-20 20:17:42 +01:00
Martchus 334bb1faa9 Use io_uring for async file I/O 2022-02-20 18:44:07 +01:00
Martchus 557fd1a738 lmdb: Use lmdb to store build actions 2022-02-13 21:04:54 +01:00
Martchus 4fbe3df095 Allow enabling Boost.Asio's support for using `io_uring`
It won't likely do much regarding file handling as code is currently still
using `boost::asio::posix::stream_descriptor` or Boost.Beast's file
handling (which uses blocking I/O). I suppose one needs to use the new file
API described here under "Asio 1.22.0 / Boost 1.78":
https://www.boost.org/doc/libs/1_78_0/doc/html/boost_asio/history.html
2022-02-05 20:31:11 +01:00
Martchus e44cbf94e5 lmdb: Enable versioning for objects we'd like to store in the DB 2022-01-18 22:48:34 +01:00
Martchus 2ad4a39aea Handle case when a split package overrides the archs from the base 2021-08-28 00:25:09 +02:00
Martchus e5f4057c61 Use BufferSearch from c++utilities 2021-07-16 16:01:23 +02:00
Martchus 49aebdd8a5 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:59:57 +02:00
Martchus 3a797bc8b6 Adapt test to fixed behavior of splitString*() to preserve last empty part 2021-05-16 19:43:16 +02:00
Martchus 7ab50a121f Split routes.cpp 2021-04-05 20:02:00 +02:00
Martchus f147dc3179 Fix locks for global resources by implementing a mutex not tied to a thread
* Can not use a normal mutex because we don't want to tie the resources to
  a specific thread (and instead e.g. to a build action which might not be
  executed by a single thread)
* A semaphore would do that but libstdc++ only supports it as of GCC 11 and
  besides it wouldn't distinguish between shared and exclusive locking
2021-02-26 01:39:21 +01:00
Martchus 0760860c6d Log lock acquisitions/releases 2021-02-25 22:12:56 +01:00
Martchus c1554f4c87 Initial import 2021-02-08 23:53:56 +01:00