Mike McQuaid
0031e1947d
brew-test-bot: build changed dependencies first.
...
And don't uninstall them in-between. This should fix the issues where
if e.g. OpenSSL changes in a pull request then it's only the dependents
after it alphabetically would be built against the new version.
2014-09-16 09:59:09 +01:00
Mike McQuaid
babcad25e3
brew-test-bot: add --dry-run mode.
2014-09-15 14:23:12 +01:00
Jack Nagel
6a3a370603
Fix file descriptor leak
2014-09-08 19:50:32 -05:00
Jack Nagel
9321873eef
Use predicate method and eliminate local
2014-09-08 19:50:15 -05:00
Jack Nagel
f6eedf9464
Avoid early return
2014-09-08 19:50:13 -05:00
Jack Nagel
6b423c8cfb
Make sure redirected stdout and stderr share the same offset
...
This fixes broken output like this:
Error: No such file or directory - non_existent_file
ee/src/tree-1.7.0.tgz
Already downloaded: /Library/Caches/Homebrew/tree-1.7.0.tgz
==> Verifying tree-1.7.0.tgz checksum
tar xf /Library/Caches/Homebrew/tree-1.7.0.tgz
2014-09-07 20:25:12 -05:00
Jack Nagel
24a133f119
gist-logs: send an Accept header with the request
2014-09-07 17:41:55 -05:00
Jack Nagel
08c581d5e7
gist-logs: extract methods
2014-09-07 17:34:13 -05:00
Jack Nagel
793b58a686
gist-logs: always post config and doctor output
...
Closes Homebrew/homebrew#32145 .
2014-09-07 17:12:21 -05:00
Jack Nagel
1dd924b9bd
gist-logs: remove unnecessary exception class
2014-09-07 16:19:20 -05:00
Jack Nagel
c0c5298ae5
gist-logs: pull ternary out of hash literal
2014-09-07 16:12:02 -05:00
Jack Nagel
832f88fbc1
gist-logs: simplify setting the post path
2014-09-07 16:09:42 -05:00
Jack Nagel
944ac75b24
Use Formula#tap to get the repository name
2014-09-07 16:06:47 -05:00
Jack Nagel
829b6289f5
brew-test-bot: check for hg in requirements
2014-09-07 12:53:50 -05:00
Jack Nagel
51ffcc761f
Fix typo
2014-09-07 12:39:09 -05:00
Jack Nagel
4652be33b9
brew-test-bot: install hg before fetching if necessary
2014-09-07 12:32:40 -05:00
Jack Nagel
50f0146f51
brew-test-bot: less code in begin block
2014-09-07 12:31:46 -05:00
Xu Cheng
369de0a05d
brew-services: mkpath first if destination dir not existed
2014-08-31 19:18:11 +01:00
Jack Nagel
97f89877e3
Convert deps collections to arrays first
2014-08-30 16:36:40 -05:00
Jack Nagel
73956a1b77
Use different variable name
2014-08-30 10:24:42 -05:00
Mike McQuaid
efb02aa79d
brew-test-bot: check dependencies' compilers too.
2014-08-30 13:28:53 +01:00
Mike McQuaid
4140671329
brew-pull: don't barf on syntax errors.
2014-08-16 20:08:45 +01:00
Jack Nagel
47fedf2951
Update tap README template
2014-08-09 22:45:02 -05:00
Mike McQuaid
2559ee76b2
brew-test-bot: fix upload type bug.
2014-08-04 12:23:08 +01:00
Maurus Cuelenaere
e311583fe4
brew-test-bot: support taps.
...
Closes Homebrew/homebrew#30540 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-04 09:34:17 +01:00
Mike McQuaid
8ad07144f7
brew-test-bot: handle changed formulae deps.
...
If both a formula and its dependencies are changed in a single pull
request it'll fail because the bottle block may no longer be correct.
Handle this case by ignoring bottle pour failures and fetching the
source packages instead of bottles.
2014-07-29 13:38:18 +02:00
Mike McQuaid
d2d2b3c888
brew-test-bot: clear compiler version cache.
...
This fix means that brew-test-bot can bottle formulae that require GCC
again.
2014-07-24 08:51:09 +01:00
Mike McQuaid
19dce37a5f
brew-pull: don't fail to pull on Formula exception
2014-07-21 15:43:54 +01:00
Jack Nagel
a150403eb9
brew-gist-logs: dump config directly
2014-07-19 22:37:22 -05:00
Jack Nagel
a9c5e81a48
Remove a conditional and always pass the spec to satisfied_requirements
2014-07-19 22:19:02 -05:00
Jack Nagel
d706bcf153
Remove the patch from the cache after applying it
2014-07-19 21:55:02 -05:00
Jack Nagel
01be861deb
Use if-else instead of postfix unless
2014-07-19 20:58:47 -05:00
Jack Nagel
26b8c5a27d
Improve pull request URL regexp
...
- use a regexp literal and avoid escaping forward slashes
- escape the period in "github.com"
- match only hex characters in the commit part
- allow hyphen in usernames and repo names, matching what we allow for
tap names
- avoid unnecessary capture
2014-07-19 20:25:32 -05:00
Jack Nagel
5d1977363f
Tighten up bottle ruby file glob
2014-07-15 16:11:35 -05:00
Jack Nagel
f906d13ef2
Remove dead code
2014-07-11 20:34:33 -05:00
Jack Nagel
a2ef43b2a4
Only compute the log file path once per call
2014-07-11 20:28:17 -05:00
Jack Nagel
a7ca4bc300
Remove intermediate variable
2014-07-11 20:27:57 -05:00
Jack Nagel
6cad17caef
brew-test-bot: use git to do the diff filtering
2014-07-11 16:15:45 -05:00
Jack Nagel
845c4b7f2f
brew-pull: use git to do the diff filtering
2014-07-11 16:12:54 -05:00
Mike McQuaid
07f0f60908
Deprecate some contributions.
...
This is just a starting point to start discussion. I think we have a
few options with contributions:
- Stop accepting them altogether and move the ones we need/use/support
into core commands
- Accept them on an unsupported basis and require they be added
manually to the PATH
- Actively support and fix bugs in them all
Closes Homebrew/homebrew#30749 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-10 10:24:17 -07:00
Jack Nagel
aeccba8dbe
Fix brew-aspell-dictionaries
2014-07-06 22:46:34 -05:00
Jack Nagel
44254aa9cf
Remove redundant "which git" guards
...
There is always a git executable on PATH due to the git wrapper in
Library/Contributions/cmd. The wrapper will notify the user if there is
not a real git installed.
2014-07-06 14:10:52 -05:00
Jack Nagel
32d8574d8c
brew-pull: fix --install
2014-07-05 19:36:25 -05:00
Jack Nagel
9c757d6ee2
Remove remaining references to "--fresh"
...
This option was removed in 8cdf4d8ebf439eb9a9ffcaa0e455ced9459e1e41
because it did not do anything.
2014-07-05 19:28:50 -05:00
Jack Nagel
94c083dc2b
brew-pull: combine conditionals
2014-07-05 19:16:14 -05:00
Jack Nagel
4ab696e4f2
brew-pull: avoid the "var = ... rescue nil" dance
2014-07-05 17:44:32 -05:00
Jack Nagel
01dc9c4900
brew-pull: rescue a specific exception
2014-07-05 17:30:41 -05:00
Jack Nagel
9a9328eef4
brew-pull: use diff-tree and simplify diff parsing
2014-07-05 17:26:07 -05:00
Jack Nagel
6c91c0806f
brew-pull: let git-am attempt three-way merge if patch doesn't apply
2014-07-05 16:35:43 -05:00
Jack Nagel
32d84377d5
Move constants so we don't have to load all of ENV to get them
2014-07-02 21:58:43 -05:00