From b64318f17d5aa1ed40799b39ef2bfde5ffbf3054 Mon Sep 17 00:00:00 2001 From: Ning Shang Date: Tue, 7 Nov 2023 13:10:05 -0800 Subject: [PATCH] Hermit upgrade tuc and trh to 0.2.0 (#16) * Hermit upgrade tuc and trh to 0.2.0 In this first commit, we update the hermit manifest files for `tuc` and `trh` to include the latest version 0.2.0, and run the following commands hermit upgrade tuc hermit upgrade trh See the subsequent commit for how to update the sha256 digests of the newly added binaries. * Add digests of trh and tuc binaries to manifests The added sha256 digests are automatically created with commands hermit manifest add-digests bin/packages/tuc.hcl hermit manifest add-digests bin/packages/trh.hcl * Amend CODEOWNERS Update code owners. --- CODEOWNERS | 2 +- bin/{.trh-0.1.12.pkg => .trh-0.2.0.pkg} | 0 bin/{.tuc-0.1.12.pkg => .tuc-0.2.0.pkg} | 0 bin/packages/trh.hcl | 26 +++++++++++++++++++++++++ bin/packages/tuc.hcl | 26 +++++++++++++++++++++++++ bin/trh | 2 +- bin/tuc | 2 +- 7 files changed, 55 insertions(+), 3 deletions(-) rename bin/{.trh-0.1.12.pkg => .trh-0.2.0.pkg} (100%) rename bin/{.tuc-0.1.12.pkg => .tuc-0.2.0.pkg} (100%) diff --git a/CODEOWNERS b/CODEOWNERS index e643c18..5d9efe4 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,2 +1,2 @@ # See https://help.github.com/articles/about-codeowners/ -* @syncom @pldubouilh @toru @russellchapin @malapropistic +* @syncom @pldubouilh @russellchapin diff --git a/bin/.trh-0.1.12.pkg b/bin/.trh-0.2.0.pkg similarity index 100% rename from bin/.trh-0.1.12.pkg rename to bin/.trh-0.2.0.pkg diff --git a/bin/.tuc-0.1.12.pkg b/bin/.tuc-0.2.0.pkg similarity index 100% rename from bin/.tuc-0.1.12.pkg rename to bin/.tuc-0.2.0.pkg diff --git a/bin/packages/trh.hcl b/bin/packages/trh.hcl index f03ddf7..4805d9a 100644 --- a/bin/packages/trh.hcl +++ b/bin/packages/trh.hcl @@ -3,6 +3,30 @@ binaries = ["trh"] test = "trh --version" homepage = "https://docs.thistle.tech/release_helper/overview" +version "0.2.0" { + platform "linux" { + source = "https://downloads.thistle.tech/embedded-client/${version}/trh-${version}-${xarch}-unknown-linux-musl.gz" + + on "unpack" { + rename { + from = "${root}/trh-${version}-${xarch}-unknown-linux-musl" + to = "${root}/trh" + } + } + } + + platform "darwin" { + source = "https://downloads.thistle.tech/embedded-client/${version}/trh-${version}-x86_64-apple-darwin.gz" + + on "unpack" { + rename { + from = "${root}/trh-${version}-x86_64-apple-darwin" + to = "${root}/trh" + } + } + } +} + version "0.1.11" "0.1.12" { platform "linux" { source = "https://downloads.thistle.tech/embedded-client/${version}/trh-${version}-${xarch}-unknown-linux-musl" @@ -68,4 +92,6 @@ sha256sums = { "https://downloads.thistle.tech/embedded-client/0.1.11/trh-0.1.11-x86_64-apple-darwin": "f156e9c39a4b0c5ddc3ed22f4ed10a6f700dd0f162f15f99b6f2a33cdad8d900", "https://downloads.thistle.tech/embedded-client/0.1.12/trh-0.1.12-x86_64-unknown-linux-musl": "96e7709e4d8065746aac84753bb58136090bbd02a4feda559f464d5e248f845a", "https://downloads.thistle.tech/embedded-client/0.1.12/trh-0.1.12-x86_64-apple-darwin": "1cfaa7e2c671e8cc294633534cdd5dcb1acc7210bcca84b4314d4072b19b8345", + "https://downloads.thistle.tech/embedded-client/0.2.0/trh-0.2.0-x86_64-unknown-linux-musl.gz": "b4fb47948e6b92e101fdf2c37c8ba1758589509a0e7731186df515b8915c42c3", + "https://downloads.thistle.tech/embedded-client/0.2.0/trh-0.2.0-x86_64-apple-darwin.gz": "e855857a69a47a71104638b4d21d4c46605fa159d0adc7beb1eb5b9d036cda1c", } diff --git a/bin/packages/tuc.hcl b/bin/packages/tuc.hcl index e74f8a6..d96068e 100644 --- a/bin/packages/tuc.hcl +++ b/bin/packages/tuc.hcl @@ -3,6 +3,30 @@ binaries = ["tuc"] test = "tuc --version" homepage = "https://docs.thistle.tech/update_client/overview" +version "0.2.0" { + platform "linux" { + source = "https://downloads.thistle.tech/embedded-client/${version}/tuc-${version}-${xarch}-unknown-linux-musl.gz" + + on "unpack" { + rename { + from = "${root}/tuc-${version}-${xarch}-unknown-linux-musl" + to = "${root}/tuc" + } + } + } + + platform "darwin" { + source = "https://downloads.thistle.tech/embedded-client/${version}/tuc-${version}-x86_64-apple-darwin.gz" + + on "unpack" { + rename { + from = "${root}/tuc-${version}-x86_64-apple-darwin" + to = "${root}/tuc" + } + } + } +} + version "0.1.11" "0.1.12" { platform "linux" { source = "https://downloads.thistle.tech/embedded-client/${version}/tuc-${version}-${xarch}-unknown-linux-musl" @@ -68,4 +92,6 @@ sha256sums = { "https://downloads.thistle.tech/embedded-client/0.1.11/tuc-0.1.11-x86_64-unknown-linux-musl": "a3dddad5162370b99b6449380ad9c0d2f2fa7f853678204b761a3ae66a95662a", "https://downloads.thistle.tech/embedded-client/0.1.12/tuc-0.1.12-x86_64-unknown-linux-musl": "7f1103ce2006b921256bddc0fa30a69e379646fbb4d7dac3ed536f701abba39b", "https://downloads.thistle.tech/embedded-client/0.1.12/tuc-0.1.12-x86_64-apple-darwin": "4ca978e9370fe4e4e80b6ed1e8566b5ec1333610eb5a1bfd1d1d3754087e973d", + "https://downloads.thistle.tech/embedded-client/0.2.0/tuc-0.2.0-x86_64-unknown-linux-musl.gz": "3fa2f4581305f3b7ec9aee52296cf26b4ad2e7f64bb33d8f3a489ad05fdd8753", + "https://downloads.thistle.tech/embedded-client/0.2.0/tuc-0.2.0-x86_64-apple-darwin.gz": "b66991aa53669bfdfb6e9601991b83ae38176ebdd9ef25221871fdd2433beefb", } diff --git a/bin/trh b/bin/trh index 672ae58..4faec28 120000 --- a/bin/trh +++ b/bin/trh @@ -1 +1 @@ -.trh-0.1.12.pkg \ No newline at end of file +.trh-0.2.0.pkg \ No newline at end of file diff --git a/bin/tuc b/bin/tuc index c29933d..afd1000 120000 --- a/bin/tuc +++ b/bin/tuc @@ -1 +1 @@ -.tuc-0.1.12.pkg \ No newline at end of file +.tuc-0.2.0.pkg \ No newline at end of file