Commit Graph

8 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 c7e193e88b updated deps; minor fixed; ent regen 2022-08-12 23:00:34 +02:00
Giovanni Harting e9951f5d3b fixed module path, again 2022-02-11 21:33:44 +01:00
Giovanni Harting b92b68f332 fixed package name 2022-02-10 19:18:23 +01:00
Giovanni Harting 22d265e7f1 changes to db schema; more housekeeping work 2021-11-04 13:01:18 +01: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