Mike McQuaid
689c1d5aa1
formula: handle missing deps when formula missing.
...
We could try and get a partial result but given it'll also be wrong it
feels simpler to just return an empty array.
Fixes #1928 .
Fixes #2027 .
Closes #2058 .
Fixes https://github.com/Homebrew/homebrew-core/issues/11827 .
2017-03-30 18:54:47 +01:00
Vítor Galvão
0882e9ddbc
Merge pull request #2410 from reitermarkus/container-exectuable
...
Add `Container::Executable`.
2017-03-30 15:40:20 +01:00
William Woodruff
c69e4ee2f6
Merge pull request #2416 from woodruffw/ruby-macho-audit-fix
...
audit: Fix cctools invocation check regular expression.
2017-03-29 10:22:16 -04:00
William Woodruff
e7554b0b3f
audit: Fix cctools invocation check regular expression.
...
Additionally, ignore the cctools formula itself, since it obviously
needs to check cctools invocations.
2017-03-29 09:52:35 -04:00
Mike McQuaid
51ca9025a5
formula_installer_spec: add default formula test.
...
Test the situation where a requirement is satisfied by a non-formula
but the `default_formula` is also installed.
2017-03-29 09:34:52 +01:00
William Woodruff
8608d1ea78
Merge pull request #1828 from woodruffw/audit-cctools
...
audit: Check for invocations of cctools.
2017-03-28 22:03:57 -04:00
Mike McQuaid
b757c927af
diagnostic: also accept trailing / on git urls.
2017-03-28 19:44:30 +01:00
Mike McQuaid
46a91428f7
Merge pull request #2413 from JCount/increase-minimum-git-version
...
diagnostic: increase minimum git version to 1.8.5
2017-03-28 19:35:15 +01:00
Mike McQuaid
a543cb2f9e
Merge pull request #2398 from MikeMcQuaid/doctor-check-homebrew-core
...
diagnostic: check homebrew/core git remote.
2017-03-28 19:34:45 +01:00
Shaun Jackman
89f3b6d6a6
update-test: Use git fetch --tags --depth=1
...
Use git fetch --tags --depth=1 to fetch fewer commits.
2017-03-28 09:36:50 -07:00
Mike McQuaid
daa88ee653
Merge pull request #2411 from MikeMcQuaid/update-test-error-handling
...
update-test: improve error handling.
2017-03-28 17:15:30 +01:00
JCount
08523d393f
diagnostic: increase minimum git version to 1.8.5
...
older versions do not support the 'git -C <path>' option
2017-03-28 12:05:06 -04:00
EricFromCanada
c5bac087b3
update latest versions of Xcode for 10.11 & 10.12
2017-03-28 11:16:02 -04:00
EricFromCanada
60f6dfea14
update suggested Xcode/CLT download URLs
2017-03-28 11:12:34 -04:00
Mike McQuaid
c3bf9bda58
update-test: improve error handling.
...
Fail if the start or end commit are missing and retry finding the
previous tag by fetching all tags if they are missing.
This should fix CI on the current Homebrew/brew `master` branch.
Closes #2404 .
2017-03-28 15:31:16 +01:00
Markus Reiter
1be120f4c1
Add Container::Executable
.
2017-03-28 15:34:34 +02:00
Carlo Rosati
1f89a33213
ruby_requirement: fix path prepend
2017-03-27 16:44:42 -04:00
William Roe
996dcdee2c
Add pinned version to outdated json output
...
The structure should be consistent, so there are always pinned and
pinned_version fields even if there are no pinned versions for a given formula.
2017-03-27 11:41:08 +01:00
William Roe
70446d9112
Add pinned version to outdated output
2017-03-27 11:30:36 +01:00
William Roe
755d43d46d
Add test for verbose brew outdated output
...
Split the tests up into quiet and verbose output with contexts.
2017-03-27 11:27:48 +01:00
Joshua McKinney
a90d1e1699
Installer#reinstall instead of #install :reinstall
...
Call an explicit method on Installer to reinstall rather than using a
flag to indicate when we're reinstalling a cask
2017-03-27 01:32:53 -05:00
ilovezfs
676c4a9e33
Merge pull request #2400 from ilovezfs/audit-elm-format-0.6.0-alpha
...
audit: bump whitelisted elm-format version to 0.6.0-alpha
2017-03-26 23:07:56 -07:00
ilovezfs
70685f3017
audit: bump whitelisted elm-format version to 0.6.0-alpha
2017-03-26 22:43:08 -07:00
Mike McQuaid
181275c016
audit: check for unversioned formulae.
...
If we're adding a versioned formulae we want to ensure that there's also
an unversioned one too.
2017-03-26 20:36:37 +01:00
Mike McQuaid
677db79c29
diagnostic: check homebrew/core git remote.
...
Check the remote for homebrew/core as well as homebrew/brew as we've
seen a few cases (e.g. #2387 ) where it was misconfigured.
While we're here, tweak the messaging to tell people what to do and how
to do so with a single command.
2017-03-26 20:28:11 +01:00
Mike McQuaid
09231dd52b
Merge pull request #2393 from raza15/raza2
...
updating the exception for "kibana" for the "@" naming scheme. File changed: audit.rb
2017-03-26 19:51:25 +01:00
Mike McQuaid
2047dbd50e
Update all references to taps.
...
- Remove taps that are (or will shortly be) deprecated.
- Remove commands that are only relevant to the boneyard (which will
shortly be removed).
2017-03-26 19:42:35 +01:00
William Woodruff
8af478bda4
Merge pull request #2395 from woodruffw/master
...
vendor: Update ruby-macho to 1.1.0.
2017-03-26 14:42:29 -04:00
Raza Hussain
543529c054
indenting
2017-03-26 14:29:38 -04:00
Raza Hussain
86cf8873b6
changing if condition
2017-03-26 12:54:25 -04:00
Raza Hussain
008a44bd91
changed the regex
2017-03-26 12:49:05 -04:00
Raza Hussain
94769652e0
simplify the regex and make a line max 80 char long
2017-03-26 12:43:09 -04:00
Mike McQuaid
a34f7277de
Merge pull request #2394 from EricFromCanada/master
...
docs: code example reformatting
2017-03-26 12:55:46 +01:00
Gautham Goli
a693ca332e
Wrap rubocop specific code into methods inside FormulaCop
2017-03-26 15:26:41 +05:30
Gautham Goli
febc108598
Encapsulate formula desc offense checking logic into methods
2017-03-26 15:26:41 +05:30
Gautham Goli
4e57f4279a
Add RSpec tests for bottle_block and formula_desc cops
2017-03-26 15:26:41 +05:30
William Woodruff
024264c381
vendor: Update ruby-macho to 1.1.0.
2017-03-26 01:25:32 -04:00
EricFromCanada
dc7f74210a
docs: code example reformatting
...
Add labeled fences to most code blocks, monospace terms where
appropriate, omit "$" when referring to variables
2017-03-25 22:53:33 -04:00
EricFromCanada
59fab56afd
docs: update sample formula
...
Also works around bug in Jekyll where a URL with a "#" will cause links
in the same paragraph to not have their extensions replaced by using
"#" instead.
2017-03-25 22:36:09 -04:00
Mike McQuaid
422afa0b49
Merge pull request #1975 from MikeMcQuaid/pull-not-die-bottle-publish
...
pull: warn (not die) on bottle publish failure.
2017-03-25 20:23:53 +00:00
Raza Hussain
ca37e96469
updating the exception for "kibana" for the "@" naming scheme of its formula
2017-03-25 16:20:51 -04:00
Mike McQuaid
17acb3a91c
Merge pull request #2389 from MikeMcQuaid/formula-installer-requirement-satisfied-by-formula
...
formula_installer: tweak req formula additions.
2017-03-25 11:37:54 +00:00
Mike McQuaid
0cc9d93885
formula_installer: tweak req formula additions.
...
Rather than just checking if a requirement's dependency is installed or
not check if the requirement was actually satisfied by a particular
formula rather than e.g. just having a `default_formula` defined.
2017-03-25 10:59:54 +00:00
Mike McQuaid
098ed84df4
Merge pull request #2371 from MikeMcQuaid/new-maintainer-tweaks
...
New-Maintainer-Checklist: be more explicit.
2017-03-24 12:46:26 +00:00
Mike McQuaid
a5208fc049
Merge pull request #2384 from MikeMcQuaid/more-shields
...
README: add some more shields.
2017-03-24 12:45:19 +00:00
ilovezfs
54abadb202
Merge pull request #2359 from ilovezfs/migrator-allow-new-cellar-to-exist-already
...
migrator: allow new cellar to exist already
2017-03-23 07:56:58 -07:00
JCount
d1be51d2cd
Merge pull request #2343 from JCount/gpg-requirement-add-2.1-series
...
gpg: add GnuPG series 2.1.x to supported versions
2017-03-23 10:55:22 -04:00
ilovezfs
845d083464
migrator: allow new cellar to exist already
...
Lets us migrate a formula to a name that may have previously been used.
If gnupg 1.x is installed as "gnupg" and gnupg 2.x is installed as
"gnupg2," it's currently not possible to rename gnupg2 -> gnupg, since
the 1.4 keg will already be installed in the "gnupg" Cellar, so in order
to reclaim the name "gnupg" to be used for 2.1, either 1.x must be
manually uninstalled, or the new cellar needs to be allowed to exist
already.
2017-03-23 04:09:45 -07:00
Mike McQuaid
f8cf506670
Merge pull request #2372 from MikeMcQuaid/link-keg-only-path-message
...
link: tell users of `brew link --force` about opt.
2017-03-23 10:00:47 +00:00
Mike McQuaid
e723131438
pull: optionally warn (not die) on bottle publish failure.
...
This is useful when you're pulling PRs where individual bottles can't be
uploaded/built but you still want to pull the PR as a whole anyway.
2017-03-23 10:00:33 +00:00