diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-13 15:18:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-13 15:20:51 +0900 |
| commit | eeaf26e7a24c5c51c64fc333284015224e851e8c (patch) | |
| tree | 88c24355b0b4d9ea3bf2b5548c63282d50c44729 /internal/rosa/libxml2.go | |
| parent | b587caf2e863902eb04a6540462db5852fd1a0b5 (diff) | |
internal/rosa: wrapper around git helper
This results in much cleaner call site for the majority of use cases.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libxml2.go')
| -rw-r--r-- | internal/rosa/libxml2.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/rosa/libxml2.go b/internal/rosa/libxml2.go index 9eb767f5..9a0e67df 100644 --- a/internal/rosa/libxml2.go +++ b/internal/rosa/libxml2.go @@ -7,10 +7,9 @@ func (t Toolchain) newLibxml2() (pkg.Artifact, string) { version = "2.15.2" checksum = "zwQvCIBnjzUFY-inX5ckfNT3mIezsCRV55C_Iztde5OnRTB3u33lfO5h03g7DK_8" ) - return t.NewPackage("libxml2", version, t.NewViaGit( + return t.NewPackage("libxml2", version, t.newTagRemote( "https://gitlab.gnome.org/GNOME/libxml2.git", - "refs/tags/v"+version, - mustDecode(checksum), + "v"+version, checksum, ), &PackageAttr{ // can't create shell.out: Read-only file system Writable: true, |
