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
e835a54745
skip packages with unresolvable dependencies
2021-08-26 12:59:23 +02:00
a80b5d4c56
skip packages with a multiple PKGBUILD-dependency
2021-08-26 12:21:32 +02:00
5c754f8867
set buildtime when start building
2021-08-26 12:21:32 +02:00
31022f2384
avoid nil reference
2021-07-29 20:45:45 +02:00
959ac2d689
improved logging
2021-07-29 17:47:29 +02:00
816ce81207
release alpm handle
2021-07-29 00:45:45 +02:00
156ac4c2cb
reinit alpm after pacman sync
2021-07-29 00:43:22 +02:00
db02be5caa
moved some const to utils.go
2021-07-28 02:31:53 +02:00
ff011edd4d
improved logging to return what package is missing on mirror
2021-07-27 18:51:35 +02:00
1ee2cc1ea8
handle broken dependencies
2021-07-27 18:42:37 +02:00
a433b8144c
added skipreason if waiting on mirror
2021-07-27 16:48:19 +02:00
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