Mike McQuaid
86a6361f4e
install: make --only-dependencies fill in missing.
...
This makes the `brew install --only-dependencies` command more useful by
filling in missing dependencies for a formula even if it's already
installed.
2018-03-13 09:43:29 +00:00
Mike McQuaid
e817bba18d
upgrade: add HOMEBREW_UPGRADE_CLEANUP variable.
...
Allow users to specify they want `brew upgrade --cleanup` to always be
run when they run `brew upgrade`.
2018-03-12 11:05:06 +00:00
Peter Powell
e71b2d1737
upgrade: fix the man page wrongly saying that it will upgrade pins.
...
This is incorrect as in order to upgrade a pinned package it must
first be unpinned.
2018-03-10 12:07:13 +00:00
Mike McQuaid
83cca40fc9
RuboCop 0.53.0 manual fixes.
2018-03-08 14:10:02 +00:00
Mike McQuaid
e03f07f302
Rubocop 0.53.0 automatic fixes.
2018-03-08 14:10:02 +00:00
Mike McQuaid
924c4af3de
dep*: fix more :test dependency resolution.
2018-03-08 09:46:53 +00:00
Mike McQuaid
d32fc4508f
deps: fix test? typo.
2018-03-08 08:36:01 +00:00
Mike McQuaid
53a71a79b3
Merge pull request #3875 from MikeMcQuaid/test-deps
...
Allow :test dependencies.
2018-03-08 08:19:15 +00:00
Mike McQuaid
ba4ac75543
Merge pull request #3836 from alyssais/info_sort
...
info: sort HEAD keys by install date
2018-03-06 08:35:00 +00:00
Mike McQuaid
fea9bc1e42
Allow :test dependencies.
...
These specify that they are needed by the test block. This can be
combined with `:build` to ensure that this formula isn't uninstalled
by `brew test-bot` when running `test do` blocks on our CI.
2018-03-05 10:36:39 +00:00
Teddy Wing
ee004cb9c7
cmd/upgrade: Change build.build_bottle?
to build.bottle?
...
I received the following error when attempting to use the `upgrade`
command on a tap:
$ brew tap teddywing/passextract https://github.com/teddywing/Passextract.git
$ brew upgrade --verbose teddywing/passextract/passextract
Updating Homebrew...
==> Upgrading 1 outdated package, with result:
teddywing/passextract/passextract 0.4.0
Error: Calling build.build_bottle? is disabled!
Use build.bottle? instead.
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:121:in `upgrade_formula'
Or, even better, submit a PR to fix it!
Change the method call to use the (presumably) newer version.
2018-03-04 12:38:33 +01:00
Mike McQuaid
2205f62ec6
irb: add pry support.
...
Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
2018-02-28 11:36:23 +00:00
Mike McQuaid
430bb7c3a0
update: tweak git too old check.
...
Avoid trying to install and warning if system Git is too old but Git
is already installed.
2018-02-27 10:41:16 +00:00
Mike McQuaid
72f4d05418
Handle a too old system Git on OS X 10.8 and below
...
Needed for GitHub since:
https://github.com/blog/2507-weak-cryptographic-standards-removed
2018-02-26 16:08:10 +00:00
Alyssa Ross
adb8c252b0
info: sort HEAD keys by install date
...
This makes a lot more sense than sorting alphabetically by commit hash,
the previous behaviour.
2018-02-26 09:21:38 +00:00
Mike McQuaid
f2ce6489b2
Use more docs.brew.sh short links
...
These are nicer on the eyes.
2018-02-22 19:46:58 +00:00
Mike McQuaid
a9c64c319f
gist-logs: require API credentials.
...
Anonymous gists are going away shortly:
https://github.com/blog/2503-deprecation-notice-removing-anonymous-gist-creation
2018-02-19 16:14:32 +00:00
Chayoung You
b05d69f600
Format identifiers in oh1
2018-02-09 18:00:29 +09:00
Mike McQuaid
3a2e6b82fd
Make pinning more robust
...
Don’t autoremove pins on uninstall or upgrade and note this in the
manpage.
2018-02-05 10:59:11 +00:00
EricFromCanada
1d2b4ed321
docs: add more missing option descriptions
...
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
ilovezfs
69db925e8a
fetch: also fetch resources' patches
2018-01-22 01:10:14 -08:00
Mike McQuaid
de0fedeb09
upgrade --all: use odeprecated.
2018-01-21 13:39:14 +00:00
Mike McQuaid
b96ec879dc
(un)linkapps: hide from manpage, use odeprecated.
2018-01-21 13:38:44 +00:00
Mike McQuaid
8a45467ad9
Merge pull request #3661 from MikeMcQuaid/deprecate-default-formula
...
Deprecate default_formula Requirement DSL
2018-01-18 15:30:56 +00:00
Mike McQuaid
b17672a2b4
Merge pull request #3693 from ilovezfs/info-always-show-spec-options
...
info: show spec options for optionless formulae
2018-01-18 15:29:29 +00:00
ilovezfs
ebd50d136f
info: show spec options for optionless formulae
...
Previsiouly, info would not display --HEAD or --devel for formulae that
had no options other than those spec options.
2018-01-18 00:03:10 -08:00
Mike McQuaid
8cd0d85afb
rubocop 0.52.1
2018-01-15 16:17:32 +00:00
ilovezfs
17f80a44e6
Revert "Use Homebrew's gitconfig for various commands"
2018-01-15 07:30:56 +00:00
Mike McQuaid
253a41f523
Merge pull request #3670 from MikeMcQuaid/gitconfig
...
Use Homebrew's gitconfig for various commands
2018-01-14 18:17:06 +00:00
Mike McQuaid
fea90825fb
vendor-install: various portable ruby tweaks.
...
- Rename repository to homebrew-portable-ruby
- Add a new Bintray repository using new name
- Add GitHub releases mirror and try to use it
- Tell people not to file issues if they can't connect to Bintray or
GitHub: we're not here to provide ISP/proxy support.
2018-01-14 13:49:26 +00:00
Mike McQuaid
b70b5429d0
Deprecate default_formula Requirement DSL
...
This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core.
2018-01-14 13:27:43 +00:00
Mike McQuaid
228cbd81c9
Use Homebrew's gitconfig for various commands
...
Git is a transport and storage mechanism for us so we don't want to
allow arbitrary customisation of this due to user issues e.g. #3664
and #3561 .
Fixes #3664 .
2018-01-11 20:40:59 +00:00
Mike McQuaid
838a3f1996
reinstall/upgrade: stop unlinked kegs being sticky
...
It's not possible to determine the difference between a non-keg-only
keg that failed to link and one that wasn't linked by us intentionally.
To avoid additional complexity of storing this logic in another place
let's back out this relatively new functionality; sticky keg-only links
is a better and more desirable behaviour anyway.
2018-01-10 16:43:21 +00:00
Mike McQuaid
9ed1ed3c05
upgrade: fix UnsatisfiedRequirements exit code.
2018-01-09 09:07:37 +00:00
Mike McQuaid
dbeebcaef5
upgrade: skip formula if upgrade fails.
...
Rather than blocking the rest of the formulae from being installed by
`brew upgrade` print the requirement failure messages (already done) and
an error stating requirements weren't satisfied and then continue to
upgrade the rest of the formulae.
2018-01-08 14:38:10 +00:00
Mike McQuaid
1bd7d7df04
Use parser 2.4.0.0
...
This matches the version that supports Ruby 2.3.3 syntax (which is the
version we use).
2018-01-07 14:29:19 +00:00
Mike McQuaid
7eb1fd6671
reinstall/upgrade: document use of options.
...
To avoid user confusion e.g. #3606 .
2017-12-30 21:23:33 +00:00
Mike McQuaid
7a8f61c28c
gist-logs: use full path to brew.
...
This fixes the command with environment filtering enabled.
2017-12-14 16:44:25 +00:00
Mike McQuaid
5f471ee289
doctor: tell people not to file issues.
...
This stuff doesn't matter.
2017-12-11 15:27:18 +00:00
Mike McQuaid
837ea74f44
Merge pull request #3543 from MikeMcQuaid/remove-env-unsets
...
Remove some unset/checked environment checks
2017-12-10 17:46:29 +00:00
Mike McQuaid
6b9ca5dbf5
Remove some unset/checked environment checks
...
These will be redundant once environment filtering is on by default
in #3529 .
2017-12-08 16:33:33 +00:00
L. E. Segovia
cf892c432e
Revert extra deletion
2017-12-02 20:07:17 +00:00
L. E. Segovia
9603e39f16
Rename whole build_options block (copypaste from reinstall)
2017-12-02 20:04:03 +00:00
L. E. Segovia
da764c6d6c
Delete --ignore-dependencies
additions
2017-12-02 20:03:38 +00:00
L. E. Segovia
4dfe6e32e4
Let the upgrade command add new build flags
2017-12-02 17:14:46 +00:00
L. E. Segovia
5f5e689752
Remember --ignore-dependencies
when installing and upgrading
2017-12-02 13:41:11 +00:00
Shaun Jackman
2dbc4ffaf3
vendor-install: Add ARM bottle for portable-ruby
2017-11-27 12:09:27 -08:00
Mike McQuaid
a19d0708a4
Allow optionally using Homebrew's curl
...
If `HOMEBREW_FORCE_BREWED_CURL` is set then allow it to be used instead
of the system `curl`.
2017-11-26 18:17:26 +00:00
Shaun Jackman
6da95d882d
vendor-install: Observe HOMEBREW_STDERR
...
Suppress stderr unless HOMEBREW_STDERR is set.
2017-11-16 11:08:50 -08:00
commitay
ac799d9f2d
brew list --pinned: pass explicit sort to handle APFS
2017-11-07 12:35:40 +10:00