<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/cask/lib/hbc/artifact/pkg.rb, branch 1.4.1</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>Unshadow `allow_untrusted` option for pkg artifact</title>
<updated>2017-10-02T11:34:57+00:00</updated>
<author>
<name>Claudia</name>
</author>
<published>2017-10-01T22:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=fbd526ffe6a619d538193fbc7eb93b6e74c44b00'/>
<id>fbd526ffe6a619d538193fbc7eb93b6e74c44b00</id>
<content type='text'>
The pkg stanza has an option called `allow_untrusted`, which is
supposed to cause `/usr/sbin/installer` to be called with the
`-allowUntrusted` switch.

PR #3141 seems to have renamed the `pkg_install_opts` field to
`options`. At the same time, it introduces an `options` parameter for
the `run_installer` method, which shadows the `options` getter
method, causing the `allow_untrusted` option to be silently ignored.

The issue affects just the `pkg` stanza because `Hbc::Artifact::Pkg`
is the only artifact class that has an `options` method.

This commit removes the shadowing by renaming the field to
`stanza_options`; in one case, it uses `_options` for a parameter
name (instead of the more canonical `_`) for the sake of clarity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pkg stanza has an option called `allow_untrusted`, which is
supposed to cause `/usr/sbin/installer` to be called with the
`-allowUntrusted` switch.

PR #3141 seems to have renamed the `pkg_install_opts` field to
`options`. At the same time, it introduces an `options` parameter for
the `run_installer` method, which shadows the `options` getter
method, causing the `allow_untrusted` option to be silently ignored.

The issue affects just the `pkg` stanza because `Hbc::Artifact::Pkg`
is the only artifact class that has an `options` method.

This commit removes the shadowing by renaming the field to
`stanza_options`; in one case, it uses `_options` for a parameter
name (instead of the more canonical `_`) for the sake of clarity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Treat every `Artifact` instance as a single artifact.</title>
<updated>2017-09-10T21:12:32+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-04-05T22:33:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=53ecdd843f6e6d6dd93e09a5394de3c31bc0e51a'/>
<id>53ecdd843f6e6d6dd93e09a5394de3c31bc0e51a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `CLI::Options` DSL.</title>
<updated>2017-05-22T00:51:17+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-05-20T22:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=df1864ee435c1c48f87344800d2e7cf055a12f93'/>
<id>df1864ee435c1c48f87344800d2e7cf055a12f93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"</title>
<updated>2017-05-07T16:28:39+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-05-07T16:28:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=57db2e539eaa5fbae351963265312bd24ed08f6b'/>
<id>57db2e539eaa5fbae351963265312bd24ed08f6b</id>
<content type='text'>
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
</pre>
</div>
</content>
</entry>
<entry>
<title>Vendor all Homebrew's gems.</title>
<updated>2017-05-07T12:52:57+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-05-07T12:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=ee253e465b8e2f5acdb53daf572311e87055e082'/>
<id>ee253e465b8e2f5acdb53daf572311e87055e082</id>
<content type='text'>
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor CLI options.</title>
<updated>2017-03-06T23:06:34+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-03-06T19:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=3b8524d770172ec4aacb48fceb4dc8d2c1836bce'/>
<id>3b8524d770172ec4aacb48fceb4dc8d2c1836bce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor Cask `Artifact`s.</title>
<updated>2017-02-05T06:47:54+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-02-05T06:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=e1ea7bb721ec6d315058c0da285acd38cfc62b9f'/>
<id>e1ea7bb721ec6d315058c0da285acd38cfc62b9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cask: compact the code</title>
<updated>2016-11-20T19:13:29+00:00</updated>
<author>
<name>Kaito Udagawa</name>
</author>
<published>2016-11-20T19:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=df635c8259dffca891424352765088a3b88a87d2'/>
<id>df635c8259dffca891424352765088a3b88a87d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cask: Call Tempfile#close(true) with the choices file to ensure it deleted</title>
<updated>2016-11-20T05:23:55+00:00</updated>
<author>
<name>Kaito Udagawa</name>
</author>
<published>2016-11-20T05:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=0c22cc45e6fe7da64f037fc2fc1556c0e967d55f'/>
<id>0c22cc45e6fe7da64f037fc2fc1556c0e967d55f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cask: use Tempfile and some style fixes</title>
<updated>2016-11-19T05:52:38+00:00</updated>
<author>
<name>Kaito Udagawa</name>
</author>
<published>2016-11-19T04:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=28072021031836937a01e9fd995b03995fe49443'/>
<id>28072021031836937a01e9fd995b03995fe49443</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
