Commit Graph

17 Commits

Author SHA1 Message Date
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
2ffa6629c8 lmdb: Use lmdb to store packages and dependency indices 2022-01-18 21:50:53 +01:00
a2fbba9713 Allow constructing BadRequest from std::string 2021-07-07 19:46:43 +02:00
d006c9ce4f Fix error handling when instantiating std::regex 2021-07-07 19:09:32 +02:00
49aebdd8a5 Fix typos found via codespell --skip .git -w 2021-07-03 19:59:57 +02:00
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
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
338674a9e6 Fix returning output when no offset present 2021-04-05 21:11:13 +02:00
7ab50a121f Split routes.cpp 2021-04-05 20:02:00 +02:00
b73bee87b5 Add test for posting build actions from pre-defined build task 2021-04-05 19:49:04 +02:00
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
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
fa969270c1 Fix warnings 2021-03-22 15:08:41 +01:00
3894d911d7 Fix posting build action to start it later; add basic test for the route 2021-02-08 23:54:03 +01:00
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
6b274ccc88 Improve log messages 2021-02-08 23:54:03 +01:00
c1554f4c87 Initial import 2021-02-08 23:53:56 +01:00