Commit Graph

20 Commits

Author SHA1 Message Date
22d265e7f1 changes to db schema; more housekeeping work 2021-11-04 13:01:18 +01:00
6e0fec9cac separate srcinfo gen into func 2021-10-24 06:10:55 +02:00
a3f8155b61 more progress on housekeeping 2021-10-24 05:51:29 +02:00
3a9652b1fc simplify SQL statement 2021-10-24 05:51:29 +02:00
8612837c43 first part of housekeeping 2021-10-24 05:51:29 +02:00
7fe1ea4353 improve nspawn error handling 2021-09-09 00:27:43 +02:00
e4c2692e73 better handling of mkchroot fail 2021-09-09 00:04:24 +02:00
eb5df207a2 try locking alpm db 2021-08-31 21:13:22 +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
10d777f3a9 only write failed list if changed 2021-08-26 13:56:02 +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
c04e50208f fixed wrong version comparison logic, again 2021-07-31 01:00:47 +02:00
3405e84d82 fixed reverted version comparison 2021-07-31 00:47:30 +02:00
b1863cf33c allow package version form repo to be newer 2021-07-29 21:28:24 +02:00
959ac2d689 improved logging 2021-07-29 17:47:29 +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
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