weldr: update depsolve calls in weldr API

Update the weldr API to work with the new depsolve API.
Update tests to match (adding repo_id).

Co-authored-by: Achilleas Koutsou <achilleas@koutsou.net>
This commit is contained in:
Michael Vogt 2025-01-20 13:34:56 +01:00 committed by Tomáš Hozza
parent dab836de19
commit e8a0e8ff49
4 changed files with 189 additions and 85 deletions

View file

@ -148,6 +148,7 @@ func BaseDeps() []rpmmd.PackageSpec {
Arch: "x86_64",
CheckGPG: true,
Checksum: "sha256:62278d360aa5045eb202af39fe85743a4b5615f0c9c7439a04d75d785db4c720",
RepoID: "REPOID", // added by test case
},
{
Name: "dep-package1",
@ -157,6 +158,7 @@ func BaseDeps() []rpmmd.PackageSpec {
Arch: "x86_64",
CheckGPG: true,
Checksum: "sha256:fe3951d112c3b1c84dc8eac57afe0830df72df1ca0096b842f4db5d781189893",
RepoID: "REPOID", // added by test case
},
{
Name: "dep-package2",
@ -166,6 +168,7 @@ func BaseDeps() []rpmmd.PackageSpec {
Arch: "x86_64",
CheckGPG: true,
Checksum: "sha256:5797c0b0489681596b5b3cd7165d49870b85b69d65e08770946380a3dcd49ea2",
RepoID: "REPOID", // added by test case
},
}
}