From dec723bb94250dab6a3723c6353c67ddcd0d4015 Mon Sep 17 00:00:00 2001 From: Sean Lynch <42618346+swlynch99@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:23:17 -0700 Subject: [PATCH 1/3] systemslab 0.0.95 --- Formula/systemslab.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/systemslab.rb b/Formula/systemslab.rb index 48d1f6a..abf947b 100644 --- a/Formula/systemslab.rb +++ b/Formula/systemslab.rb @@ -4,8 +4,8 @@ class Systemslab < Formula desc "CLI for interacting with SystemsLab servers" homepage "https://iop.systems" url "https://github.com/iopsystems/systemslab.git", - tag: "v0.0.94", - revision: "66a029d391aeddf3fcb043e57c4c55573bc62b2c", + tag: "v0.0.95", + revision: "34c4ddd7b75bc1773ed1503c3c6498d5de7279d1", submodules: false license :cannot_represent From 3a414a643f9d8a57512d9adccda4a668638e67f1 Mon Sep 17 00:00:00 2001 From: Sean Lynch <42618346+swlynch99@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:09:25 -0700 Subject: [PATCH 2/3] Add a custom git download strategy which avoids cloning submodules --- Formula/systemslab.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Formula/systemslab.rb b/Formula/systemslab.rb index abf947b..7d71b63 100644 --- a/Formula/systemslab.rb +++ b/Formula/systemslab.rb @@ -1,9 +1,20 @@ # Brew formula for the SystemsLab CLI. +class SystemsLabDownloadStrategy < GitHubGitDownloadStrategy + def initialize(url, name, version, **meta) + super + end + + def submodules? + false + end +end + class Systemslab < Formula desc "CLI for interacting with SystemsLab servers" homepage "https://iop.systems" url "https://github.com/iopsystems/systemslab.git", + using: SystemsLabDownloadStrategy, tag: "v0.0.95", revision: "34c4ddd7b75bc1773ed1503c3c6498d5de7279d1", submodules: false From 148d1b0049ee23e7faeffdcc55384db446a9eb06 Mon Sep 17 00:00:00 2001 From: Sean Lynch <42618346+swlynch99@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:12:45 -0700 Subject: [PATCH 3/3] Remove useless method --- Formula/systemslab.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Formula/systemslab.rb b/Formula/systemslab.rb index 7d71b63..755ebb8 100644 --- a/Formula/systemslab.rb +++ b/Formula/systemslab.rb @@ -1,10 +1,6 @@ # Brew formula for the SystemsLab CLI. class SystemsLabDownloadStrategy < GitHubGitDownloadStrategy - def initialize(url, name, version, **meta) - super - end - def submodules? false end