Commit Graph

82 Commits

Author SHA1 Message Date
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
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 fdf40aa917 Apply clang-format 2021-04-01 21:08:17 +02:00
Martchus 484b3c8015 Improve command-line client 2021-03-30 20:49:08 +02:00
Martchus 6f2c6cabc2 cli: Add more build action operations 2021-03-27 21:37:28 +01:00
Martchus 6565ff54f6 cli: Restructure to use sub-operations 2021-03-27 20:09:51 +01:00
Martchus bfbde3f957 Refactor client code 2021-03-27 19:55:24 +01:00
Martchus 163ff91bff cli: Add basic listing of build actions 2021-03-25 23:44:29 +01:00
Martchus 14d82a0a8d Fix URL encoding in search params within hash 2021-03-25 22:49:44 +01:00
Martchus caa235b412 Fix typo 2021-03-25 22:46:10 +01:00
Martchus 740b4635a6 Reflect state of package search in URL 2021-03-22 16:51:57 +01:00
Martchus fa969270c1 Fix warnings 2021-03-22 15:08:41 +01:00
Martchus 3d508f7c81 Update README.md 2021-03-22 15:07:56 +01:00
Martchus ac7f38e8fa Do not access moved-from object in CleanRepository::run() 2021-03-16 15:36:57 +01:00
Martchus 9581716d8b Delete signature in the src repo when moving package 2021-03-16 15:16:03 +01:00
Martchus 307322ab11 Handle signatures when cleaning up repository 2021-03-15 19:22:28 +01:00
Martchus 1c75e8f957 Allow signing packages manually after the build
Simply adding `--sign` to the `makepkg` flags doesn't work because it would
require setting up GPG within the chroot environment (of `makechrootpkg`).

When debugging it is anyways annoying that `makepkg` sends the `gpg` output
to `/dev/null`. This way the logs are preserved.
2021-03-14 21:53:51 +01:00
Martchus 45bf4fa234 Handle signature file when adding/removing/moving/checking/cleaning packages 2021-03-14 01:53:40 +01:00
Martchus 94b39f55dc Lock working copy directory as well (as root directory) 2021-03-06 17:08:04 +01:00
Martchus 29c0741984 Allow registration of multiple data handlers 2021-03-06 16:44:42 +01:00