cloudflare / homebrew-cloudflare

99 stars 41 forks source link

replace plist with modern service definition #77

Closed scientificworld closed 9 months ago

scientificworld commented 9 months ago

Homebrew has deprecated plist_options, you will get the following error when tapping this repo.

Error: Invalid formula (sonoma): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (arm64_sonoma): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (ventura): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (arm64_ventura): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (monterey): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (arm64_monterey): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (big_sur): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (arm64_big_sur): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (catalina): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (mojave): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (high_sierra): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (sierra): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (el_capitan): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Invalid formula (x86_64_linux): /opt/homebrew/Library/Taps/cloudflare/homebrew-cloudflare/nginx.rb
nginx: undefined method `plist_options' for Formulary::ReadallNamespace::Nginx:Class
Error: Cannot tap cloudflare/cloudflare: invalid syntax in tap!