1
0
forked from ALHP/ALHP.GO

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>
This commit is contained in:
2021-07-27 02:43:30 +02:00
parent 17b415f8f3
commit e28d85b10d
5 changed files with 639 additions and 412 deletions

2
go.mod
View File

@@ -5,11 +5,11 @@ go 1.16
require (
entgo.io/ent v0.8.0
github.com/Jguer/go-alpm/v2 v2.0.5
github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
github.com/Morganamilo/go-srcinfo v1.0.0
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/mattn/go-sqlite3 v1.14.6
github.com/sirupsen/logrus v1.8.1
github.com/wercker/journalhook v0.0.0-20180428041537-5d0a5ae867b3
github.com/yargevad/filepathx v1.0.0
gopkg.in/yaml.v2 v2.4.0
)