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
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
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
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
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
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
6f3039fcd3
cmd/deps: avoid some full-name code repetition.
2016-08-30 18:49:27 +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
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
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
da2ad32a8d
Don’t use should syntax in rspec.
2016-08-27 11:56:52 +02:00
Markus Reiter
c1621f7f54
Also report Cask coverage.
2016-08-27 10:17:20 +02:00
Markus Reiter
db88ca1e18
Fix missing magenta in Tty.
2016-08-26 14:14:18 +02:00
Mike McQuaid
48ac15180c
Merge pull request #818 from reitermarkus/refactor-cask
...
Remove `exist?` check for `brew-cask-tests.rb`.
2016-08-26 12:57:11 +01:00
Markus Reiter
a11f536280
Remove exist? check for brew-cask-tests.rb.
2016-08-26 11:46:32 +02:00
Mike McQuaid
9c09f05730
Merge pull request #794 from AnastasiaSulyagina/tty
...
cask tty removed
2016-08-26 10:05:35 +01:00
Mike McQuaid
373159dedd
Merge pull request #817 from zmwangx/restrict-tmpdir-change
...
Restrict TMPDIR etc. changes to install, post_install and test
2016-08-26 09:54:26 +01:00
Zhiming Wang
e82347b233
Restrict TMPDIR etc. changes to install, post_install and test
...
See discussion in Homebrew/brew#800 .
2016-08-26 12:39:27 +08:00
Dominyk Tiller
f37d7a5637
test_integration_cmds: use https://bot.brew.sh
2016-08-26 01:43:25 +01:00
Mike McQuaid
c39f0baa21
Merge pull request #808 from MikeMcQuaid/homebrew-root-complain
...
brew.sh: complain when running Homebrew as root.
2016-08-25 19:19:48 +01:00
Mike McQuaid
27b0ca4b47
brew.sh: complain when running Homebrew as root.
...
As discussed: announce that we are deprecating running Homebrew as the
root user as it's insecure and requires disabling the sandbox.
Fixes #796 .
2016-08-25 18:32:32 +01:00
Mike McQuaid
bf872672a8
Merge pull request #809 from MikeMcQuaid/doctor-local-tweak
...
diagnostic: tweak /usr/local messaging.
2016-08-25 15:44:41 +01:00
Mike McQuaid
2691cf1b8b
diagnostic: tweak /usr/local messaging.
...
Highlight that the main reason for preferring /usr/local is because of
bottles. There's been some confusion around this e.g.
https://github.com/Homebrew/homebrew-core/issues/3968
2016-08-25 15:29:43 +01:00
Mike McQuaid
46a3003a2f
update.sh: reset pre-stash, die if stash fails.
...
A `git reset --hard` without stashing first risks nuking in-progress
work. A `git reset --mixed` should allow stashing to occur more often
on e.g. merge conflicts.
Fixes #766 .
2016-08-25 11:45:59 +01:00
Mike McQuaid
408ac6088f
scm/git: make --homebrew=print-path absolute.
...
This ensures that the output is always a fully-resolved path.
2016-08-25 11:12:22 +01:00
Mike McQuaid
ea069936bf
Revert "update: make GIT_EXECUTABLE an absolute path."
...
This reverts commit b6afa228f4974f4af1e8938911e35150aa2991c8 from #778 .
2016-08-25 11:12:22 +01:00
Mike McQuaid
df21e57179
Merge pull request #800 from zmwangx/set-TMPDIR-TEMP-TMP-to-HOMEBREW_TEMP
...
config: set TMPDIR, TEMP and TMP to HOMEBREW_TEMP
2016-08-25 10:37:07 +01:00
Mike McQuaid
6e535e1f7c
Merge pull request #804 from MikeMcQuaid/brewfile-unset
...
Improve HOMEBREW_BREW_FILE unset failure case.
2016-08-25 08:46:05 +01:00
Markus Reiter
72846fac47
Merge pull request #803 from reitermarkus/heredoc-style
...
Unify heredoc style.
2016-08-24 20:23:50 +02:00
Josh Hagins
4f6a46f4b1
Merge pull request #791 from reitermarkus/per-cask-cleanup
...
Allow per-cask `cleanup`.
2016-08-24 11:11:19 -04:00
Mike McQuaid
e7984b34d5
Improve HOMEBREW_BREW_FILE unset failure case.
...
Print a better exception message and handle this in more cases rather
than producing confusing errors when it’s unset.
2016-08-24 14:48:53 +01:00
Mike McQuaid
66f26259ac
Merge pull request #780 from MikeMcQuaid/usr-local-cellar
...
brew.sh: don't require /usr/local/Cellar creation.
2016-08-24 14:41:52 +01:00
Mike McQuaid
acfb1b1979
Merge pull request #783 from MikeMcQuaid/update-link-manpages
...
update-report: also link `brew*.1` manpages.
2016-08-24 14:41:35 +01:00