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
9c8366372f
Reference to issue for blacklist
2021-07-10 00:08:23 +02:00
899f48c181
increase purge channel buffer
2021-07-09 20:49:42 +02:00
a006f1b286
init maps first
2021-07-09 20:44:37 +02:00
003c15a9ee
added one thread per repo for repo actions (add/remove packages)
2021-07-09 20:37:00 +02:00
9a0dc87659
don't wait forever if package to purge was not found
2021-07-09 14:50:25 +02:00
e124e7f359
dont mix blacklisted/any packages with haskell packages
2021-07-09 14:48:27 +02:00
293f1752a8
skip haskell packages for now until dependency trees are a thing #11
2021-07-09 14:46:50 +02:00
51bf7b7924
prevent repo-remove from getting SIGKILLed because main process exited
2021-07-09 14:12:43 +02:00
a2819587f1
remove backgroundCmd, try to SIGTERM building processes without setting pgid explicitly
2021-07-08 16:30:03 +02:00
fad993c294
rearranged README.md
2021-07-08 15:26:47 +02:00
cc73e46629
added remove repo to readme, explain and list blacklist
2021-07-08 15:25:58 +02:00
293e0bda70
removed replace command (was from the old days where pkgrel was not increased)
2021-07-08 14:28:33 +02:00
eb6f4b965a
handle git clean fail on resync
2021-07-08 05:09:02 +02:00
fowler
2665739b2d
Fix replace instructions in 'README.md' ( #3 )
...
Update 'README.md'
Reviewed-on: https://git.harting.dev/anonfunc/ALHP.GO/pulls/3
Co-Authored-By: fowler <fowler@git.harting.dev >
Co-Committed-By: fowler <fowler@git.harting.dev >
2021-07-07 23:30:14 +02:00
30b308c553
fix not counting build packages as eligible
2021-07-04 13:57:49 +02:00
60469a15a6
more commenting; fixed color in stdout
2021-07-03 22:28:08 +02:00
c4e34434a1
fetch updates after git pulls, open failed files with o_sync
2021-07-03 22:13:39 +02:00
eacb58efbc
more formatting
2021-07-03 22:05:44 +02:00
7c28490157
avoid division by zero
2021-07-03 22:02:40 +02:00
f116d07311
use floats for percentage
2021-07-01 22:25:57 +02:00
d91a9a198d
start nproc parser goroutines
2021-07-01 21:40:49 +02:00
ebf0065176
parse all packages right on start. output coverage stats.
2021-07-01 21:13:48 +02:00
362a92a755
added error handling for priority drop
2021-06-30 17:41:50 +02:00
bfb0b41b49
try new exit method
2021-06-30 17:32:17 +02:00
5e944b479e
sort failed pkg-lists
2021-06-30 15:05:15 +02:00
c4f370ef37
newline for .sh, trying to get sudo to work
2021-06-30 14:54:31 +02:00
4efa17fc9e
added git clean script for better sudo integration
2021-06-30 14:34:24 +02:00
489ebf01a2
use sudo for git clean; be more verbose when clean fails
2021-06-15 13:19:52 +02:00
83ec7837cf
added more renice
2021-06-14 16:28:00 +02:00
36c6d4a61f
disable running check
2021-06-14 16:25:32 +02:00
ef404a8135
regenerate makepkg.conf on every start
2021-06-14 16:21:22 +02:00
02fcc08f00
better pgid killing
2021-06-14 16:14:17 +02:00
877243dfce
kill process group
2021-06-14 16:08:21 +02:00
7575005b9d
added rlock
2021-06-14 15:56:21 +02:00
9ef5818106
sigterm build processes when exiting
2021-06-14 15:52:53 +02:00
04d2f60e26
add build queue shuffling
2021-06-14 15:00:36 +02:00
be890c82eb
removed staging pkgs from build
2021-06-14 14:05:10 +02:00
742b949ea4
added renice, fixed testing being built.
2021-06-14 13:04:06 +02:00
cad8e609ef
added license and service file
2021-06-12 20:09:08 +02:00
b6dd6f5947
added more error checking, log to journal
2021-06-12 17:57:32 +02:00
d474df0590
stopped builds not marked as failed
2021-06-12 00:04:33 +02:00
0cd2f26021
some bugfixes regarding newline in failed txt
2021-06-11 23:00:10 +02:00
111092ce23
test different command attr set
2021-06-10 23:08:22 +02:00
ecddb97864
added newlines to failed.txt
2021-06-10 22:35:12 +02:00
305546a6e0
add more logging to repo-add fail
2021-06-10 22:28:54 +02:00
74fbc99439
inital commit
2021-06-10 21:32:11 +02:00