Commit Graph

16 Commits

Author SHA1 Message Date
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
5ea43c896f added pkgbuild path to db 2022-08-14 17:20:34 +02:00
f30442d100 added separate hash for srcinfo cache 2022-08-14 15:02:24 +02:00
041e7762f7 added delayed status to better differentiate between queued (skipped) and queued 2022-08-14 14:47:20 +02:00
0f46a95995 added SRCINFO caching via db 2022-08-13 20:48:34 +02:00
ed2a42318e more follow-up fixes for new build-queue 2022-03-07 17:20:24 +01:00
c7ba7340a5 added debuginfod support 2022-02-13 22:33:57 +01:00
907add4e07 verify pgp signature for a specific package only once 2022-01-18 13:41:12 +01:00
7b8dee4650 updated schema to allow multiple pkgbases/march 2021-11-29 13:42:30 +01:00
be276f9ead increase our own build-version if rebuild 2021-11-27 01:28:42 +01:00
743b08bba1 added automatic LTO fail detection for some cases based on build output 2021-11-25 01:50:49 +01:00
c77ec6d140 added LTO status to db and status page 2021-11-16 23:30:31 +01:00
22d265e7f1 changes to db schema; more housekeeping work 2021-11-04 13:01:18 +01:00
b78b09aeaa Hash each PKGBUILD and compare before parsing, fixes #25
This will speed things up significantly. See #25 for more information and discussion.
2021-08-30 11:02:06 +02:00
9fc18e7867 prepare for better stats 2021-07-26 16:38:12 +02:00
b0cfe7b205 Add database backend (SQLite) (#26)
Add database with background information for each pkgbase, for possible future use.
A static status page is generated from the db.

Currently includes:

* sub-packages
* build-time
* build-duration
* status (failed, latest, skipped, queued, building, build)
* version (both from PKGBUILD and repo)
* last checked

Database is currently only used for informational purposes. Goal is to refactor many (expensive) methods to use the db instead of searching/parsing files.

Reviewed-on: https://git.harting.dev/anonfunc/ALHP.GO/pulls/26
Co-authored-by: Giovanni Harting <539@idlegandalf.com>
Co-committed-by: Giovanni Harting <539@idlegandalf.com>
2021-07-13 18:07:29 +02:00