Martchus
90ff9678fe
Limit results returned by the API for better scalability
2022-02-25 00:29:43 +01:00
Martchus
93afb3883d
Write build action "output" log to a logfile like for sub-processes
2022-02-20 00:11:23 +01:00
Martchus
a7de520549
Use lazy-deserialization and package cache when searching in package name
2022-02-19 00:11:59 +01:00
Martchus
557fd1a738
lmdb: Use lmdb to store build actions
2022-02-13 21:04:54 +01:00
Martchus
218dfecf56
Avoid loading databases when modification date is <= last update
...
* Do HTTP head request first when loading database from mirror to avoid
downloading the full database all the time
* Use the last modification date of the local database file because with
the persistent storage even local database reloads became a bit expensive
2022-01-25 00:13:10 +01:00
Martchus
2ffa6629c8
lmdb: Use lmdb to store packages and dependency indices
2022-01-18 21:50:53 +01:00
Martchus
a2fbba9713
Allow constructing BadRequest from std::string
2021-07-07 19:46:43 +02:00
Martchus
d006c9ce4f
Fix error handling when instantiating `std::regex`
2021-07-07 19:09:32 +02:00
Martchus
49aebdd8a5
Fix typos found via `codespell --skip .git -w`
2021-07-03 19:59:57 +02:00
Martchus
05ff6cd00f
Do not set packages in conduct build actions when creating it form task
...
Usually this doesn't make sense because we want to build all packages which
were determined in the previous prepare action. When specifying the
packages again in the conduct build action we'd skip packages which are
pulled into the build as dependencies which is normally not desired.
2021-05-01 23:28:30 +02:00
Martchus
8e904ebfbf
Fix starting first build action
...
* Prevent endless recursion
* Consider starting parallel sequence also as having started an action to
prevent starting also actions which should only start after that parallel
sequence
2021-04-16 14:05:25 +02:00
Martchus
338674a9e6
Fix returning output when no offset present
2021-04-05 21:11:13 +02:00
Martchus
7ab50a121f
Split routes.cpp
2021-04-05 20:02:00 +02:00
Martchus
b73bee87b5
Add test for posting build actions from pre-defined build task
2021-04-05 19:49:04 +02:00
Martchus
ff1e955bde
Consider concurrent flag when starting build actions from task
...
This allows concurrent build actions within the same task.
2021-04-05 12:10:42 +02:00
Martchus
7f0ec081c6
Allow specifying build tasks with more complicated build actions
...
The new data structures (e.g. concurrent flag) aren't actually used yet.
2021-04-02 00:14:00 +02:00
Martchus
fa969270c1
Fix warnings
2021-03-22 15:08:41 +01:00
Martchus
3894d911d7
Fix posting build action to start it later; add basic test for the route
2021-02-08 23:54:03 +01:00
Martchus
0c8f0b04c2
Experiment with Boost.Beast to use version of async_accept accepting IO ctx
...
This would make more sense instead of using the (copy of the) same socket
object all the time.
2021-02-08 23:54:03 +01:00
Martchus
6b274ccc88
Improve log messages
2021-02-08 23:54:03 +01:00
Martchus
c1554f4c87
Initial import
2021-02-08 23:53:56 +01:00