<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged brew</title>
<link>https://ask.clojure.org/index.php/tag/brew</link>
<description></description>
<item>
<title>Suggestion - support legacy Homebrew clients</title>
<link>https://ask.clojure.org/index.php/10176/suggestion-support-legacy-homebrew-clients</link>
<description>&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/Homebrew/brew/commit/b07685291b65e51e0afc2b6cee91251419e0b3c1&quot;&gt;https://github.com/Homebrew/brew/commit/b07685291b65e51e0afc2b6cee91251419e0b3c1&lt;/a&gt; was a breaking change for people deciding to keep using old versions of Brew (which is not particularly easy or popular, but I happen to do it). It's breaking in that an old Brew client querying a newer formula would fail with:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Error: clojure: undefined method `license' for #&amp;lt;Class:0x00007fd2ca91eb38&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This can be trivially addressed by wrapping the &lt;code&gt;license&lt;/code&gt; call with an idiomatic &lt;code&gt;if self.respond_to?(:license)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This would allow me to keep using the latest Clojure formulae without having to hack them for such a trivial change.&lt;/p&gt;
&lt;p&gt;Would you consider doing it?&lt;/p&gt;
&lt;p&gt;Thanks - V&lt;/p&gt;
</description>
<category>Tools</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10176/suggestion-support-legacy-homebrew-clients</guid>
<pubDate>Fri, 12 Feb 2021 12:35:50 +0000</pubDate>
</item>
</channel>
</rss>