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

Mojave cask-repair repeatedly asks for yes/no/edit #149

Closed
CryoTheRenegade opened this issue Oct 1, 2018 · 6 comments
Closed

Mojave cask-repair repeatedly asks for yes/no/edit #149

CryoTheRenegade opened this issue Oct 1, 2018 · 6 comments

Comments

@CryoTheRenegade
Copy link

When upgrading a cask in cask-repair on MacOS Mojave... well IDK what to call this

Jacobs-MacBook-Air:~ jacobledbetter$ cask-repair testnav
Updating taps… Already up-to-date.
--------------------------------------------------------------------------------
cask 'testnav' do
  version '1.6.5'
  sha256 'bdc201983df28d34f8b4fab8b5b0cf9ae625631022e56a673ae6dbb5c9dfca0a'

  url "http://download.testnav.com/installers/testnav-#{version}.dmg"
  name 'TestNav'
  homepage 'http://download.testnav.com/'

  app 'TestNav.app'
end
--------------------------------------------------------------------------------
Type the new version (or leave blank to use current one, or use `s` to skip)
> 1.7.3
==> Downloading external files for Cask testnav
==> Downloading http://download.testnav.com/installers/testnav-1.7.3.dmg
==> Downloading from https://download.testnav.com/installers/testnav-1.7.3.dmg
######################################################################## 100.0%
==> No SHA-256 checksum defined for Cask 'testnav', skipping verification.
==> Success! Downloaded to -> /Users/jacobledbetter/Library/Caches/Homebrew/down
diff --git a/Casks/testnav.rb b/Casks/testnav.rb
index a35d181ed..9f05543dd 100644
--- a/Casks/testnav.rb
+++ b/Casks/testnav.rb
@@ -1,6 +1,6 @@
 cask 'testnav' do
-  version '1.6.5'
-  sha256 'bdc201983df28d34f8b4fab8b5b0cf9ae625631022e56a673ae6dbb5c9dfca0a'
+  version '1.7.3'
+  sha256 '9fca7d7e9bb57af5841b9e34722f680383b397b37f298c0b69efdc6565272335'

   url "http://download.testnav.com/installers/testnav-#{version}.dmg"
   name 'TestNav'
--------------------------------------------------------------------------------
•
--------------------------------------------------------------------------------
Is everything correct? ([y]es / [n]o / [e]dit) y
diff --git a/Casks/testnav.rb b/Casks/testnav.rb
index a35d181ed..9f05543dd 100644
--- a/Casks/testnav.rb
+++ b/Casks/testnav.rb
@@ -1,6 +1,6 @@
 cask 'testnav' do
-  version '1.6.5'
-  sha256 'bdc201983df28d34f8b4fab8b5b0cf9ae625631022e56a673ae6dbb5c9dfca0a'
+  version '1.7.3'
+  sha256 '9fca7d7e9bb57af5841b9e34722f680383b397b37f298c0b69efdc6565272335'

   url "http://download.testnav.com/installers/testnav-#{version}.dmg"
   name 'TestNav'
--------------------------------------------------------------------------------
•
•
--------------------------------------------------------------------------------
Is everything correct? ([y]es / [n]o / [e]dit) y
diff --git a/Casks/testnav.rb b/Casks/testnav.rb
index a35d181ed..9f05543dd 100644
--- a/Casks/testnav.rb
+++ b/Casks/testnav.rb
@@ -1,6 +1,6 @@
 cask 'testnav' do
-  version '1.6.5'
-  sha256 'bdc201983df28d34f8b4fab8b5b0cf9ae625631022e56a673ae6dbb5c9dfca0a'
+  version '1.7.3'
+  sha256 '9fca7d7e9bb57af5841b9e34722f680383b397b37f298c0b69efdc6565272335'

   url "http://download.testnav.com/installers/testnav-#{version}.dmg"
   name 'TestNav'
--------------------------------------------------------------------------------
•
•
•
--------------------------------------------------------------------------------
Is everything correct? ([y]es / [n]o / [e]dit)

Any ideas?

@vitorgalvao
Copy link
Owner

Basically you’re getting a multi-line error. What version of cask-repair are you on, and are you able to brew cask style?

@CryoTheRenegade
Copy link
Author

Latest cask-repair, cannot brew cask style

@vitorgalvao
Copy link
Owner

cannot brew cask style

#148 (comment)

@vitorgalvao
Copy link
Owner

Also, please never say “latest” but always the exact version. You may think you’re up to date but be mistaken. It also does not help someone who comes later with the same issue, as they’ll have no idea if their version matches yours.

@CryoTheRenegade
Copy link
Author

CryoTheRenegade commented Oct 2, 2018 via email

@ShivaHuang
Copy link

ShivaHuang commented Oct 18, 2018

I think brew cask style has fixed this issue, see Homebrew/brew@a838b37#diff-434a752265eb1d125f34b2594587abac
Please run brew update and try again.

For more details what happened
Homebrew/homebrew-cask#52775 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants