From 298f35ff0eec36848e01382b880a50afbaed9ff9 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 10:59:07 +0800 Subject: [PATCH 1/8] chore: upgrade pulsarctl brew to 3.3.0.9 Signed-off-by: ericsyh --- Formula/pulsarctl.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Formula/pulsarctl.rb b/Formula/pulsarctl.rb index 8eb5098..2199e81 100644 --- a/Formula/pulsarctl.rb +++ b/Formula/pulsarctl.rb @@ -5,23 +5,23 @@ class Pulsarctl < Formula on_macos do on_intel do - url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-amd64-darwin.tar.gz" - sha256 "30e0ac5341019c6b631377376aae7a9d3279ade6e2d08bd640e2290c90f0ccac" + url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-amd64-darwin.tar.gz" + sha256 "bb9d4ec15de5d97e61c39c5ef9ea834207dfe55a3f1dda9e6fd2379edef4b157" end on_arm do - url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-arm64-darwin.tar.gz" - sha256 "7b93032b67b238d5cdc673888967c5e4279830b023866f4435e618e328797f41" + url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-arm64-darwin.tar.gz" + sha256 "1579ac8fb97f71ca986dd948d31c9d257b65de01beb421970e456e0b3b93de4b" end end on_linux do on_intel do - url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-amd64-linux.tar.gz" - sha256 "0d82bfed374f0525e75804044871d5d85d6015ba7ce0d7905d1b6a26ffc73c79" + url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-amd64-linux.tar.gz" + sha256 "fd56debb7d3aba5d0cbb1c4e98185c1554223065b8a8d2f4024157d7d851282c" end on_arm do - url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-arm64-linux.tar.gz" - sha256 "39d00acb0dd514037490b6af6a0eacdf4657b16eac7578990af9d782f05e3fcf" + url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-arm64-linux.tar.gz" + sha256 "84b8bdf57290d5da534e24ba5cefe6b8f02113e352e372122546a2b3ffdc47b4" end end From 5afe9b5f22c170f47262b3d6531fb58c1d6c00de Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 13:31:44 +0800 Subject: [PATCH 2/8] fix the ruby style Signed-off-by: ericsyh --- Formula/pulsar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/pulsar.rb b/Formula/pulsar.rb index 4796e5f..82e602c 100644 --- a/Formula/pulsar.rb +++ b/Formula/pulsar.rb @@ -10,7 +10,7 @@ class Pulsar < Formula def install libexec.install Dir["bin", "lib", "instances", "conf"] - (libexec/"lib/presto/bin/procname/Linux-ppc64le").rmtree + rm_r(libexec/"lib/presto/bin/procname/Linux-ppc64le") pkgshare.install Dir["examples", "licenses"] (etc/"pulsar").install_symlink libexec/"conf" From c3086eb7fce7b98f0ddf6835bb85467f016f7e61 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 13:46:21 +0800 Subject: [PATCH 3/8] update Signed-off-by: ericsyh --- Formula/pulsar.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Formula/pulsar.rb b/Formula/pulsar.rb index 82e602c..f88bb6c 100644 --- a/Formula/pulsar.rb +++ b/Formula/pulsar.rb @@ -10,7 +10,6 @@ class Pulsar < Formula def install libexec.install Dir["bin", "lib", "instances", "conf"] - rm_r(libexec/"lib/presto/bin/procname/Linux-ppc64le") pkgshare.install Dir["examples", "licenses"] (etc/"pulsar").install_symlink libexec/"conf" From 0365e920100522f58159b15779c74d9badb8ef2b Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 13:56:49 +0800 Subject: [PATCH 4/8] test Signed-off-by: ericsyh --- Formula/pulsar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/pulsar.rb b/Formula/pulsar.rb index f88bb6c..cbe6d2e 100644 --- a/Formula/pulsar.rb +++ b/Formula/pulsar.rb @@ -1,7 +1,7 @@ class Pulsar < Formula desc "Distributed pub-sub messaging platform with a very flexible messaging model" homepage "https://pulsar.apache.org" - url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-2.10.2/apache-pulsar-2.10.2-bin.tar.gz" + url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.0.0/apache-pulsar-3.0.0-bin.tar.gz" sha256 "a7f79703b8121a57965ba187d35cb90230ca9ff552c73e48a51ed7a559b4089a" license "Apache-2.0" From f3c83190b72df2efb9af0452a86fae63236225bf Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 14:07:02 +0800 Subject: [PATCH 5/8] update github action Signed-off-by: ericsyh --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cc9d08..5a20e02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: macos-13 steps: - name: Checkout pulsar repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run brew test-bot run: | From 37d5247177d8055b193788284865c0ab66f97e28 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 16:02:55 +0800 Subject: [PATCH 6/8] upgrade pulsar to 3.0 Signed-off-by: ericsyh --- Formula/pulsar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/pulsar.rb b/Formula/pulsar.rb index cbe6d2e..fc79b15 100644 --- a/Formula/pulsar.rb +++ b/Formula/pulsar.rb @@ -2,7 +2,7 @@ class Pulsar < Formula desc "Distributed pub-sub messaging platform with a very flexible messaging model" homepage "https://pulsar.apache.org" url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.0.0/apache-pulsar-3.0.0-bin.tar.gz" - sha256 "a7f79703b8121a57965ba187d35cb90230ca9ff552c73e48a51ed7a559b4089a" + sha256 "82b44a91d42b31e929ebf3a8007219c3a623a576ed8d4a2440afecac38f24228" license "Apache-2.0" depends_on "openjdk" => :optional From 333130f8bc35ce3a9895ec0c2ba484ccbfba6878 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 16:12:10 +0800 Subject: [PATCH 7/8] add rm_r command Signed-off-by: ericsyh --- Formula/pulsar.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/pulsar.rb b/Formula/pulsar.rb index fc79b15..39f8713 100644 --- a/Formula/pulsar.rb +++ b/Formula/pulsar.rb @@ -10,6 +10,7 @@ class Pulsar < Formula def install libexec.install Dir["bin", "lib", "instances", "conf"] + rm_r(libexec/"lib/presto/bin/procname/Linux-ppc64le") pkgshare.install Dir["examples", "licenses"] (etc/"pulsar").install_symlink libexec/"conf" From d67f56151aaa344da5ce463a52c6afa4d2287dc9 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Fri, 9 Aug 2024 16:34:02 +0800 Subject: [PATCH 8/8] upgrade pulsar to 3.3.1 Signed-off-by: ericsyh --- Formula/pulsar.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/pulsar.rb b/Formula/pulsar.rb index 39f8713..bdaa628 100644 --- a/Formula/pulsar.rb +++ b/Formula/pulsar.rb @@ -1,8 +1,8 @@ class Pulsar < Formula desc "Distributed pub-sub messaging platform with a very flexible messaging model" homepage "https://pulsar.apache.org" - url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.0.0/apache-pulsar-3.0.0-bin.tar.gz" - sha256 "82b44a91d42b31e929ebf3a8007219c3a623a576ed8d4a2440afecac38f24228" + url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.3.1/apache-pulsar-3.3.1-bin.tar.gz" + sha256 "12973876d8a5d4cfef835751fa1ac06bbe2408171a462b02954ac9aa35255a69" license "Apache-2.0" depends_on "openjdk" => :optional