Commit Graph
9413 Commits
Author SHA1 Message Date
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
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 McQuaidandGitHub 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 McQuaidandGitHub 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 TillerandGitHub 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 McQuaidandGitHub 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 db88ca1e18 Fix missing magenta in Tty. 2016-08-26 14:14:18 +02:00
Mike McQuaidandGitHub 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 McQuaidandGitHub 9c09f05730 Merge pull request #794 from AnastasiaSulyagina/tty
cask tty removed
2016-08-26 10:05:35 +01:00
Mike McQuaidandGitHub 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 McQuaidandGitHub 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 McQuaidandGitHub 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 b6afa228f4 from #778.
2016-08-25 11:12:22 +01:00
Mike McQuaidandGitHub 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 McQuaidandGitHub 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 ReiterandGitHub 72846fac47 Merge pull request #803 from reitermarkus/heredoc-style
Unify heredoc style.
2016-08-24 20:23:50 +02:00
Josh HaginsandGitHub 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 McQuaidandGitHub 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 McQuaidandGitHub 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
Markus Reiter 50fee14358 Unify heredoc style. 2016-08-24 13:52:46 +02:00
Markus ReiterandGitHub fa19447a2d Merge pull request #793 from reitermarkus/refactoring-pathname
Merge Cask’s `Pathname` extension with Homebrew’s.
2016-08-24 12:32:17 +02:00
Markus ReiterandGitHub ff7d3f226a Merge pull request #795 from Homebrew/plist-readme
Add vendored `plist` to ReadMe.
2016-08-24 12:21:16 +02:00
Mike McQuaid ec75fbcb65 cmd/man: deprecate --link option. 2016-08-24 11:07:06 +01:00
Mike McQuaid 3df7daa5bf update-report: also link brew*.1 manpages.
Otherwise if your `HOMEBREW_PREFIX` and `HOMEBREW_REPOSITORY` are not
equal then your tap manpages will be linked but your `brew*` ones will
not.
2016-08-24 11:06:58 +01:00
Mike McQuaid 03352805c6 tap: use utils link_path_manpages. 2016-08-24 11:06:58 +01:00
Mike McQuaid 8cc027a3cd utils: add link_path_manpages method. 2016-08-24 11:06:58 +01:00
Mike McQuaid eabc8a2561 brew.sh: don't require /usr/local/Cellar creation.
If you're using e.g. a `/usr/local/homebrew` prefix then don't require
the `/usr/local/Cellar` to be manually created to avoid e.g.
`/usr/local/homebrew/Cellar` being used. Let's do all we can to let
people use this `Cellar` location as it means they can put their
repository wherever they like and still use all our bottles.
2016-08-24 10:04:30 +01:00
Markus Reiter fef96f0ba8 Move part of parser_test to system_command_result_spec. 2016-08-24 08:54:19 +02:00