Commit Graph

25 Commits

Author SHA1 Message Date
ff21894aac added golangci linter; code cleanup 2022-11-20 19:19:16 +01:00
2af46109eb updated deps; regen ent 2022-11-03 13:34:11 +01:00
186e1a66c3 update deps 2022-11-03 13:31:36 +01:00
e88567ea93 added go-retry to better handle sync failures 2022-08-25 12:47:45 +02:00
c7e193e88b updated deps; minor fixed; ent regen 2022-08-12 23:00:34 +02:00
4b3339125c fixed handling of new keys/ folder; added queue cleanup to housekeeping 2022-06-22 13:14:58 +02:00
622ba6ad1a moved compiler flags out of code into flags.yaml 2022-06-18 23:57:53 +02:00
85d46f4ab0 updated deps 2022-05-11 17:00:22 +02:00
ed2a42318e more follow-up fixes for new build-queue 2022-03-07 17:20:24 +01:00
ba159e0a72 switched to weighted build-queue 2022-02-19 18:03:55 +01:00
45672e3459 update deps. 2022-02-13 21:48:43 +01:00
e9951f5d3b fixed module path, again 2022-02-11 21:33:44 +01:00
f0ac9d6052 updated deps. 2022-02-10 19:20:40 +01:00
b92b68f332 fixed package name 2022-02-10 19:18:23 +01:00
907add4e07 verify pgp signature for a specific package only once 2022-01-18 13:41:12 +01:00
9d9b8a21bc update deps 2021-12-05 12:50:53 +01:00
14f39badc6 updated deps 2021-11-29 13:40:15 +01:00
e2125ab411 dropped sqlite support 2021-11-04 13:01:18 +01:00
d8938bc225 added pgx support 2021-11-04 13:01:18 +01:00
6b73f7b9b4 updated dep. and regen ent 2021-10-24 05:51:29 +02:00
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
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
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
b6dd6f5947 added more error checking, log to journal 2021-06-12 17:57:32 +02:00
74fbc99439 inital commit 2021-06-10 21:32:11 +02:00