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

Homebrew syntax and sha1 warnings #6

Open
earthflat opened this issue Jul 31, 2016 · 2 comments
Open

Homebrew syntax and sha1 warnings #6

earthflat opened this issue Jul 31, 2016 · 2 comments

Comments

@earthflat
Copy link

Dears,

Since yesterday homebrew gives the following warnings for vrui and vrui-examples formulae. As you can see, they refer to syntax and depreciated sha1 issues. Concerning the sha1 to sha256 conversion information is provided here:
https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Checksum_Deprecation.md

Warning messages from homebrew when upgrading formulae

Warning: Calling 'depends_on :libpng' is deprecated!
Use 'depends_on "libpng"' instead.
/usr/local/Library/Taps/keckcaves/homebrew-keckcaves/vrui.rb:12:in `class:Vrui'

Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/keckcaves/homebrew-keckcaves/vrui-examples.rb:6:in `class:VruiExamplesBlueMarbleTex'

Warning: Calling SoftwareSpec#sha1 is deprecated!
Use SoftwareSpec#sha256 instead.
/usr/local/Library/Taps/keckcaves/homebrew-keckcaves/vrui-examples.rb:6:in `class:VruiExamplesBlueMarbleTex'

Warning: Calling Resource#sha1 is deprecated!
Use Resource#sha256 instead.
/usr/local/Library/Taps/keckcaves/homebrew-keckcaves/vrui-examples.rb:6:in `class:VruiExamplesBlueMarbleTex'

@jeremyboggs
Copy link

The sha1 deprecation is now an error in Homebrew 1.1.0. See Homebrew/homebrew-core#6677

@softpunch
Copy link

A deprecation is an error?

Is it not possible to migrate the tap to SHA 256?

It's a relatively small change,
and I think there are even scripts to automate it.

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