ilovezfs
9d77652549
audit: detect partial component order compliance
...
depends_on "foo"
conflicts_with "bar"
depends_on "baz"
should still detect that "bar" and "baz" are in the wrong order even
though "foo" and "bar" happen to be in the right order.
2016-08-25 07:01:46 -07: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
8d79cf1eb6
Merge pull request #779 from MikeMcQuaid/bin-brew-local-homebrew
...
bin/brew: improve $HOMEBREW_REPOSITORY/bin/brew handling.
2016-08-24 14:42:27 +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
Markus Reiter
50fee14358
Unify heredoc style.
2016-08-24 13:52:46 +02:00
Markus Reiter
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 Reiter
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
d0ff64666a
bin/brew: improve /usr/local/bin/brew handling.
...
If `/usr/local` is the prefix but not the repository (so bottles can be
used) then running `/usr/local/bin/brew` works great but
`$HOMEBREW_REPOSITORY/bin/brew` assumes the prefix is
`$HOMEBREW_REPOSITORY`. This is a pain when doing work on the Homebrew
repository and having e.g. `bin` in your `$PATH`. Improve this
behaviour so `bin/brew` knows how to handle this situation.
2016-08-24 10:56:28 +01:00
Mike McQuaid
2f9bf5f047
bin/brew: split up brew file symlink check.
...
This will enable this code to be reused in a future commit and makes it
more obvious what’s being done.
2016-08-24 10:56:28 +01:00
Mike McQuaid
db4ce3d6b7
bin/brew: refactor HOMEBREW_PREFIX="/" logic.
...
The previous approach of trying to do it on one line was confusing.
2016-08-24 10:56:28 +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
Misty De Meo
e93771ae07
no_weak_imports: call ENV.append, not .add
2016-08-24 16:20:13 +10:00
Zhiming Wang
9f072a92d5
config: set TMPDIR, TEMP and TMP to HOMEBREW_TEMP
...
TMPDIR, TEMP and TMP (when set) are not whitelisted for writing in
sandbox.rb, which could result in sandbox violations when programs
attempt to write to these locations.
Setting TMPDIR, TEMP and TMP to HOMEBREW_TEMP (which defaults to /tmp
when not set) works around the aforementioned problem and also improves
uniformity in the locations of tempfiles created during Homebrew
operations.
Caveat: Non-matching HOMEBREW_TEMP and TMPDIR could lead to undesirable
side effects in certain cases, e.g., emacsclient not being able to find
an existing server (whose socket lives in $TMPDIR/emacs$UID/) when
launched through brew edit.
2016-08-24 12:59:57 +08:00
Markus Reiter
85635a1e19
Merge Cask’s Pathname
extension with Homebrew’s.
2016-08-24 00:43:32 +02:00
Markus Reiter
1e1a8bf626
Use version 3.1.0 of vendored plist
.
2016-08-23 23:36:17 +02:00
Markus Reiter
963337aede
Add vendored plist
, version 3.1.0.
2016-08-23 23:36:17 +02:00
AnastasiaSulyagina
65579f27dd
cask tty removed
2016-08-23 23:44:45 +03:00
Martin Afanasjew
cb700b67e2
Merge pull request #767 from woodruffw/ruby-macho-enable
...
Enable ruby-macho by default.
2016-08-23 11:40:30 +02:00
Mike McQuaid
4108c00bf2
Merge pull request #778 from MikeMcQuaid/update-full-git-path
...
update: make GIT_EXECUTABLE an absolute path.
2016-08-23 10:02:36 +01:00
Markus Reiter
911edb0ed7
Add test for per-cask cleanup
.
2016-08-23 08:18:50 +02:00
Markus Reiter
3e81934b8f
Allow per-cask cleanup
.
2016-08-23 01:43:03 +02:00
Markus Reiter
a70c60baea
Merge pull request #790 from reitermarkus/refactoring-cask
...
Move Cask’s vendored `plist` to `Homebrew/vendor`.
2016-08-23 00:45:53 +02:00
Markus Reiter
0dbf485c4f
Move Cask’s vendored plist
to Homebrew/vendor
.
2016-08-22 23:13:43 +02:00
Mike McQuaid
31052a924f
Merge pull request #782 from MikeMcQuaid/weak-imports-opt-in
...
Make -no_weak_imports opt-in.
2016-08-22 12:02:16 +01:00
Mike McQuaid
67fef7125d
Merge pull request #781 from Homebrew/revert-752-diagnostic-ignore-duplicate-brew-cask
...
Revert "diagnostic: ignore duplicated `brew-cask` commands"
2016-08-22 11:34:16 +01:00
Mike McQuaid
602fb0e575
Make -no_weak_imports opt-in.
...
The experiment to add `-no_weak_imports` unconditionally has been a bit
of a failure. It's broken more than it's fixed and I don't think we can
have this as a default for Xcode 8.
Add `ENV.no_weak_imports` to be used by formulae authors and make
`ENV.no_weak_imports a no-op (for now).
We may reconsider this behaviour in future.
2016-08-22 10:39:38 +01:00
Mike McQuaid
74cdfe491f
Revert "diagnostic: ignore duplicated brew-cask
commands"
2016-08-22 10:28:03 +01:00
Mike McQuaid
b6afa228f4
update: make GIT_EXECUTABLE an absolute path.
...
Otherwise it can end up as e.g. `bin/git` which then breaks when we
`cd` to another directory and try to run it.
2016-08-22 09:04:15 +01:00
Markus Reiter
21ac7de20c
Merge pull request #771 from reitermarkus/dummy-containers
...
Forgot renaming `cab-container`.
2016-08-22 09:54:52 +02:00
Markus Reiter
6ef09ab463
Merge pull request #776 from reitermarkus/refactoring
...
Cask Refactoring
2016-08-22 09:53:06 +02:00
Markus Reiter
7b8bae710e
Use ThreadError
to break loop.
2016-08-22 08:57:47 +02:00
Markus Reiter
ff30a303c8
Update Cask’s Gemfile.
2016-08-22 06:40:25 +02:00
Markus Reiter
61b38bdf1e
Remove man
generation from Cask’s Rakefile.
2016-08-22 03:31:30 +02:00
Markus Reiter
84820f2c5a
Refactor .editorconfig
.
2016-08-22 02:59:50 +02:00
Markus Reiter
66b7cd350e
Remove non-existing directories from Cask’s .simplecov
.
2016-08-22 02:31:39 +02:00
Markus Reiter
a98015192b
Move Cask man page to root.
2016-08-22 01:49:12 +02:00
Markus Reiter
978567f9fd
Rename cab-container
to container-cab
.
2016-08-22 00:32:13 +02:00