Commit Graph

64 Commits

Author SHA1 Message Date
Giovanni Harting 322652b510 remove check again, since this is already handled in genQueue 2024-03-10 13:55:14 +01:00
Giovanni Harting 7f2d7f6251 avoid building packages twice if they already exist 2024-03-10 13:47:24 +01:00
Giovanni Harting 2ad5c57078 update deps; some code cleanup 2024-02-13 18:29:15 +01:00
Giovanni Harting 9822c43cf1 added detection for already build packages waiting to be moved 2023-12-10 14:51:53 +01:00
Giovanni Harting 5c01e9afc9 replace warnings even if no newline is found 2023-10-13 21:04:06 +02:00
Giovanni Harting 44c4493500 improved empty string match 2023-10-13 20:56:59 +02:00
Giovanni Harting e3f0f4230c check for empty string after warning replace 2023-10-13 20:56:30 +02:00
Giovanni Harting bb2cb0f6b4 added workaround for pacsift printing warnings for valid pacman options 2023-10-13 20:31:22 +02:00
Giovanni Harting 0e4f0f04fa fixed pacsift using system pacman.conf instead of chroot's 2023-10-13 19:41:10 +02:00
Giovanni Harting 492e377ded remove invalid utf8 from logs 2023-07-22 11:38:19 +02:00
Giovanni Harting 442b793524 code cleanup, new linter conf 2023-06-14 15:56:26 +02:00
Giovanni Harting db8cb28fc5 code cleanup 2023-06-05 15:33:02 +02:00
Giovanni Harting c63fec1ce5 return ENE if dependencies are not resolvable 2023-05-29 17:35:04 +02:00
Giovanni Harting 3bd5164682 added detection for error 404 dependency not found on mirror 2023-05-28 13:08:01 +02:00
Giovanni Harting 43db75f1f9 added multilib support 2023-05-26 12:59:59 +02:00
Giovanni Harting 6b95ba42e1 updated deps; return NEError for haskell packages 2023-05-24 01:27:54 +02:00
Giovanni Harting 36757dc711 retry regardless of error, add retry limit 2023-05-23 21:51:37 +02:00
Giovanni Harting 025ab9a75a remove redundant availability check 2023-05-23 20:29:01 +02:00
Giovanni Harting be85bc0f5a fixed isAvailable segfaulting if no dbpkg is available 2023-05-23 20:17:41 +02:00
Giovanni Harting 9e29310af6 fixed using srcinfo in isEligible 2023-05-23 18:27:44 +02:00
Giovanni Harting 3b8fe6ee0d added database update for haskell skip 2023-05-23 18:04:11 +02:00
Giovanni Harting 7668239152 do not build haskell packages; minor code cleanup 2023-05-23 17:53:48 +02:00
Giovanni Harting 9c61ac10af code cleanup 2023-05-22 14:28:37 +02:00
Giovanni Harting 32a4b9dc9e increase base wait time of clone retry 2023-05-21 21:44:15 +02:00
Giovanni Harting 3acaaa816c do not throw fatal error if clone fails 2023-05-21 21:20:05 +02:00
Giovanni Harting c59a6ed2be added git clone retry 2023-05-21 21:19:24 +02:00
Giovanni Harting 55aa18f218 mark packages not found with pacsift as unavailable 2023-05-21 21:02:12 +02:00
Giovanni Harting fc70d9e625 log git output if package clone fails 2023-05-21 21:00:07 +02:00
Giovanni Harting 9aa7f6fb64 added replacement logic for gitlab path on special characters 2023-05-21 20:44:55 +02:00
anonfunc fa902fa68c Git-based package source layout (#193)
Co-authored-by: Giovanni Harting <539@idlegandalf.com>
Reviewed-on: #193
2023-05-21 20:28:23 +02:00
Giovanni Harting 786b70b842 generate srcinfo before building to make sure we have the latest version parsed 2023-05-17 16:23:44 +02:00
Giovanni Harting 57acc40a56 switched to KCFLAGS/KCPPFLAGS to build kernels instead of patching 2023-05-16 02:53:04 +02:00
Giovanni Harting e0a4e0031b merge lto & non-lto codepaths to reduce redundant code 2023-05-15 16:03:49 +02:00
Giovanni Harting 992f5d2ed7 harmonize log messages 2023-03-15 03:03:07 +01:00
Giovanni Harting cf4f91295f only record rusage if build was successful 2023-03-14 01:36:11 +01:00
Giovanni Harting ece8c4c7d9 faster SRCINFO parsing + memory-based building
Switched to parsing srcinfo with channels on all available cpus, speeding
up srcinfo-parsing and queue generation by a lot.

New memory-limit based building will max out the available memory while
not building the same packages at the same time for different marchs,
fixing some long-standing bugs like firefox not building at the same time
because the same ports are used for profile-based optimization. This
also drops the artificial delay on build-start, speeding up things even
more. This also means there is no hard-coded limit on how many packages
can be build at once anymore. As long as there is RAM available, builds will be
started.
2023-03-14 00:46:16 +01:00
Giovanni Harting f93d14c332 export non-makepkg flags, resolves #149 2022-12-27 17:56:37 +01:00
Giovanni Harting ff21894aac added golangci linter; code cleanup 2022-11-20 19:19:16 +01:00
Giovanni Harting 930ac1f50d added regex to match "options -C embed-bitcode=no and -C lto are incompatible" 2022-11-03 15:06:56 +01:00
Giovanni Harting e4041a42d9 switched to string matching instead of bytes match 2022-11-03 13:31:36 +01:00
Giovanni Harting ba8d02927f added safeguard against version missing 2022-08-14 21:40:42 +02:00
Giovanni Harting 05f36bef88 added check for srcinfo in importKeys 2022-08-14 16:09:22 +02:00
Giovanni Harting f30442d100 added separate hash for srcinfo cache 2022-08-14 15:02:24 +02:00
Giovanni Harting 041e7762f7 added delayed status to better differentiate between queued (skipped) and queued 2022-08-14 14:47:20 +02:00
Giovanni Harting ef61ad7dcf added removing overdue packages 2022-08-13 22:51:43 +02:00
Giovanni Harting c8b31b3275 added more db-based lookups 2022-08-13 22:27:56 +02:00
Giovanni Harting 87cf1e5631 reworked queue building to use the db; multi threading for SRCINFO gen 2022-08-13 21:54:07 +02:00
Giovanni Harting 0f46a95995 added SRCINFO caching via db 2022-08-13 20:48:34 +02:00
Giovanni Harting 5ea156b48a added TODO hint for reverted commit e911be6 2022-08-12 23:22:22 +02:00
Giovanni Harting 9b28ceebb8 Revert "Added purge for 'ancient' out-of-date packages"
This reverts commit e911be6b6e.
2022-08-12 23:19:18 +02:00