<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/test/cmd, branch 1.2.3</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>tests: cleanup tests.</title>
<updated>2017-06-07T15:25:07+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-06-07T15:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=7d5b8a5cea122c09f297dffa6b76187c413a9565'/>
<id>7d5b8a5cea122c09f297dffa6b76187c413a9565</id>
<content type='text'>
Remove pending tests that are never run on CI (i.e. require `--online`),
remove fixtures for those tests and just make `--official-cmd-taps`
run by `--online` instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove pending tests that are never run on CI (i.e. require `--online`),
remove fixtures for those tests and just make `--official-cmd-taps`
run by `--online` instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for `brew style`.</title>
<updated>2017-06-04T08:11:59+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-06-02T17:15:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=3064b5b3c301897f8229ccc4f3b5922bcae64ddf'/>
<id>3064b5b3c301897f8229ccc4f3b5922bcae64ddf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve some `brew install` messaging.</title>
<updated>2017-05-27T09:15:37+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-05-27T09:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=ef59a751f4ee904b4e713d1069a67ed9ee03b766'/>
<id>ef59a751f4ee904b4e713d1069a67ed9ee03b766</id>
<content type='text'>
Improve the messaging around `brew install` when there's a possible user
action such as an `upgrade` or `link` and don't tell people to
`install --force` when it's unnecessary.

While I did this, tweak the output and function usage in a couple of
related places.

Some example output before this change:
```
Warning: openssl is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: mysql@5.6 is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: analog-6.0_1 already installed
Warning: bash-completion@2-2.5 already installed, it's just not linked.
```

Some example output after this change:
```
Error: openssl 1.0.2k is already installed
To upgrade to 1.0.2l, run `brew upgrade openssl`
Warning: mysql@5.6 5.6.36_1 is already installed
Warning: analog 6.0_1 is already installed
Warning: bash-completion@2 2.5 is already installed, it's just not linked.
You can use `brew link bash-completion@2` to link this version.
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improve the messaging around `brew install` when there's a possible user
action such as an `upgrade` or `link` and don't tell people to
`install --force` when it's unnecessary.

While I did this, tweak the output and function usage in a couple of
related places.

Some example output before this change:
```
Warning: openssl is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: mysql@5.6 is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: analog-6.0_1 already installed
Warning: bash-completion@2-2.5 already installed, it's just not linked.
```

Some example output after this change:
```
Error: openssl 1.0.2k is already installed
To upgrade to 1.0.2l, run `brew upgrade openssl`
Warning: mysql@5.6 5.6.36_1 is already installed
Warning: analog 6.0_1 is already installed
Warning: bash-completion@2 2.5 is already installed, it's just not linked.
You can use `brew link bash-completion@2` to link this version.
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove `to_s` from some `Pathname`s.</title>
<updated>2017-05-08T11:37:28+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-04-27T18:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1'/>
<id>5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>formula_installer: improve install/upgrade message</title>
<updated>2017-04-25T11:45:39+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-04-25T11:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=18c2713df4a153ae815de9ca99e51ae8ed6aae28'/>
<id>18c2713df4a153ae815de9ca99e51ae8ed6aae28</id>
<content type='text'>
If you `brew install` a formula that's already installed you get:
  Warning: ripgrep-0.5.1 already installed

If you `brew install` an outdated formula that's installed you get:
  Error: ripgrep-0.5.1 already installed. To install this version, first
  `brew unlink ripgrep`

Instead, suggest that the user should `brew upgrade` in this case. If
the formula isn't outdated use the previous message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If you `brew install` a formula that's already installed you get:
  Warning: ripgrep-0.5.1 already installed

If you `brew install` an outdated formula that's installed you get:
  Error: ripgrep-0.5.1 already installed. To install this version, first
  `brew unlink ripgrep`

Instead, suggest that the user should `brew upgrade` in this case. If
the formula isn't outdated use the previous message.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `GitHub::search_code` method.</title>
<updated>2017-04-25T10:29:01+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2017-04-24T17:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=2bda194bd91c0767517fe11adafcaacb3150aff0'/>
<id>2bda194bd91c0767517fe11adafcaacb3150aff0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>search: use single HTTP call for tap searches.</title>
<updated>2017-04-24T13:11:04+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-04-24T13:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=b3c69aba87f21bb2a3b6a78de3328e22fe39e1c6'/>
<id>b3c69aba87f21bb2a3b6a78de3328e22fe39e1c6</id>
<content type='text'>
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix and remove various TODOs.</title>
<updated>2017-04-23T14:10:18+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-04-23T14:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d'/>
<id>45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d</id>
<content type='text'>
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: reduce some noise.</title>
<updated>2017-04-22T11:49:14+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2017-04-22T11:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=a6df701fad516a1da54ea245fb47826d47dc03b5'/>
<id>a6df701fad516a1da54ea245fb47826d47dc03b5</id>
<content type='text'>
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the 'export PATH' message in `link` for a keg-only formula</title>
<updated>2017-04-02T03:12:00+00:00</updated>
<author>
<name>Eugene Nikolsky</name>
</author>
<published>2017-04-02T02:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=edd9a9717cf08eabb54001679653e37732d5ce2d'/>
<id>edd9a9717cf08eabb54001679653e37732d5ce2d</id>
<content type='text'>
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message,
but it printed the wrong path, e.g. for `brew link sqlite`:

```
If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/sqlite:$PATH"' &gt;&gt; ~/.zshrc/bin
```

where `/bin` is appended at the end, but should be inserted before
`:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' &gt;&gt; ~/.zshrc`.
This patch fixes that and updates a test to verify it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message,
but it printed the wrong path, e.g. for `brew link sqlite`:

```
If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/sqlite:$PATH"' &gt;&gt; ~/.zshrc/bin
```

where `/bin` is appended at the end, but should be inserted before
`:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' &gt;&gt; ~/.zshrc`.
This patch fixes that and updates a test to verify it.
</pre>
</div>
</content>
</entry>
</feed>
