konveyor / homebrew-move2kube

Brew formula for Move2Kube
https://move2kube.konveyor.io/
Apache License 2.0
2 stars 3 forks source link

brew update returns move2kube errors #31

Closed rofrano closed 3 years ago

rofrano commented 3 years ago

Describe the bug

Running brew update on macOS causes the following error message:

Warning: Calling `cellar` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the konveyor/move2kube tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/konveyor/homebrew-move2kube/Formula/move2kube.rb:16

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the konveyor/move2kube tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/konveyor/homebrew-move2kube/Formula/move2kube.rb:17

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the konveyor/move2kube tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/konveyor/homebrew-move2kube/Formula/move2kube.rb:18

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the konveyor/move2kube tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/konveyor/homebrew-move2kube/Formula/move2kube.rb:19

To Reproduce Steps to reproduce the behavior:

  1. Run brew update on a Mac where move2kube is already installed
  2. See error

Expected behavior I expected brew to not show errors.

Screenshots See output above.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

ashokponkumar commented 3 years ago

Thanks @rofrano for reporting the issue.

@HarikrishnanBalagopal Can you please take a look into the issue?

HarikrishnanBalagopal commented 3 years ago

Is this still an issue? I am not able to reproduce with homebrew version 3.1.3 in WSL after the recent pull request

$ brew tap konveyor/move2kube
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
lefthook                               revive                                 webhook
==> Updated Formulae
Updated 116 formulae.

==> Tapping konveyor/move2kube
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/konveyor/homebrew-move2kube'...
remote: Enumerating objects: 138, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 138 (delta 1), reused 5 (delta 1), pack-reused 129
Receiving objects: 100% (138/138), 29.06 KiB | 875.00 KiB/s, done.
Resolving deltas: 100% (57/57), done.
Tapped 1 formula (33 files, 166.0KB).
$ brew install move2kube
==> Installing move2kube from konveyor/move2kube
==> Downloading https://github.com/konveyor/homebrew-move2kube/releases/download/move2kube-0.1.0/move2kube-0.1.0.x86_
==> Downloading from https://github-releases.githubusercontent.com/302300171/ef09a600-4dad-11eb-9d9f-b3e99c1b2f54?X-A
######################################################################## 100.0%
==> Pouring move2kube-0.1.0.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/move2kube/0.1.0: 5 files, 48.7MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /home/hari/.cache/Homebrew/gh--1.6.2.x86_64_linux.bottle.tar.gz... (5.7MB)
Pruned 1 symbolic links from /home/linuxbrew/.linuxbrew
$ brew --version
Homebrew 3.1.3
Homebrew/homebrew-core (git revision 9f3dfe68f98; last commit 2021-04-26)
HarikrishnanBalagopal commented 3 years ago

@rofrano Can you please try a reinstall and tell us if you are still getting the warnings? Thanks

rofrano commented 3 years ago

@HarikrishnanBalagopal Yes, it is working now, Thanks!