11087 Commits

Author SHA1 Message Date
ilovezfs
de65f28d3c Merge pull request #376 from ilovezfs/bump-formula-pr-audit
bump-formula-pr: audit formula before opening PR

note that it was made opt-in not opt-out
2016-09-04 10:28:27 -07:00
Mike McQuaid
201abcc8db Merge pull request #868 from MikeMcQuaid/tap-constants-at
tap_constants: allow formulae to have @ in name.
2016-09-04 14:14:07 +01:00
Mike McQuaid
cf505fa6ce Revert "bottle: fix --keep-old JSON generation."
This reverts commit 5e9bb877d54fc1803a866f49997f3e819c3ca650.
2016-09-04 13:22:08 +01:00
Mike McQuaid
44ae0080e1 Revert "bottle: allow --keep-old to ignore same sha256s."
This reverts commit ec1437499a178a09805854469c5162d749270f3e.
2016-09-04 13:22:06 +01:00
Mike McQuaid
14236c3950 test-bot: cleanup all repositories.
The test bot currently only focuses on doing cleanup on the current tap
and the HOMEBREW_REPOSITORY. This should be extended to cover all
repositories as e.g. a syntax error in homebrew/core can break the CI
for all the other taps.
2016-09-04 11:26:38 +01:00
Mike McQuaid
d1087a545b Merge pull request #867 from MikeMcQuaid/test-bot-tap-check
test-bot: add missing @tap check.
2016-09-04 11:17:52 +01:00
Mike McQuaid
0c44ce2a38 tap_constants: allow formulae to have @ in name.
Follow-up from #812 to fix handling fully-qualified versioned formulae
names.

Allows pulling https://github.com/Homebrew/homebrew-core/pull/971.
2016-09-04 11:15:32 +01:00
Mike McQuaid
d8a2a90dac test-bot: add missing @tap check. 2016-09-04 11:04:36 +01:00
Mike McQuaid
f19ad51734 Merge pull request #861 from MikeMcQuaid/test-bot-no-tests-with-formulae
test-bot: don't run brew tests etc. when formulae.
2016-09-04 10:58:35 +01:00
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