<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/test/test_dependency.rb, branch 1.3.0</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>Reorder and rename test files.</title>
<updated>2016-11-16T22:52:37+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2016-10-21T06:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2'/>
<id>6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix code style issues (#587)</title>
<updated>2016-08-06T05:04:59+00:00</updated>
<author>
<name>Andrea Kao</name>
</author>
<published>2016-08-06T05:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=8ec59253df47b9e597bc6a5ad488c42e035c0351'/>
<id>8ec59253df47b9e597bc6a5ad488c42e035c0351</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dependency: fix merging tags in 'merge_repeats'</title>
<updated>2015-12-17T12:50:38+00:00</updated>
<author>
<name>Martin Afanasjew</name>
</author>
<published>2015-12-15T09:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=ea4d137e871ace8200743f237c48189e3b930da1'/>
<id>ea4d137e871ace8200743f237c48189e3b930da1</id>
<content type='text'>
While it may suffice to merge string and non-reserved tags by forming a
union of all tags of dependencies of the same name, this approach fails
to work for the reserved tags. These are now merged such that the most
restrictive tag (meaning sometimes an empty tag) is preserved.

The previous behavior caused essential dependencies to be omitted and
builds to fail in response. E.g., multiple `:fortran` dependencies with
tags `[]`, `[:recommended]`, and `[:optional]` would have been expanded
and merged to `"gcc"` with tags `[:recommended, :optional]`, causing it
to be no longer seen as a required dependency.

Closes Homebrew/homebrew#47040.

Signed-off-by: Martin Afanasjew &lt;martin@afanasjew.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While it may suffice to merge string and non-reserved tags by forming a
union of all tags of dependencies of the same name, this approach fails
to work for the reserved tags. These are now merged such that the most
restrictive tag (meaning sometimes an empty tag) is preserved.

The previous behavior caused essential dependencies to be omitted and
builds to fail in response. E.g., multiple `:fortran` dependencies with
tags `[]`, `[:recommended]`, and `[:optional]` would have been expanded
and merged to `"gcc"` with tags `[:recommended, :optional]`, causing it
to be no longer seen as a required dependency.

Closes Homebrew/homebrew#47040.

Signed-off-by: Martin Afanasjew &lt;martin@afanasjew.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add (failing) tests for merging deps tags</title>
<updated>2015-12-17T12:50:38+00:00</updated>
<author>
<name>Martin Afanasjew</name>
</author>
<published>2015-12-15T09:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=0f9abe57ea819c63015103ed67de2ecd49398439'/>
<id>0f9abe57ea819c63015103ed67de2ecd49398439</id>
<content type='text'>
The general idea is that merging multiple dependencies of the same name
should produce the strictest tag instead of a (meaningless) union of the
reserved tags. For example, if a dependency is both a `:recommended` and
an `:optional` dependency at different points in the dependency tree,
the resulting merged dependency should be tagged as `:recommended`.
Handle all other reserved tags in the same spirit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The general idea is that merging multiple dependencies of the same name
should produce the strictest tag instead of a (meaningless) union of the
reserved tags. For example, if a dependency is both a `:recommended` and
an `:optional` dependency at different points in the dependency tree,
the resulting merged dependency should be tagged as `:recommended`.
Handle all other reserved tags in the same spirit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow multiple option_names in dep/reqs.</title>
<updated>2015-12-15T08:37:16+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2015-12-14T19:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=e5ba31fcdcc4150e5aa8ecf110cfa502dd62a802'/>
<id>e5ba31fcdcc4150e5aa8ecf110cfa502dd62a802</id>
<content type='text'>
This means that dependencies can be merged but still maintain all
their option names.

Closes Homebrew/homebrew#46916.

Signed-off-by: Mike McQuaid &lt;mike@mikemcquaid.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that dependencies can be merged but still maintain all
their option names.

Closes Homebrew/homebrew#46916.

Signed-off-by: Mike McQuaid &lt;mike@mikemcquaid.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test_dependency: add failing option names test.</title>
<updated>2015-12-15T08:37:16+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2015-12-14T19:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=484c70d19ff17944e4926e7ad3f9bc0fad98797a'/>
<id>484c70d19ff17944e4926e7ad3f9bc0fad98797a</id>
<content type='text'>
This test will obviously fail but it does mark that the option names
are not being merged correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test will obviously fail but it does mark that the option names
are not being merged correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option_name tests.</title>
<updated>2015-12-15T08:37:16+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2015-12-14T19:39:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=7095378b31374323d613de448901731ed2b87b63'/>
<id>7095378b31374323d613de448901731ed2b87b63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Core files style updates.</title>
<updated>2015-08-03T12:22:35+00:00</updated>
<author>
<name>BrewTestBot</name>
</author>
<published>2015-08-03T12:09:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=13d544e11e92ba8ea3788723432046f8dfe4adf9'/>
<id>13d544e11e92ba8ea3788723432046f8dfe4adf9</id>
<content type='text'>
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid &lt;mike@mikemcquaid.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid &lt;mike@mikemcquaid.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dependency equality</title>
<updated>2014-11-21T23:03:58+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-11-21T22:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=a412b49c2ce23d0b917f5c08e0cb453a042c1b26'/>
<id>a412b49c2ce23d0b917f5c08e0cb453a042c1b26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add assert_eql to provide better failure messages for eql? tests</title>
<updated>2014-07-03T21:55:13+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-07-03T21:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=7d8a901f7a6fe6249db7990e59f2eacf06441cfa'/>
<id>7d8a901f7a6fe6249db7990e59f2eacf06441cfa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
