Mike McQuaid
5b90b451f7
Merge pull request #909 from MikeMcQuaid/bottle-keep-old-improve-output
...
bottle: improve --keep-old failure output.
2016-09-10 11:02:19 +01:00
Mike McQuaid
ba85244413
language/python_virtualenv_constants: fix Rubocop warnings.
2016-09-10 10:40:08 +01:00
Mike McQuaid
16be0f105e
language/python: fix Rubocop warnings.
2016-09-10 10:40:02 +01:00
Mike McQuaid
bde8d69d6e
language/node: fix Rubocop warnings.
2016-09-10 10:39:59 +01:00
Mike McQuaid
78603a24f6
language/haskell: fix Rubocop warnings.
2016-09-10 10:38:47 +01:00
Mike McQuaid
44ba4583b7
bottle: improve --keep-old failure output.
...
If fields have changed: tell the user what they were before and are
afterwards.
2016-09-10 10:13:33 +01:00
Mike McQuaid
521efeab78
Merge Cask's gitignore with root one.
...
This fixes the ignoring in libgit2 clients that don't read nested
`.gitignore` files.
2016-09-10 10:03:19 +01:00
Mike McQuaid
274035381d
tests: always set HOMEBREW_DEVELOPER=1.
...
Unit tests should be run consistently no matter who is running them and
we can stub `ARGV.homebrew_developer?` if we need to change them.
2016-09-10 09:50:40 +01:00
Zhiming Wang
41efd59d2c
cmd/commands: always show developer commands
...
Per discussion in #900 .
Closes #900 .
2016-09-09 18:10:10 -04:00
Markus Reiter
4fb691e175
Merge pull request #897 from reitermarkus/os-language
...
Add language method to `OS::Mac`.
2016-09-10 00:03:17 +02:00
Markus Reiter
0243e1f9a7
Add language method to OS::Mac
.
2016-09-09 20:24:47 +02:00
Mike McQuaid
aaf8c415f4
Merge pull request #899 from MikeMcQuaid/diagnostic-duplicate-remove
...
diagnostic: remove duplicate checks.
2016-09-09 13:37:14 +01:00
Mike McQuaid
30fd4f3fe5
diagnostic: remove duplicate checks.
2016-09-09 13:08:02 +01:00
Mike McQuaid
b5a6b4e8e1
Merge pull request #896 from MikeMcQuaid/no-chown-usr-local
...
Don't require/recommend ownership of /usr/local.
2016-09-09 09:29:46 +01:00
Mike McQuaid
930bcb7c52
Merge pull request #881 from MikeMcQuaid/dev-cmd-sticky-homebrew-developer
...
Set HOMEBREW_DEVELOPER automatically
2016-09-09 08:30:26 +01:00
Mike McQuaid
492391f5fe
Don't require/recommend ownership of /usr/local.
...
Apple reset this on every OS X major (and some minor) updates and it
always proves a painful and unnecessary step. Instead just check the
directories we actually care about are writable.
This may mean if these directories do not already exist (although they
are now created by the installed) that `brew link` will fail and require
manual intervention but this seems to be superior for both new and the
majority of existing users.
2016-09-09 08:06:37 +01:00
Mike McQuaid
1d66cdd3ad
Merge pull request #863 from penman/preserve_alias
...
Save aliases in INSTALL_RECEIPT
2016-09-09 07:47:05 +01:00
Mike McQuaid
027086d673
help: rename help section for developers.
2016-09-08 20:48:38 +01:00
Mike McQuaid
ae57057afa
help: use Commands module.
2016-09-08 20:46:55 +01:00
Mike McQuaid
49dcbee99c
command: use Commands module.
2016-09-08 20:46:55 +01:00
Mike McQuaid
0bb7fda143
commands: add commands module for path lookup.
2016-09-08 20:46:55 +01:00
Mike McQuaid
9514d1f8f5
commands: developer not development commands.
2016-09-08 20:46:55 +01:00
Mike McQuaid
71881fd7a6
Add DEVELOPER COMMANDS to manpage.
2016-09-08 20:46:51 +01:00
Mike McQuaid
86bfd36af2
Don't hide some (now) developer commands.
2016-09-08 20:46:37 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00
Mike McQuaid
4f6bae46f9
cmd/*: don't restrict dev-cmd to Homebrew developers.
2016-09-08 20:46:37 +01:00
Mike McQuaid
691d57f594
update.sh: don't cleanup on update for developers.
...
We’re defining developers as people who have run a dev-cmd at least
once.
2016-09-08 20:46:36 +01:00
Mike McQuaid
60d3bf4eb9
brew.rb: don't restrict dev-cmd/*.rb to Homebrew developers.
2016-09-08 20:44:33 +01:00
Mike McQuaid
dd7ed01807
brew.sh: don't restrict dev-cmd/*.sh to Homebrew developers.
2016-09-08 20:44:32 +01:00
Mike McQuaid
42c2ed5e7f
brew.sh: set HOMEBREW_DEVELOPER from Git config.
2016-09-08 20:44:32 +01:00
Mike McQuaid
f37d004ab5
Merge pull request #864 from vladshablinsky/skip-upgrade
...
Skip upgrade of pinned dependency if it's outdated
2016-09-08 20:16:29 +01:00
Zhiming Wang
495419a4ee
Merge pull request #889 from zmwangx/readme-quote-cmdsubst
...
README and ISSUE_TEMPLATE: quote $(brew --repo)
2016-09-08 06:09:39 -04:00
Mike McQuaid
3dff6f61d8
Merge pull request #890 from MikeMcQuaid/dev-cmd-help
...
dev-cmd: add `--help` to all developer commands.
2016-09-08 09:55:53 +01:00
Mike McQuaid
f3aaa8780a
Merge pull request #892 from penman/tab_explanation
...
docs: Explain Tab instantiation
2016-09-08 09:08:33 +01:00
Mike McQuaid
12813b8b62
Merge pull request #879 from penman/checkout_warning
...
Warn when changing branch on update
2016-09-08 09:06:41 +01:00
Mike McQuaid
ebdb879fe4
Add --help
to all developer commands.
...
Also, flag those that we never want to be in a manpage.
2016-09-08 09:05:00 +01:00
Alyssa Ross
8c3a11bca8
Explain more Tab instantiation methods
2016-09-07 23:17:25 +01:00
Alyssa Ross
d62029f899
Explain Tab.create vs Tab.for_formula
...
This was really confusing to me, and I had to go looking through the Tab
history, where I found a comment explaining it that has since been
deleted. This wasn't a great experience.
This commit basically adds that explanation back in.
2016-09-07 23:04:49 +01:00
Alyssa Ross
4f1d47bc15
Test source.path on Tab.create and .for_formula
2016-09-07 22:52:29 +01:00
Alyssa Ross
f9e16ee2e0
Combine Tab alias_path with source.path
2016-09-07 22:48:52 +01:00
Alyssa Ross
8bbcbfc020
More realistic alias_path test
2016-09-07 21:47:53 +01:00
Alyssa Ross
37beacd37d
Revert "Implement opoo in bash"
...
This reverts commit 2498d99a143d0e50e92a0aa60316d47c9ea83edc.
2016-09-07 20:24:02 +01:00
Vlad Shablinsky
846fa23156
test_integration_cmds: reinstall pinned
2016-09-07 20:58:14 +03:00
Vlad Shablinsky
f9b910eeb6
FormulaInstaller#check_install_sanity test pinned
...
Forbid to install formual if it has pinned dependencies.
2016-09-07 20:58:13 +03:00
Vlad Shablinsky
02a578d842
test_formula: eligible_kegs_for_cleanup_keg_pinned
2016-09-07 20:58:13 +03:00
Vlad Shablinsky
f8ea7a4a0c
reinstall: fail if pinned
2016-09-07 20:58:13 +03:00
Vlad Shablinsky
a04030a6f7
formula_installer: don't allow pinned dependencies
...
Prompt user to unpin pinned dependencies of the formula
2016-09-07 20:58:09 +03:00
Zhiming Wang
1a0220d9de
README and ISSUE_TEMPLATE: quote $(brew --repo)
...
Always a good idea to quote command substitution.
2016-09-07 11:21:41 -04:00
Mike McQuaid
9586390418
Merge pull request #888 from MikeMcQuaid/test-bot-missing-tap
...
test-bot: separate tap/core no formula handling.
2016-09-07 13:55:50 +01:00
Mike McQuaid
665c56538e
test-bot: separate tap/core no formula handling.
...
`e.tap` calls the tap method which wants a block on
`FormulaUnavailableError` so the previous approach is 👎 .
2016-09-07 12:47:23 +01:00