Commit Graph

103 Commits

Author SHA1 Message Date
Martchus 1cc8a3d6db Add warnings about missing DLLs to the build action's result 2021-08-28 15:06:24 +02:00
Martchus 2ad4a39aea Handle case when a split package overrides the archs from the base 2021-08-28 00:25:09 +02:00
Martchus 95ae827c74 Fix applying relative working directory multiple times 2021-07-31 14:55:49 +02:00
Martchus 1ce736d66f Fix passing the body limit to nested `cachePackages()` calls 2021-07-25 01:25:30 +02:00
Martchus 075f539480 Avoid copying strings when splitting lock names for custom command 2021-07-25 00:41:46 +02:00
Martchus f3ec908bcc Hold lock for named lock table not while acquiring named lock
Otherwise all other attempts to acquire named locks are blocked. It should
be ok because references are not invalidated when inserting/accessing
elements of an `std::unique_map`. When cleaning locks up elements are
erased, though. Hence an additional cleanup lock is required to prevent
acquiring a named lock which has already been cleaned up.
2021-07-25 00:40:39 +02:00
Martchus 4850ada836 Add instructions for sharing ccache with other user 2021-07-20 18:55:25 +02:00
Martchus bbc7c3a533 Ignore empty packages within the cache dir
Those are most likely leftovers from  previous failed download attempts and
can be ignored. (Existing files are overridden.)
2021-07-17 23:58:37 +02:00
Martchus e5f4057c61 Use BufferSearch from c++utilities 2021-07-16 16:01:23 +02:00
Martchus bc8a0549b2 Log package download limit 2021-07-14 15:27:49 +02:00
Martchus 909f7bfab0 Use default package download size limit if it is set to zero 2021-07-14 15:23:18 +02:00
Martchus e0a913b16c Apply clang-format 2021-07-13 00:41:49 +02:00
Martchus c10df26871 Adapt to versioning changes in reflective rapidjson 2021-07-13 00:41:25 +02:00
Martchus e3803b9852 Mention limitation of open connections in README.md 2021-07-12 15:26:04 +02:00
Martchus c05a581322 Increase the max. download size for packages and allow configuring it 2021-07-12 15:00:43 +02:00
Martchus 5ec527bebb Fix typo in test suite consistently 2021-07-07 20:13:22 +02:00
Martchus a2fbba9713 Allow constructing BadRequest from std::string 2021-07-07 19:46:43 +02:00
Martchus b5ca815e4c Allow excluding packages via regex when reloading library dependencies
This recently failed because the cuda package exceeded the max. body size.
I suppose it makes generally sense to be able to exclude packages as I
don't need that package anyways.
2021-07-07 19:14:03 +02:00
Martchus d006c9ce4f Fix error handling when instantiating `std::regex` 2021-07-07 19:09:32 +02:00
Martchus 17c5f50440 Do not exit process if config values are invalid
This is not a good idea when re-reading the config after startup.
2021-07-07 19:08:47 +02:00
Martchus 49aebdd8a5 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:59:57 +02:00
Martchus 8b70cc5f8e Clear added/removed provides from previous builds 2021-06-22 00:02:41 +02:00
Martchus f685fddd20 Add `.pid`-equivalent for Boost.Asio's Windows-executor 2021-06-22 00:01:55 +02:00
Martchus 0a55412625 Remove unused #include 2021-06-21 23:58:34 +02:00
Martchus 687cf4f996 Make inclusion of tabulate project optional 2021-06-21 23:57:58 +02:00
Martchus d9203689a0 Fix param for PrepareBuildFlags::ResetChrootSettings 2021-06-04 16:47:24 +02:00
Martchus e1b1f99ecc Improve README.md and examples 2021-06-03 23:05:19 +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 9359004a10 Allow resetting chroot settings as well when preparing build 2021-05-16 16:49:09 +02:00
Martchus efbcef5e6e Fix error handling when makechrootpkg can not be invoked 2021-05-16 13:49:57 +02:00
Martchus b9c7f05ef1 Add missing include for condition_variable 2021-05-15 21:04:21 +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 6101eaa6b6 Ensure staging flag is not unset 2021-04-28 22:19:10 +02:00
Martchus a96ba707cd Populate list of packages to be re-built also for removed libraries 2021-04-28 21:58:33 +02:00
Martchus 12050364c8 Handle signature cleanup alongside related package even if package symlink broken 2021-04-27 17:06:47 +02:00
Martchus f621a87812 Update tabulate to v1.4 2021-04-18 12:00:18 +02:00
Martchus e4755a283b Prevent running out of memory when signing split packages
* Launch only up to 4 gpg processes at a time
* Prevent `gpg: signing failed: Nicht genügend Hauptspeicher verfügbar`
2021-04-17 17:30:18 +02:00
Martchus 56ad8ab761 web UI: Fix links to build action details in build action table 2021-04-17 12:04:40 +02:00
Martchus af4cd15ced Apply clang-format 2021-04-16 14:06:38 +02:00
Martchus 56ad086c0c Start the next job only if all start after actions were successful 2021-04-16 14:06:18 +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 80c99cb179 Support receiving a body as well when handling chunks individually 2021-04-14 17:56:29 +02:00
Martchus f5d3bd41d1 cli: Allow streaming logfiles and artefacts 2021-04-14 17:56:29 +02:00
Martchus 977fd6f415 cli: Print logfiles and artefacts 2021-04-14 17:56:29 +02:00
Martchus 5d8dce0eed Update README.md 2021-04-14 17:56:29 +02:00
Martchus da9ddc2079 Apply clang-format 2021-04-14 17:56:29 +02:00
Martchus e47edcc09e Allow live-streaming via CLI 2021-04-12 14:03:47 +02:00
Martchus 338674a9e6 Fix returning output when no offset present 2021-04-05 21:11:13 +02:00
Martchus 901092ba09 Fix condition for check whether reloading build action details is required 2021-04-05 20:29:03 +02:00
Martchus 7ab50a121f Split routes.cpp 2021-04-05 20:02:00 +02:00