af6e8cfa74
removed alpm lock
2021-07-27 16:24:30 +02:00
e28d85b10d
Added pre-build dependency version check ( #32 )
...
Fixes #15 .
Uses ALPM's `satisfies` to resolve dependencies and then compares resolved dependency from local sync database with svn2git's version.
Reviewed-on: https://git.harting.dev/anonfunc/ALHP.GO/pulls/32
Co-authored-by: Giovanni Harting <539@idlegandalf.com >
Co-committed-by: Giovanni Harting <539@idlegandalf.com >
2021-07-27 02:43:30 +02:00
9fc18e7867
prepare for better stats
2021-07-26 16:38:12 +02:00
6001f1b847
move skipped package output to debug
2021-07-22 23:55:06 +02:00
9515072dc8
moved hardcoded classes to config, renamed status to packages to better reflect their content
2021-07-22 23:41:24 +02:00
c6b3d02cb1
remove redundant git clean error handling
2021-07-22 12:32:27 +02:00
a76f7c24ee
delete repo-version after purging it from repo
2021-07-18 23:33:16 +02:00
4b74fe7999
added navbar and footer to statuspage; fixed not able to create database
2021-07-14 19:21:58 +02:00
193b1ee20c
do not repo-remove packages without files present
2021-07-13 20:01:42 +02:00
cd05ac9f9b
display time in utc
2021-07-13 19:51:09 +02:00
6517a96885
sort pkgbase alphabetically
2021-07-13 19:34:06 +02:00
ff323b41bd
add version to BuildPackage to keep track of successfully build package version
2021-07-13 19:18:35 +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
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
eb6f4b965a
handle git clean fail on resync
2021-07-08 05:09:02 +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
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