<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/test/tarballs, branch 0.9.8</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>DSL method "apply" to specify patch files</title>
<updated>2016-02-01T18:37:36+00:00</updated>
<author>
<name>ilovezfs</name>
</author>
<published>2016-01-25T16:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=cc3d041c263ef88d2d301d06eb17031cfabfc971'/>
<id>cc3d041c263ef88d2d301d06eb17031cfabfc971</id>
<content type='text'>
The "apply" DSL method can be called from patch-do blocks to specify
the paths within an archive of the desired patch files, which will be
applied in the order in which they were supplied to the "apply" calls.
If "apply" isn't used, raise an error whenever the extracted directory
doesn't contain exactly one file.

The "apply" method can be called zero or more times within a patch-do
block with the following syntaxes supported:

    apply "single_apply"
    apply "multiple_apply_1", "multiple_apply_2"
    apply [array_of_apply]

If apply must be used, a single call using the second syntax above is
usually best practice. Each apply leaf should be the relative path to a
specific patch file in the extracted directory.

For example, if extracting this-v123-patches.tar.gz gives you

    this-123
    this-123/.DS_Store
    this-123/LICENSE.txt
    this-123/patches
    this-123/patches/A.diff
    this-123/patches/B.diff
    this-123/patches/C.diff
    this-123/README.txt

and you want to apply only B.diff and C.diff, then you need to use
"patches/B.diff" and "patches/C.diff" for the lowest-level apply leaves.

The code was provided by Xu Cheng. Any mistakes are mine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "apply" DSL method can be called from patch-do blocks to specify
the paths within an archive of the desired patch files, which will be
applied in the order in which they were supplied to the "apply" calls.
If "apply" isn't used, raise an error whenever the extracted directory
doesn't contain exactly one file.

The "apply" method can be called zero or more times within a patch-do
block with the following syntaxes supported:

    apply "single_apply"
    apply "multiple_apply_1", "multiple_apply_2"
    apply [array_of_apply]

If apply must be used, a single call using the second syntax above is
usually best practice. Each apply leaf should be the relative path to a
specific patch file in the extracted directory.

For example, if extracting this-v123-patches.tar.gz gives you

    this-123
    this-123/.DS_Store
    this-123/LICENSE.txt
    this-123/patches
    this-123/patches/A.diff
    this-123/patches/B.diff
    this-123/patches/C.diff
    this-123/README.txt

and you want to apply only B.diff and C.diff, then you need to use
"patches/B.diff" and "patches/C.diff" for the lowest-level apply leaves.

The code was provided by Xu Cheng. Any mistakes are mine.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add metafiles to testball</title>
<updated>2016-01-20T19:42:36+00:00</updated>
<author>
<name>Alex Dunn</name>
</author>
<published>2016-01-18T01:01:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=0cde5dd06048f00d17abf3c009c86eced3f68c09'/>
<id>0cde5dd06048f00d17abf3c009c86eced3f68c09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused method and associated test fixtures</title>
<updated>2014-05-28T23:48:38+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-05-28T23:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=9821316ec17a19d817953cc9703dd57cd3d9ae5c'/>
<id>9821316ec17a19d817953cc9703dd57cd3d9ae5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: actually use bzip for test tarball</title>
<updated>2011-09-02T16:45:56+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2011-09-02T16:43:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=eb52b97a1eeab3a622ebf25a65a750c5e6ece492'/>
<id>eb52b97a1eeab3a622ebf25a65a750c5e6ece492</id>
<content type='text'>
I inadvertently gzipped it last night. That in itself doesn't cause any
tests to fail because the download strategy code is robust, but it's
fixed here anyway to be consistent. Basically, I'm dumb.

I also took the opportunity to remove the other resource fork file, so
the tarball is clean.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I inadvertently gzipped it last night. That in itself doesn't cause any
tests to fail because the download strategy code is robust, but it's
fixed here anyway to be consistent. Basically, I'm dumb.

I also took the opportunity to remove the other resource fork file, so
the tarball is clean.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix failing test_a_basic_install</title>
<updated>2011-09-02T06:20:56+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2011-09-02T06:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=23dbe43fb799c597343d5c328e938f7384514a02'/>
<id>23dbe43fb799c597343d5c328e938f7384514a02</id>
<content type='text'>
The test_a_basic_install was failing because it expected
libexec.children.length to be 1, when in fact there were two files in
the untarred libexec: NOOP, and the Mac OS X resource fork file ._NOOP.

That file is now removed, and the test passes.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test_a_basic_install was failing because it expected
libexec.children.length to be 1, when in fact there were two files in
the untarred libexec: NOOP, and the Mac OS X resource fork file ._NOOP.

That file is now removed, and the test passes.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move testing tarballs into subfolder</title>
<updated>2010-07-29T19:03:23+00:00</updated>
<author>
<name>Adam Vandenberg</name>
</author>
<published>2010-06-10T20:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=5c3a96ae682321cd870f1b1b3d2a739e7ecbe90f'/>
<id>5c3a96ae682321cd870f1b1b3d2a739e7ecbe90f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
