Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade pulsarctl brew to 3.3.0.9 #74

Merged
merged 8 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions Formula/pulsar.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
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"
sha256 "a7f79703b8121a57965ba187d35cb90230ca9ff552c73e48a51ed7a559b4089a"
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

def install

Check warning on line 10 in Formula/pulsar.rb

View workflow job for this annotation

GitHub Actions / Run brew test-bot

`brew install --verbose --formula --build-bottle streamnative/streamnative/pulsar` failed on macOS Ventura (13)!

==> Fetching streamnative/streamnative/pulsar ==> Downloading https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.3.1/apache-pulsar-3.3.1-bin.tar.gz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/0581b280be4e6b239ecca5e655ed9606bc7eb0b9153354c858398c177236ddc1--apache-pulsar-3.3.1-bin.tar.gz ==> Verifying checksum for '0581b280be4e6b239ecca5e655ed9606bc7eb0b9153354c858398c177236ddc1--apache-pulsar-3.3.1-bin.tar.gz' ==> Installing pulsar from streamnative/streamnative /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/0581b280be4e6b239ecca5e655ed9606bc7eb0b9153354c858398c177236ddc1--apache-pulsar-3.3.1-bin.tar.gz --directory /private/tmp/homebrew-unpack20240809-9705-s2mbty /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240809-9705-s2mbty/apache-pulsar-3.3.1/. /private/tmp/pulsar-20240809-9705-la535s/apache-pulsar-3.3.1 Error: An exception occurred within a child process: Errno::ENOENT: No such file or directory @ apply2files - /usr/local/Cellar/pulsar/3.3.1/libexec/lib/presto/bin/procname/Linux-ppc64le ::error::An exception occurred within a child process:%0A Errno::ENOENT: No such file or directory @ apply2files - /usr/local/Cellar/pulsar/3.3.1/libexec/lib/presto/bin/procname/Linux-ppc64le%0A
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"

Expand Down
16 changes: 8 additions & 8 deletions Formula/pulsarctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading