jenkins-cli icon indicating copy to clipboard operation
jenkins-cli copied to clipboard

brew tap uses deprecated :unneeded feature

Open elazarl opened this issue 2 years ago • 3 comments

Describe the bug brew reports :unneeded feature in tap is deprecated.

To Reproduce Run

❯ brew tap jenkins-zh/jcli
==> Tapping jenkins-zh/jcli
Cloning into '/usr/local/Homebrew/Library/Taps/jenkins-zh/homebrew-jcli'...
remote: Enumerating objects: 204, done.
remote: Counting objects: 100% (78/78), done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 204 (delta 35), reused 8 (delta 4), pack-reused 126
Receiving objects: 100% (204/204), 36.01 KiB | 491.00 KiB/s, done.
Resolving deltas: 100% (90/90), done.
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the jenkins-zh/jcli tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/jenkins-zh/homebrew-jcli/Formula/jcli.rb:9

Tapped 1 formula (15 files, 50.2KB).

Expected behavior No warning should be reported by brew.

Desktop (please complete the following information):

  • OS: Mac OS X
  • Command Tool iTerm2

elazarl avatar Jan 17 '22 12:01 elazarl

Thanks for reporting this. I'm wondering if you willing to help us to fix it.

LinuxSuRen avatar Jan 17 '22 13:01 LinuxSuRen

I'm completely unable to install.

❯ brew tap jenkins-zh/jcli
==> Tapping jenkins-zh/jcli
Cloning into '/opt/homebrew/Library/Taps/jenkins-zh/homebrew-jcli'...
remote: Enumerating objects: 204, done.
remote: Counting objects: 100% (78/78), done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 204 (delta 35), reused 8 (delta 4), pack-reused 126
Receiving objects: 100% (204/204), 36.01 KiB | 567.00 KiB/s, done.
Resolving deltas: 100% (90/90), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/jenkins-zh/homebrew-jcli/Formula/jcli.rb
jcli: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the jenkins-zh/jcli tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/jenkins-zh/homebrew-jcli/Formula/jcli.rb:9

Error: Cannot tap jenkins-zh/jcli: invalid syntax in tap!

❯ brew --version
Homebrew 3.4.11
Homebrew/homebrew-core (git revision 14880f20cad; last commit 2022-06-02)
Homebrew/homebrew-cask (git revision 9e46e6ba43; last commit 2022-06-02)

ccook10-chwy avatar Jun 02 '22 22:06 ccook10-chwy

hi @ccook10-chwy , I'm wondering if you could try to use hd to install it. It is pretty easy:

curl https://linuxsuren.github.io/tools/install.sh|sh
hd i jcli

By the way, hd is able to install quite a lot of tools. See https://github.com/LinuxSuRen/hd-home

LinuxSuRen avatar Jun 03 '22 03:06 LinuxSuRen