From 7d7b6d91b93100f39672f0d5291a9e03340322ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:03:10 +0100 Subject: [PATCH 01/28] refactor: switch to git checkout for amber package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/amber/brioche.lock | 7 +++---- packages/amber/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/amber/brioche.lock b/packages/amber/brioche.lock index bfbdfe5..53ff0b9 100644 --- a/packages/amber/brioche.lock +++ b/packages/amber/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/amber-lang/amber/archive/refs/tags/0.4.0-alpha.tar.gz": { - "type": "sha256", - "value": "14046dd50c12c5f470177fc43029495fb8f489ba84fe301e3aada1f32493b211" + "git_refs": { + "https://github.com/amber-lang/amber.git": { + "0.4.0-alpha": "d3ceda317fc053ae9645e9f3c8f166657eba24e9" } } } diff --git a/packages/amber/project.bri b/packages/amber/project.bri index e93ae27..a716d18 100644 --- a/packages/amber/project.bri +++ b/packages/amber/project.bri @@ -1,5 +1,6 @@ import nushell from "nushell"; import * as std from "std"; +import { gitCheckout } from "git"; import { cargoBuild } from "rust"; export const project = { @@ -7,11 +8,12 @@ export const project = { version: "0.4.0-alpha", }; -const source = Brioche.download( - `https://github.com/amber-lang/amber/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/amber-lang/amber.git", + ref: `${project.version}`, + }), +); export default function amber(): std.Recipe { return cargoBuild({ From fcaaae1761f8668ea36cff456ee74cdb717d5246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:03:35 +0100 Subject: [PATCH 02/28] feat: switch to git checkout for asciinema package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/asciinema/brioche.lock | 9 +++++---- packages/asciinema/project.bri | 12 +++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/packages/asciinema/brioche.lock b/packages/asciinema/brioche.lock index 43ab1bc..54c2343 100644 --- a/packages/asciinema/brioche.lock +++ b/packages/asciinema/brioche.lock @@ -8,10 +8,11 @@ "https://files.pythonhosted.org/packages/ff/ae/f19306b5a221f6a436d8f2238d5b80925004093fa3edea59835b514d9057/setuptools-75.1.0-py3-none-any.whl": { "type": "sha256", "value": "35ab7fd3bcd95e6b7fd704e4a1539513edad446c097797f2985e0e4b960772f2" - }, - "https://github.com/asciinema/asciinema/archive/refs/tags/v2.4.0.tar.gz": { - "type": "sha256", - "value": "b0e05f0b5ae7ae4e7186c6bd824e6d670203bb24f1c89ee52fc8fae7254e6091" + } + }, + "git_refs": { + "https://github.com/asciinema/asciinema.git": { + "v2.4.0": "1a71be26c4c29e7cd98b97a11233cf3fb724ba9b" } } } diff --git a/packages/asciinema/project.bri b/packages/asciinema/project.bri index 095d4fb..d6af922 100644 --- a/packages/asciinema/project.bri +++ b/packages/asciinema/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import python from "python"; +import { gitCheckout } from "git"; export const project = { name: "asciinema", version: "2.4.0", }; -const source = Brioche.download( - `https://github.com/asciinema/asciinema/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/asciinema/asciinema.git", + ref: `v${project.version}`, + }), +); const pipDependencies = std.directory({ "setuptools-75.1.0-py3-none-any.whl": Brioche.download( From c7824a2961771145f4a0ec37a3a33d09913147c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:03:51 +0100 Subject: [PATCH 03/28] refactor: switch to git checkout for bat package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/bat/brioche.lock | 7 +++---- packages/bat/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/bat/brioche.lock b/packages/bat/brioche.lock index 34bb981..5618a1e 100644 --- a/packages/bat/brioche.lock +++ b/packages/bat/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/sharkdp/bat/archive/refs/tags/v0.25.0.tar.gz": { - "type": "sha256", - "value": "4433403785ebb61d1e5d4940a8196d020019ce11a6f7d4553ea1d324331d8924" + "git_refs": { + "https://github.com/sharkdp/bat.git": { + "v0.25.0": "25f4f96ea3afb6fe44552f3b38ed8b1540ffa1b3" } } } diff --git a/packages/bat/project.bri b/packages/bat/project.bri index 9cdc158..0b6c1c8 100644 --- a/packages/bat/project.bri +++ b/packages/bat/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "bat", version: "0.25.0", }; -const source = Brioche.download( - `https://github.com/sharkdp/bat/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/sharkdp/bat.git", + ref: `v${project.version}`, + }), +); export default function bat(): std.Recipe { return cargoBuild({ From 43646f8d2dc208f0d3d4f98ea539a74589c88199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:02 +0100 Subject: [PATCH 04/28] refactor: switch to git checkout for broot package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/broot/brioche.lock | 7 +++---- packages/broot/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/broot/brioche.lock b/packages/broot/brioche.lock index 9ef648a..5e410e4 100644 --- a/packages/broot/brioche.lock +++ b/packages/broot/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/Canop/broot/archive/refs/tags/v1.44.6.tar.gz": { - "type": "sha256", - "value": "554abc12c8343a0e921f92740e06bf3a86993f71eb78246c9b494293da13b1df" + "git_refs": { + "https://github.com/Canop/broot.git": { + "v1.44.6": "ba709580aa824549674ac5f424f67e2297ddfe19" } } } diff --git a/packages/broot/project.bri b/packages/broot/project.bri index 9fa09d6..212cd35 100644 --- a/packages/broot/project.bri +++ b/packages/broot/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "broot", version: "1.44.6", }; -const source = Brioche.download( - `https://github.com/Canop/broot/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/Canop/broot.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From b4d398f915c4fc4990c09498fb811dea4cdd6c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:12 +0100 Subject: [PATCH 05/28] refactor: switch to git checkout for carapace package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/carapace/brioche.lock | 7 +++---- packages/carapace/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/carapace/brioche.lock b/packages/carapace/brioche.lock index 083023e..d47e228 100644 --- a/packages/carapace/brioche.lock +++ b/packages/carapace/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/carapace-sh/carapace-bin/archive/refs/tags/v1.1.1.tar.gz": { - "type": "sha256", - "value": "c479ef19a9d1b5a8579abb2da437afe7fb024ab23d11feadf746ffda0bbc833a" + "git_refs": { + "https://github.com/carapace-sh/carapace.git": { + "v1.1.1": "74167cbe2c66c0bbd8a11c5adcd58ec68b1be337" } } } diff --git a/packages/carapace/project.bri b/packages/carapace/project.bri index 7b85725..946a0e7 100644 --- a/packages/carapace/project.bri +++ b/packages/carapace/project.bri @@ -1,4 +1,5 @@ import * as std from "std"; +import { gitCheckout } from "git"; import { goBuild } from "go"; export const project = { @@ -6,11 +7,12 @@ export const project = { version: "1.1.1", }; -const source = Brioche.download( - `https://github.com/carapace-sh/carapace-bin/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/carapace-sh/carapace.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return goBuild({ From 495201d2438e0402e35fbdc30f8a4e9ef889b47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:19 +0100 Subject: [PATCH 06/28] refactor: switch to git checkout for dust package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/dust/brioche.lock | 7 +++---- packages/dust/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/dust/brioche.lock b/packages/dust/brioche.lock index d891db3..03c7b7e 100644 --- a/packages/dust/brioche.lock +++ b/packages/dust/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/bootandy/dust/archive/refs/tags/v1.1.1.tar.gz": { - "type": "sha256", - "value": "98cae3e4b32514e51fcc1ed07fdbe6929d4b80942925348cc6e57b308d9c4cb0" + "git_refs": { + "https://github.com/bootandy/dust.git": { + "v1.1.1": "dbd18f90e7b184d12f14533e76e5915dbe4a2051" } } } diff --git a/packages/dust/project.bri b/packages/dust/project.bri index 603764a..eaf6d36 100644 --- a/packages/dust/project.bri +++ b/packages/dust/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "dust", version: "1.1.1", }; -const source = Brioche.download( - `https://github.com/bootandy/dust/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/bootandy/dust.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 2957fc32ca527dad9b19ddb377d03148bf114cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:25 +0100 Subject: [PATCH 07/28] refactor: switch to git checkout for eza package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/eza/brioche.lock | 7 +++---- packages/eza/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/eza/brioche.lock b/packages/eza/brioche.lock index e501269..75f5c88 100644 --- a/packages/eza/brioche.lock +++ b/packages/eza/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/eza-community/eza/archive/refs/tags/v0.20.17.tar.gz": { - "type": "sha256", - "value": "62bcf8f1b2d087fa0c2c8365e4427ad30ffa986330413191da47061aecfe20de" + "git_refs": { + "https://github.com/eza-community/eza.git": { + "v0.20.17": "2353c15e2fc091e74a813cc90463bfffe67d50e3" } } } diff --git a/packages/eza/project.bri b/packages/eza/project.bri index 4042414..337364e 100644 --- a/packages/eza/project.bri +++ b/packages/eza/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "eza", version: "0.20.17", }; -const source = Brioche.download( - `https://github.com/eza-community/eza/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/eza-community/eza.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From c5e229030be7e5259f778f1c46890bed95f653e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:31 +0100 Subject: [PATCH 08/28] refactor: switch to git checkout for fd package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/fd/brioche.lock | 7 +++---- packages/fd/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/fd/brioche.lock b/packages/fd/brioche.lock index fc83fa5..b75f4c4 100644 --- a/packages/fd/brioche.lock +++ b/packages/fd/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/sharkdp/fd/archive/refs/tags/v10.2.0.tar.gz": { - "type": "sha256", - "value": "73329fe24c53f0ca47cd0939256ca5c4644742cb7c14cf4114c8c9871336d342" + "git_refs": { + "https://github.com/sharkdp/fd.git": { + "v10.2.0": "b19136871310b01500b4f09eadd7387b8476be47" } } } diff --git a/packages/fd/project.bri b/packages/fd/project.bri index b53626a..3cf5876 100644 --- a/packages/fd/project.bri +++ b/packages/fd/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "fd", version: "10.2.0", }; -const source = Brioche.download( - `https://github.com/sharkdp/fd/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/sharkdp/fd.git", + ref: `v${project.version}`, + }), +); export default function fd(): std.Recipe { return cargoBuild({ From 39c92bce9afa4a0f08bd81b858957fd0bc5c8714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:36 +0100 Subject: [PATCH 09/28] refactor: switch to git checkout for joshuto package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/joshuto/brioche.lock | 7 +++---- packages/joshuto/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/joshuto/brioche.lock b/packages/joshuto/brioche.lock index 5e98edb..698a221 100644 --- a/packages/joshuto/brioche.lock +++ b/packages/joshuto/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/kamiyaa/joshuto/archive/refs/tags/v0.9.8.tar.gz": { - "type": "sha256", - "value": "877d841b2e26d26d0f0f2e6f1dab3ea2fdda38c345abcd25085a3f659c24e013" + "git_refs": { + "https://github.com/kamiyaa/joshuto.git": { + "v0.9.8": "2a392e85633d73a7bfc55feb80c62ecabe70de75" } } } diff --git a/packages/joshuto/project.bri b/packages/joshuto/project.bri index 5dff424..7eafb38 100644 --- a/packages/joshuto/project.bri +++ b/packages/joshuto/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "joshuto", version: "0.9.8", }; -const source = Brioche.download( - `https://github.com/kamiyaa/joshuto/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/kamiyaa/joshuto.git", + ref: `v${project.version}`, + }), +); // Patch `Cargo.lock` to fix builds with Rust >= 1.80. This patch is derived // from the `Cargo.lock` from this commit in Joshuto: From fa047baace76b486b524ba4229acea5ca61a6324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:42 +0100 Subject: [PATCH 10/28] refactor: switch to git checkout for jq package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/jq/brioche.lock | 7 +++---- packages/jq/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/jq/brioche.lock b/packages/jq/brioche.lock index b15820f..9bcc751 100644 --- a/packages/jq/brioche.lock +++ b/packages/jq/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-1.7.1.tar.gz": { - "type": "sha256", - "value": "478c9ca129fd2e3443fe27314b455e211e0d8c60bc8ff7df703873deeee580c2" + "git_refs": { + "https://github.com/jqlang/jq.git": { + "jq-1.7.1": "71c2ab509a8628dbbad4bc7b3f98a64aa90d3297" } } } diff --git a/packages/jq/project.bri b/packages/jq/project.bri index fdbf16c..6861880 100644 --- a/packages/jq/project.bri +++ b/packages/jq/project.bri @@ -1,3 +1,4 @@ +import { gitCheckout } from "git"; import * as std from "std"; export const project = { @@ -5,11 +6,12 @@ export const project = { version: "1.7.1", }; -const source = Brioche.download( - `https://github.com/jqlang/jq/releases/download/jq-${project.version}/jq-${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/jqlang/jq.git", + ref: `jq-${project.version}`, + }), +); export default function (): std.Recipe { const jq = std.runBash` From 3212de8cc391c96b1528a464cc1d993362d8f9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:50 +0100 Subject: [PATCH 11/28] refactor: switch to git checkout for jujutsu package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/jujutsu/brioche.lock | 7 +++---- packages/jujutsu/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/jujutsu/brioche.lock b/packages/jujutsu/brioche.lock index be59ee7..2bb6ee1 100644 --- a/packages/jujutsu/brioche.lock +++ b/packages/jujutsu/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/martinvonz/jj/archive/refs/tags/v0.25.0.tar.gz": { - "type": "sha256", - "value": "3a99528539e414a3373f24eb46a0f153d4e52f7035bb06df47bd317a19912ea3" + "git_refs": { + "https://github.com/martinvonz/jj.git": { + "v0.25.0": "041c4fecb77434dd6720e7d7f1ce48d9575ac5f7" } } } diff --git a/packages/jujutsu/project.bri b/packages/jujutsu/project.bri index e5ceec3..d27f32d 100644 --- a/packages/jujutsu/project.bri +++ b/packages/jujutsu/project.bri @@ -1,17 +1,19 @@ import * as std from "std"; import openssl from "openssl"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "jujutsu", version: "0.25.0", }; -const source = Brioche.download( - `https://github.com/martinvonz/jj/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/martinvonz/jj.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From d712136c48741ae920bc0a27592a0334a078b733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:55 +0100 Subject: [PATCH 12/28] refactor: switch to git checkout for just package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/just/brioche.lock | 7 +++---- packages/just/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/just/brioche.lock b/packages/just/brioche.lock index 8c23616..b52e42b 100644 --- a/packages/just/brioche.lock +++ b/packages/just/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/casey/just/archive/refs/tags/1.38.0.tar.gz": { - "type": "sha256", - "value": "3d47e27755d39f40e1ca34bc0ef535fa514e7ed547b2af62311dcadd8bd6d564" + "git_refs": { + "https://github.com/casey/just.git": { + "1.38.0": "37dc2e490e765b4a54c182b7b35a67f7e09e2049" } } } diff --git a/packages/just/project.bri b/packages/just/project.bri index 7ba03c8..278c826 100644 --- a/packages/just/project.bri +++ b/packages/just/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "just", version: "1.38.0", }; -const source = Brioche.download( - `https://github.com/casey/just/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/casey/just.git", + ref: `${project.version}`, + }), +); export default function just(): std.Recipe { return cargoBuild({ From b7d3f75116eac278d3bb51a7f1bafa7c9466b151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:04:59 +0100 Subject: [PATCH 13/28] refactor: switch to git checkout for jwt_cli package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/jwt_cli/brioche.lock | 7 +++---- packages/jwt_cli/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/jwt_cli/brioche.lock b/packages/jwt_cli/brioche.lock index c17e401..0818057 100644 --- a/packages/jwt_cli/brioche.lock +++ b/packages/jwt_cli/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/mike-engel/jwt-cli/archive/refs/tags/6.2.0.tar.gz": { - "type": "sha256", - "value": "49d67d920391978684dc32b75e553a2abbd46c775365c0fb4b232d22c0ed653a" + "git_refs": { + "https://github.com/mike-engel/jwt-cli.git": { + "6.2.0": "fe5fdd375c9ae4094490d47b3e7bdd6c597d9945" } } } diff --git a/packages/jwt_cli/project.bri b/packages/jwt_cli/project.bri index cce74d8..e10bbaf 100644 --- a/packages/jwt_cli/project.bri +++ b/packages/jwt_cli/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "jwt_cli", version: "6.2.0", }; -const source = Brioche.download( - `https://github.com/mike-engel/jwt-cli/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/mike-engel/jwt-cli.git", + ref: `${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From ebb368e550a66e881a9363cc9dafc6b645072979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:04 +0100 Subject: [PATCH 14/28] refactor: switch to git checkout for lurk package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/lurk/brioche.lock | 7 +++---- packages/lurk/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/lurk/brioche.lock b/packages/lurk/brioche.lock index c87e3da..94fc3a7 100644 --- a/packages/lurk/brioche.lock +++ b/packages/lurk/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/JakWai01/lurk/archive/refs/tags/v0.3.9.tar.gz": { - "type": "sha256", - "value": "c26f6c76dfad463108cf1559636136b51ec59d96971dd54477e8be1151c55a57" + "git_refs": { + "https://github.com/JakWai01/lurk.git": { + "v0.3.9": "4a9c7f5fc2b4a07509c0652fa1bb777d3ce77b08" } } } diff --git a/packages/lurk/project.bri b/packages/lurk/project.bri index 26c27aa..1304466 100644 --- a/packages/lurk/project.bri +++ b/packages/lurk/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "lurk", version: "0.3.9", }; -const source = Brioche.download( - `https://github.com/JakWai01/lurk/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/JakWai01/lurk.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From d4452b75edeaa5db13d4534d09e1c41c1254d46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:09 +0100 Subject: [PATCH 15/28] refactor: switch to git checkout for miniserve package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/miniserve/brioche.lock | 7 +++---- packages/miniserve/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/miniserve/brioche.lock b/packages/miniserve/brioche.lock index c2d5d38..991285f 100644 --- a/packages/miniserve/brioche.lock +++ b/packages/miniserve/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/svenstaro/miniserve/archive/refs/tags/v0.28.0.tar.gz": { - "type": "sha256", - "value": "c4c5e12796bdae2892eff3832b66c4c04364738b62cf1429259428b03363d1f1" + "git_refs": { + "https://github.com/svenstaro/miniserve.git": { + "v0.28.0": "8876500f3caa42b21771576367bf5426782da104" } } } diff --git a/packages/miniserve/project.bri b/packages/miniserve/project.bri index d49e169..d49b083 100644 --- a/packages/miniserve/project.bri +++ b/packages/miniserve/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "miniserve", version: "0.28.0", }; -const source = Brioche.download( - `https://github.com/svenstaro/miniserve/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/svenstaro/miniserve.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 8934d6282cceadf5407548a2740aba18ecb12e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:14 +0100 Subject: [PATCH 16/28] refactor: switch to git checkout for nushell package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/nushell/brioche.lock | 7 +++---- packages/nushell/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/nushell/brioche.lock b/packages/nushell/brioche.lock index ce27414..06d82ae 100644 --- a/packages/nushell/brioche.lock +++ b/packages/nushell/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/nushell/nushell/archive/refs/tags/0.101.0.tar.gz": { - "type": "sha256", - "value": "43e4a123e86f0fb4754e40d0e2962b69a04f8c2d58470f47cb9be81daabab347" + "git_refs": { + "https://github.com/nushell/nushell.git": { + "0.101.0": "fb2610904997f54f50ad52095948bede81695f31" } } } diff --git a/packages/nushell/project.bri b/packages/nushell/project.bri index 8c1b8de..a26841d 100644 --- a/packages/nushell/project.bri +++ b/packages/nushell/project.bri @@ -1,17 +1,19 @@ import * as std from "std"; import openssl from "openssl"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "nushell", version: "0.101.0", }; -const source = Brioche.download( - `https://github.com/nushell/nushell/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/nushell/nushell.git", + ref: `${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 1d813428246b1aadbbf36bf34bbdc7e5471b03a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:19 +0100 Subject: [PATCH 17/28] refactor: switch to git checkout for oha package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/oha/brioche.lock | 7 +++---- packages/oha/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/oha/brioche.lock b/packages/oha/brioche.lock index 6d8a23f..0f75210 100644 --- a/packages/oha/brioche.lock +++ b/packages/oha/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/hatoo/oha/archive/refs/tags/v1.6.0.tar.gz": { - "type": "sha256", - "value": "44ae493c24f42f8994b4192ace99e63866c054e305d368bf77176108cbfa93fd" + "git_refs": { + "https://github.com/hatoo/oha.git": { + "v1.6.0": "349b43dabf889933d2332922aa69b0ed9cb205b3" } } } diff --git a/packages/oha/project.bri b/packages/oha/project.bri index be2b4df..c099f0c 100644 --- a/packages/oha/project.bri +++ b/packages/oha/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "oha", version: "1.6.0", }; -const source = Brioche.download( - `https://github.com/hatoo/oha/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/hatoo/oha.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From fdf83106fd69a54207d7019547a6c12b811125e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:23 +0100 Subject: [PATCH 18/28] refactor: switch to git checkout for oniguruma package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/oniguruma/brioche.lock | 7 +++---- packages/oniguruma/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/oniguruma/brioche.lock b/packages/oniguruma/brioche.lock index 82441e3..527bd03 100644 --- a/packages/oniguruma/brioche.lock +++ b/packages/oniguruma/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/kkos/oniguruma/archive/refs/tags/v6.9.10.tar.gz": { - "type": "sha256", - "value": "ad92309d0d13eebc27f6592e875f3efbfa3dda2bf6da5952e00f0a2120c921a8" + "git_refs": { + "https://github.com/kkos/oniguruma.git": { + "v6.9.10": "4ef89209a239c1aea328cf13c05a2807e5c146d1" } } } diff --git a/packages/oniguruma/project.bri b/packages/oniguruma/project.bri index 07ee4df..ad5e9b3 100644 --- a/packages/oniguruma/project.bri +++ b/packages/oniguruma/project.bri @@ -1,15 +1,17 @@ import * as std from "std"; +import { gitCheckout } from "git"; export const project = { name: "oniguruma", version: "6.9.10", }; -const source = Brioche.download( - `https://github.com/kkos/oniguruma/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/kkos/oniguruma.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { let oniguruma = std.runBash` From 2546d3f437a795c9e64fad741ec944197d12c7de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:29 +0100 Subject: [PATCH 19/28] refactor: switch to git checkout for opentofu package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/opentofu/brioche.lock | 7 +++---- packages/opentofu/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/opentofu/brioche.lock b/packages/opentofu/brioche.lock index 076f9d7..a7f9e21 100644 --- a/packages/opentofu/brioche.lock +++ b/packages/opentofu/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/opentofu/opentofu/archive/refs/tags/v1.9.0.tar.gz": { - "type": "sha256", - "value": "95234f00bb8a6d73bcd3f3920e376a32189004df3aaf26cb95917cec5441f8a8" + "git_refs": { + "https://github.com/opentofu/opentofu.git": { + "v1.9.0": "0d57aa4f35998bf2847ac3acb343f9e16b5c2995" } } } diff --git a/packages/opentofu/project.bri b/packages/opentofu/project.bri index 90eda6f..4d2a448 100644 --- a/packages/opentofu/project.bri +++ b/packages/opentofu/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { goBuild } from "go"; +import { gitCheckout } from "git"; export const project = { name: "opentofu", version: "1.9.0", }; -const source = Brioche.download( - `https://github.com/opentofu/opentofu/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/opentofu/opentofu.git", + ref: `v${project.version}`, + }), +); export default function tofu(): std.Recipe { return goBuild({ From 2f70b7c6b4620f378791051c0cc878fa14c2369f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:05:34 +0100 Subject: [PATCH 20/28] refactor: switch to git checkout for pcre2 package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/pcre2/brioche.lock | 7 +++---- packages/pcre2/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/pcre2/brioche.lock b/packages/pcre2/brioche.lock index 9a6cdbf..c5ef206 100644 --- a/packages/pcre2/brioche.lock +++ b/packages/pcre2/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/PCRE2Project/pcre2/archive/refs/tags/pcre2-10.44.tar.gz": { - "type": "sha256", - "value": "07a002e8216382a96f722bc4a831f3d77457fe3e9e62a6dff250a2dd0e9c5e6d" + "git_refs": { + "https://github.com/PCRE2Project/pcre2.git": { + "pcre2-10.44": "6ae58beca071f13ccfed31d03b3f479ab520639b" } } } diff --git a/packages/pcre2/project.bri b/packages/pcre2/project.bri index 668f842..8196792 100644 --- a/packages/pcre2/project.bri +++ b/packages/pcre2/project.bri @@ -1,15 +1,17 @@ import * as std from "std"; +import { gitCheckout } from "git"; export const project = { name: "pcre2", version: "10.44", }; -const source = Brioche.download( - `https://github.com/PCRE2Project/pcre2/archive/refs/tags/pcre2-${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/PCRE2Project/pcre2.git", + ref: `pcre2-${project.version}`, + }), +); export default function (): std.Recipe { const pcre2 = std.runBash` From c45a6e912dbb89e286c9094bd953348bd4dfbd88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:02 +0100 Subject: [PATCH 21/28] refactor: switch to git checkout for ripgrep package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/ripgrep/brioche.lock | 7 +++---- packages/ripgrep/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/ripgrep/brioche.lock b/packages/ripgrep/brioche.lock index 82c12a4..94383e1 100644 --- a/packages/ripgrep/brioche.lock +++ b/packages/ripgrep/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/BurntSushi/ripgrep/archive/refs/tags/14.1.1.tar.gz": { - "type": "sha256", - "value": "4dad02a2f9c8c3c8d89434e47337aa654cb0e2aa50e806589132f186bf5c2b66" + "git_refs": { + "https://github.com/BurntSushi/ripgrep.git": { + "14.1.1": "4649aa9700619f94cf9c66876e9549d83420e16c" } } } diff --git a/packages/ripgrep/project.bri b/packages/ripgrep/project.bri index dc4df8b..3512cf7 100644 --- a/packages/ripgrep/project.bri +++ b/packages/ripgrep/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "ripgrep", version: "14.1.1", }; -const source = Brioche.download( - `https://github.com/BurntSushi/ripgrep/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/BurntSushi/ripgrep.git", + ref: `${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From e3dd0424d9ad6c78c95451d7be3dfaf380a5244c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:06 +0100 Subject: [PATCH 22/28] refactor: switch to git checkout for ruff package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/ruff/brioche.lock | 7 +++---- packages/ruff/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/ruff/brioche.lock b/packages/ruff/brioche.lock index 25feae6..907b3bc 100644 --- a/packages/ruff/brioche.lock +++ b/packages/ruff/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/astral-sh/ruff/archive/refs/tags/0.9.2.tar.gz": { - "type": "sha256", - "value": "d47a61bbbfceda23ddd29dd0c3cb3bb55f240e80a7aa0ba944e7f9f3f6ed886f" + "git_refs": { + "https://github.com/astral-sh/ruff.git": { + "0.9.2": "0a393483811e0999578b5655d82e2c03238296f3" } } } diff --git a/packages/ruff/project.bri b/packages/ruff/project.bri index 226e9e3..80bc80c 100644 --- a/packages/ruff/project.bri +++ b/packages/ruff/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "ruff", version: "0.9.2", }; -const source = Brioche.download( - `https://github.com/astral-sh/ruff/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/astral-sh/ruff.git", + ref: `${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From f18ec60af5623d0ef52be86c79b2f0dcb280edf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:11 +0100 Subject: [PATCH 23/28] refactor: switch to git checkout for terraform package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/terraform/brioche.lock | 7 +++---- packages/terraform/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/terraform/brioche.lock b/packages/terraform/brioche.lock index 5388227..a168b10 100644 --- a/packages/terraform/brioche.lock +++ b/packages/terraform/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/hashicorp/terraform/archive/refs/tags/v1.10.4.tar.gz": { - "type": "sha256", - "value": "5c37405e2203da140e7019c3ed44bef55a1a25dff9ce698903a9f07f20d75968" + "git_refs": { + "https://github.com/hashicorp/terraform.git": { + "v1.10.4": "369495a8601caad9c0b5052739db42f421bf1c03" } } } diff --git a/packages/terraform/project.bri b/packages/terraform/project.bri index db5dd98..88403e4 100644 --- a/packages/terraform/project.bri +++ b/packages/terraform/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { goBuild } from "go"; +import { gitCheckout } from "git"; export const project = { name: "terraform", version: "1.10.4", }; -const source = Brioche.download( - `https://github.com/hashicorp/terraform/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/hashicorp/terraform.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return goBuild({ From 3d7f642f7d0f6dfef724e52990abb811af4cddb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:16 +0100 Subject: [PATCH 24/28] refactor: switch to git checkout for tokei package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/tokei/brioche.lock | 7 +++---- packages/tokei/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/tokei/brioche.lock b/packages/tokei/brioche.lock index 89be68d..c72e54c 100644 --- a/packages/tokei/brioche.lock +++ b/packages/tokei/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/XAMPPRocky/tokei/archive/refs/tags/v12.1.2.tar.gz": { - "type": "sha256", - "value": "81ef14ab8eaa70a68249a299f26f26eba22f342fb8e22fca463b08080f436e50" + "git_refs": { + "https://github.com/XAMPPRocky/tokei.git": { + "v12.1.2": "7e0b30ff4c1fe78fe2cc615d1f0f52c7ce6cb761" } } } diff --git a/packages/tokei/project.bri b/packages/tokei/project.bri index e1474b0..dec9344 100644 --- a/packages/tokei/project.bri +++ b/packages/tokei/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "tokei", version: "12.1.2", }; -const source = Brioche.download( - `https://github.com/XAMPPRocky/tokei/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/XAMPPRocky/tokei.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 6bcf9902f5f17fea9abfa87cbab61b2973f4b92d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:21 +0100 Subject: [PATCH 25/28] refactor: switch to git checkout for xplr package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/xplr/brioche.lock | 7 +++---- packages/xplr/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/xplr/brioche.lock b/packages/xplr/brioche.lock index ae82e39..1157026 100644 --- a/packages/xplr/brioche.lock +++ b/packages/xplr/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/sayanarijit/xplr/archive/refs/tags/v0.21.9.tar.gz": { - "type": "sha256", - "value": "345400c2fb7046963b2e0fcca8802b6e523e0fb742d0d893cb7fd42f10072a55" + "git_refs": { + "https://github.com/sayanarijit/xplr.git": { + "v0.21.9": "a82ea6a3e5eb9bb2e528d2a3320056acfe312101" } } } diff --git a/packages/xplr/project.bri b/packages/xplr/project.bri index ad02209..14bbaec 100644 --- a/packages/xplr/project.bri +++ b/packages/xplr/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "xplr", version: "0.21.9", }; -const source = Brioche.download( - `https://github.com/sayanarijit/xplr/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/sayanarijit/xplr.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 6327c6d9ebe65338547e155c5a962cc9f416bdd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:25 +0100 Subject: [PATCH 26/28] refactor: switch to git checkout for xsv package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/xsv/brioche.lock | 7 +++---- packages/xsv/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/xsv/brioche.lock b/packages/xsv/brioche.lock index 7a8f1e4..903dd0c 100644 --- a/packages/xsv/brioche.lock +++ b/packages/xsv/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/BurntSushi/xsv/archive/refs/tags/0.13.0.tar.gz": { - "type": "sha256", - "value": "2b75309b764c9f2f3fdc1dd31eeea5a74498f7da21ae757b3ffd6fd537ec5345" + "git_refs": { + "https://github.com/BurntSushi/xsv.git": { + "0.13.0": "2b4cbaa0eecf7b507a612632fe00289b1b358c15" } } } diff --git a/packages/xsv/project.bri b/packages/xsv/project.bri index 265970e..4b1c95a 100644 --- a/packages/xsv/project.bri +++ b/packages/xsv/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "xsv", version: "0.13.0", }; -const source = Brioche.download( - `https://github.com/BurntSushi/xsv/archive/refs/tags/${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/BurntSushi/xsv.git", + ref: `${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 7a4cb6203c4ead8f0e6d5a186b6edbc1d61239d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= Date: Tue, 28 Jan 2025 13:06:31 +0100 Subject: [PATCH 27/28] refactor: switch to git checkout for zoxide package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémy Audiger --- packages/zoxide/brioche.lock | 7 +++---- packages/zoxide/project.bri | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/zoxide/brioche.lock b/packages/zoxide/brioche.lock index 02e6844..12f3aab 100644 --- a/packages/zoxide/brioche.lock +++ b/packages/zoxide/brioche.lock @@ -1,9 +1,8 @@ { "dependencies": {}, - "downloads": { - "https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v0.9.6.tar.gz": { - "type": "sha256", - "value": "e1811511a4a9caafa18b7d1505147d4328b39f6ec88b88097fe0dad59919f19c" + "git_refs": { + "https://github.com/ajeetdsouza/zoxide.git": { + "v0.9.6": "3d3267b4fd73e6292d317f96d60ef69ea035912d" } } } diff --git a/packages/zoxide/project.bri b/packages/zoxide/project.bri index 83f1b8b..119cfda 100644 --- a/packages/zoxide/project.bri +++ b/packages/zoxide/project.bri @@ -1,16 +1,18 @@ import * as std from "std"; import { cargoBuild } from "rust"; +import { gitCheckout } from "git"; export const project = { name: "zoxide", version: "0.9.6", }; -const source = Brioche.download( - `https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v${project.version}.tar.gz`, -) - .unarchive("tar", "gzip") - .peel(); +const source = gitCheckout( + Brioche.gitRef({ + repository: "https://github.com/ajeetdsouza/zoxide.git", + ref: `v${project.version}`, + }), +); export default function (): std.Recipe { return cargoBuild({ From 600f2688178d9c6b3b5c195eb2743296c0f36f0a Mon Sep 17 00:00:00 2001 From: Kyle Lacy Date: Tue, 28 Jan 2025 20:46:31 -0800 Subject: [PATCH 28/28] Revert "refactor: switch to git checkout for jq package" This reverts commit 24ba4229acea5ca61a6324. --- packages/jq/brioche.lock | 7 ++++--- packages/jq/project.bri | 12 +++++------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/packages/jq/brioche.lock b/packages/jq/brioche.lock index 9bcc751..b15820f 100644 --- a/packages/jq/brioche.lock +++ b/packages/jq/brioche.lock @@ -1,8 +1,9 @@ { "dependencies": {}, - "git_refs": { - "https://github.com/jqlang/jq.git": { - "jq-1.7.1": "71c2ab509a8628dbbad4bc7b3f98a64aa90d3297" + "downloads": { + "https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-1.7.1.tar.gz": { + "type": "sha256", + "value": "478c9ca129fd2e3443fe27314b455e211e0d8c60bc8ff7df703873deeee580c2" } } } diff --git a/packages/jq/project.bri b/packages/jq/project.bri index 6861880..fdbf16c 100644 --- a/packages/jq/project.bri +++ b/packages/jq/project.bri @@ -1,4 +1,3 @@ -import { gitCheckout } from "git"; import * as std from "std"; export const project = { @@ -6,12 +5,11 @@ export const project = { version: "1.7.1", }; -const source = gitCheckout( - Brioche.gitRef({ - repository: "https://github.com/jqlang/jq.git", - ref: `jq-${project.version}`, - }), -); +const source = Brioche.download( + `https://github.com/jqlang/jq/releases/download/jq-${project.version}/jq-${project.version}.tar.gz`, +) + .unarchive("tar", "gzip") + .peel(); export default function (): std.Recipe { const jq = std.runBash`