Mike McQuaid
52812006b5
Merge pull request #860 from MikeMcQuaid/bottle-keep-old-merge
...
bottle: allow --keep-old to ignore same sha256s.
2016-09-04 10:58:06 +01:00
Tim D. Smith
bf18808930
Catch system libressl in openssl audit as well
...
The regex didn't match libcrypto.35.dylib, and it should have.
2016-09-03 22:13:09 -07:00
Alyssa Ross
0ef3e1e0dc
Preserve alias when installing formulae
...
Part of #567
2016-09-03 21:16:43 +01:00
Mike McQuaid
1feda75081
test-bot: don't run brew tests etc. when formulae.
...
If there's formulae changes or the specified argument is a formula then
don't waste time running e.g. `brew tests`.
2016-09-03 20:24:47 +01:00
Mike McQuaid
ec1437499a
bottle: allow --keep-old to ignore same sha256s.
...
It should refuse to change existing ones but it should allow them to be
the same and silently ignore.
2016-09-03 20:20:52 +01:00
Mike McQuaid
2682b59b7f
update-report: add newline if preinstall updated.
...
Fixes #858 .
2016-09-03 19:36:34 +01:00
Mike McQuaid
9fd97dd3cf
Merge pull request #856 from MikeMcQuaid/bottle-keep-old-json-fix
...
bottle: fix --keep-old JSON generation.
2016-09-03 19:26:11 +01:00
ilovezfs
f5a462bca1
bump-formula-pr: audit formula before opening PR
2016-09-03 10:47:04 -07:00
Mike McQuaid
5e9bb877d5
bottle: fix --keep-old JSON generation.
...
Ensure that the JSON file contains all the bottle checksums when using
`--keep-old`. This avoids having to use the formula DSL when merging and
relies on existing integrity checks.
This change does nothing differently if `--keep-old` is not passed.
2016-09-03 17:30:26 +01:00
Mike McQuaid
327f5ca177
Merge pull request #807 from ilovezfs/partial_order_compliance
...
audit: detect partial component order compliance
2016-09-03 15:07:30 +01:00
Tim D. Smith
d39eeac0d5
Merge pull request #845 from tdsmith/usr-local-sdkroot
...
Don't reject -L/usr/local/lib when SDKROOT is defined
Closes #844 . Fixes Homebrew/homebrew-fuse#62 .
2016-09-02 17:55:37 -07:00
Mike McQuaid
51bdd859ae
Merge pull request #850 from MikeMcQuaid/cask-root
...
brew.sh: allow cask to be run as root.
2016-09-02 07:43:14 +01:00
Mike McQuaid
b2cbe04795
Merge pull request #851 from MikeMcQuaid/conflicts-manpages-indentation
...
utils: fix link_path_manpages message indentation.
2016-09-02 07:43:04 +01:00
Mike McQuaid
283706e72a
utils: fix link_path_manpages message indentation.
...
Otherwise looks weird with multiple items.
2016-09-01 20:53:25 +01:00
Mike McQuaid
0cfe51b328
brew.sh: allow cask to be run as root.
...
It also uses `sudo` for legitimate things e.g. installing `.pkg`s
systemwide.
2016-09-01 20:35:12 +01:00
Mike McQuaid
a607a83749
Merge pull request #846 from vladshablinsky/pinned_not_eligible
...
formula: pinned keg is not eligible for cleanup
2016-09-01 20:32:14 +01:00
Mike McQuaid
0dc0bc1617
Merge pull request #773 from reitermarkus/report-cask-coverage
...
Also report Cask coverage.
2016-09-01 20:31:40 +01:00
Markus Reiter
0f84fe7168
Merge pull request #847 from penman/docs_build_options
...
docs: add missing </pre>
2016-09-01 20:56:10 +02:00
Dominyk Tiller
706c007de6
Merge pull request #834 from DomT4/robot-dom
...
audit: various tweaks
2016-09-01 18:39:49 +01:00
Dominyk Tiller
8a3a4b83fd
audit: banish http://http.debian.net for secure mirrors
2016-09-01 17:29:03 +01:00
Dominyk Tiller
4422bd1f34
audit: enforce https for Debian's anonscm
2016-09-01 17:29:03 +01:00
Alyssa Ross
cd1f761668
docs: add missing </pre>
2016-09-01 16:39:21 +01:00
Vlad Shablinsky
6cff426b4f
formula: pinned keg is not eligible for cleanup
...
If formula is pinned it shouldn't be eligible for cleanup.
Otherwise we can encounter the following behaviour:
1. Install <formula>
2. Pin <formula>
3. <formula> gets outdated
4. Install <other_formula> that depends on <formula>, which requires
up-to-date installation of <formula>. Thus, <formula> gets updated.
5. Now, if we cleanup <formula> we don't remove pin, so it points to
the keg which doesn't exist any longer. The right behaviour is not
to cleanup pinned kegs, which is done in this commit.
Also see #831 for further info.
2016-09-01 17:46:28 +03:00
ilovezfs
8bb3dda243
Merge pull request #835 from ilovezfs/install_deps_of_dep_before_dep
...
formula_installer: install deps of dep before dep
2016-09-01 07:31:36 -07:00
ilovezfs
6217e5200e
formula_installer: install deps of dep before dep
...
Dependencies/requirements of a dependency need to be installed/satisfied
before the dependency. The fact that @pour_failed may be false is
irrelevant to that imperative if we weren't pouring to begin with, so
this commit now checks for that case as well.
2016-09-01 03:51:05 -07:00
Mike McQuaid
6622b565ee
Merge pull request #801 from MikeMcQuaid/git-shim-realpath
...
scm/git: make --homebrew=print-path use realpath.
2016-09-01 07:46:58 +01:00
Mike McQuaid
7b2798cb35
Merge pull request #810 from MikeMcQuaid/update-stash-fail
...
update.sh: reset pre-stash, die if stash fails.
2016-09-01 07:46:19 +01:00
Tim D. Smith
8f068fdbca
Don't reject -L/usr/local/lib when SDKROOT is defined
...
/usr/local/lib is removed from the default linker search path when
SDKROOT is defined or sysroot is specified.
Homebrew sometimes sets SDKROOT without setting a sysroot as of 45e138f.
2016-08-31 22:38:18 -07:00
Mike McQuaid
5d5b9a7853
Merge pull request #842 from penman/docs_plist_options
...
docs: fix a typo in plist_options?
2016-08-31 21:41:04 +01:00
Ross Penman
5f1abcf842
docs: fix a typo in plist_options
...
While using `"true"` instead of `true` wouldn't break anything, it doesn't
seem to be expected, and using `"false"` instead of `false` _would_ break
things.
2016-08-31 20:19:14 +01:00
Josh Hagins
2c35d2c939
Merge pull request #839 from jawshooah/cask/deprecated-header-syntax
...
Allow deprecated hash syntax in Cask headers
2016-08-31 09:19:57 -04:00
Joshua Hagins
5b593ebb89
Allow deprecated hash syntax in Cask headers
2016-08-30 21:51:40 -04:00
Dominyk Tiller
1b6908f41e
Merge pull request #832 from DomT4/bintr@y
...
bottles: translate foo@1.2 to fooAT1.2
2016-08-30 21:01:45 +01:00
Mike McQuaid
8bf787c94d
Merge pull request #830 from scpeters/deps_cmd_full_name
...
Add `--full-name` option to `brew deps`
2016-08-30 20:17:07 +01:00
Mike McQuaid
6f3039fcd3
cmd/deps: avoid some full-name code repetition.
2016-08-30 18:49:27 +01:00
Dominyk Tiller
921aa01576
install: die if Xcode/CLT not up-to-date on prereleases
2016-08-30 05:10:59 +01:00
Dominyk Tiller
1408b5ffd4
diagnostic: add strict_development_tools_checks
2016-08-30 03:54:24 +01:00
Dominyk Tiller
4072628a80
test_utils: add Bottles::Bintray tests
2016-08-29 19:48:34 +01:00
Dominyk Tiller
d3b6a7a763
formulary: tweak @ translation
2016-08-29 19:48:34 +01:00
Dominyk Tiller
ff377bebc0
bottles: translate foo@1.2 to foo:1.2
2016-08-29 19:48:23 +01:00
Steven Peters
bcdd20a165
test-bot: use --full-name in brew deps invocation
...
This allows changed formulae in taps to be tested in the proper order.
See #738 for more details.
2016-08-28 00:30:38 -07:00
Steven Peters
7ddd3977d8
cmd/deps.rb add --full-name option
...
Add --full-name option to brew deps command,
which displays the full name of dependencies.
2016-08-28 00:30:30 -07:00
Dominyk Tiller
8e29cf1b1d
Merge pull request #812 from DomT4/at
...
formulary: handle @ formulae.
2016-08-28 05:01:14 +01:00
Dominyk Tiller
ab203a749f
search: handle name@v.v formulae.
...
Before this change:
```
~> brew search openssl@1.1
openssl@1.1 ✔
==> Did you mean to perform a regular expression search?
==> Surround your query with /slashes/ to search by regex.
```
2016-08-28 03:08:21 +01:00
Dominyk Tiller
24be5c4a39
test_formulary: add formula@version class translation check
2016-08-28 03:08:20 +01:00
Dominyk Tiller
98155a5526
formulary: translate @ to AT for classname
2016-08-28 03:08:14 +01:00
Dominyk Tiller
7c5e149b1b
Merge pull request #825 from DomT4/preinstall_tap
...
brew: execute update before tap
2016-08-27 16:49:10 +01:00
Dominyk Tiller
003b39bc84
man: update for tap preinstall
2016-08-27 15:57:09 +01:00
Dominyk Tiller
0b0893e26e
brew: execute update before tap
...
This seems generally like a good idea given that we're making syntax changes to
formulae & are going to keep doing so for a little while yet. Taps may have moved
over to that syntax, which then causes tap failures if brew isn't up-to-date.
Should fix situations like https://github.com/Homebrew/homebrew-php/issues/3545 .
2016-08-27 15:52:52 +01:00
Markus Reiter
6409186ea9
Merge pull request #826 from reitermarkus/rspec-syntax
...
Don’t use `should` syntax in rspec.
2016-08-27 13:33:32 +02:00