10755 Commits

Author SHA1 Message Date
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
Mike McQuaid
078969ff81 Merge pull request #887 from MikeMcQuaid/test-bot-missing-tap
test-bot: handle missing tap in exception.
2016-09-07 12:20:13 +01:00
Mike McQuaid
f9fe5b6798 test-bot: handle missing tap in exception.
Handle the case where a `FormulaUnavailableError` does not contain a tap
reference so fall back to `CoreTap` in this case.
2016-09-07 11:40:28 +01:00
Mike McQuaid
d1ba4f44c0 Merge pull request #833 from DomT4/death_by_xcode
xcode: die unless Xcode/CLT up-to-date on prerelease macOS
2016-09-07 09:51:06 +01:00
Mike McQuaid
9c5af247e8 Merge pull request #886 from MikeMcQuaid/test-bot-no-formula-debugging
test-bot: put exception, retry on missing formula.
2016-09-07 09:50:21 +01:00
Mike McQuaid
f1cc1265af Refactor MacOS check_development_tools usage.
Better use the abstraction layer so e.g. Linux could have similarly
fatal checks for these things.
2016-09-07 09:11:06 +01:00
Mike McQuaid
159ba9b012 test-bot: put exception, retry on missing formula.
This will be useful in debugging (and recovering from) the situation
where sometimes formulae can't be found when specifying multiple on the
command-line.
2016-09-07 08:42:00 +01:00
Mike McQuaid
4d123e6227 Merge pull request #857 from MikeMcQuaid/update-report-link-more
update-report: also link docs, completions.
2016-09-07 08:23:40 +01:00
Tim D. Smith
adaba7157d Merge pull request #885 from numbergames/patch-2
minor typo
2016-09-06 20:15:32 -07:00
numbergames
a1145a88b2 minor typo
Fixed minor typo -- missing preposition.
2016-09-06 19:38:38 -04:00
Mike McQuaid
069d5f00bc Merge pull request #884 from MikeMcQuaid/test-bot-clean-change-again
test-bot: tweak cleaning behaviour again.
2016-09-06 12:11:58 +01:00
Mike McQuaid
b21d724618 test-bot: tweak cleaning behaviour again.
Always run `git clean -ffdx` on HOMEBREW_REPOSITORY. Also, ensure that
if we can't find a formula that's logged.
2016-09-06 12:00:08 +01:00
Mike McQuaid
f64befdd78 Merge pull request #883 from MikeMcQuaid/test-bot-git-clean-less
test-bot: git clean less in cleanup_*.
2016-09-06 09:04:59 +01:00
Mike McQuaid
1160d0e347 update-report: also link docs, completions.
These are more files in the HOMEBREW_REPOSITORY that we want to link to
the HOMEBREW_PREFIX.
2016-09-06 09:04:51 +01:00
Mike McQuaid
3ebc5a88e8 utils: split link_path_manpages method.
Pull more logic into the more generic `link_src_dst_dirs` to be used to
do more linkage.
2016-09-06 09:04:51 +01:00
Mike McQuaid
c676189455 test-bot: git clean less in cleanup_*.
There's edge-cases which is breaking tap CI.
2016-09-06 08:44:11 +01:00
Markus Reiter
42e45a3d5f Merge pull request #806 from reitermarkus/refactor-cask-scopes
Add `cask_files` method to `Tap` class.
2016-09-06 00:34:23 +02:00
Tim D. Smith
7303a55cc0 Merge pull request #866 from tdsmith/audit-libressl
Catch system libressl in openssl audit as well
2016-09-05 14:25:51 -07:00
Alyssa Ross
04ebd0af33 Adjust branch change message 2016-09-05 22:18:24 +01:00
Alyssa Ross
c58bbdc213 Formula#specified_path 2016-09-05 22:13:55 +01:00
Alyssa Ross
ba10ce70bd More consistent style 2016-09-05 22:01:05 +01:00
Markus Reiter
c20a7fa859 Remove homebrew-fonts hack from search. 2016-09-05 21:43:03 +02:00
Markus Reiter
89a63fb177 Add cask_files method to Tap class. 2016-09-05 21:43:03 +02:00
Mike McQuaid
7820489831 Merge pull request #880 from MikeMcQuaid/test-bot-cleanup-less
test-bot: never cleanup homebrew/core.
2016-09-05 20:37:43 +01:00