Commit Graph

21 Commits

Author SHA1 Message Date
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 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 f60e8479bc regen ent 2023-01-16 11:34:35 +01:00
Giovanni Harting 2af46109eb updated deps; regen ent 2022-11-03 13:34:11 +01:00
Giovanni Harting 5ea43c896f added pkgbuild path to db 2022-08-14 17:20:34 +02:00
Giovanni Harting f30442d100 added separate hash for srcinfo cache 2022-08-14 15:02:24 +02:00
Giovanni Harting 0f46a95995 added SRCINFO caching via db 2022-08-13 20:48:34 +02:00
Giovanni Harting c7e193e88b updated deps; minor fixed; ent regen 2022-08-12 23:00:34 +02:00
Giovanni Harting ed2a42318e more follow-up fixes for new build-queue 2022-03-07 17:20:24 +01:00
Giovanni Harting c7ba7340a5 added debuginfod support 2022-02-13 22:33:57 +01:00
Giovanni Harting e9951f5d3b fixed module path, again 2022-02-11 21:33:44 +01:00
Giovanni Harting adad7c1acd regen ent with version 0.10.0 2022-02-10 19:21:16 +01:00
Giovanni Harting b92b68f332 fixed package name 2022-02-10 19:18:23 +01:00
Giovanni Harting 907add4e07 verify pgp signature for a specific package only once 2022-01-18 13:41:12 +01:00
Giovanni Harting be276f9ead increase our own build-version if rebuild 2021-11-27 01:28:42 +01:00
Giovanni Harting c77ec6d140 added LTO status to db and status page 2021-11-16 23:30:31 +01:00
Giovanni Harting 22d265e7f1 changes to db schema; more housekeeping work 2021-11-04 13:01:18 +01:00
Giovanni Harting 6b73f7b9b4 updated dep. and regen ent 2021-10-24 05:51:29 +02:00
Giovanni Harting 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
Giovanni Harting 9fc18e7867 prepare for better stats 2021-07-26 16:38:12 +02:00
Giovanni Harting 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