13285 Commits
Author SHA1 Message Date
Mike McQuaid 60a30e966b Merge pull request #3725 from MikeMcQuaid/fix-odeprecated-again
utils: reduce odeprecated warnings.
2018-01-24 09:13:01 +00:00
Mike McQuaid 459b113e28 utils: reduce odeprecated warnings.
Fix the code so we don't actually output `odeprecated` warnings for
`HOMEBREW_CACHE`d or `.brew`d formulae.
2018-01-24 09:02:00 +00:00
Mike McQuaid ea0af7d1af Merge pull request #3724 from ilovezfs/call-satisfied-at-least-once
build: call satisified? before modifying env.
2018-01-23 19:50:20 +00:00
Mike McQuaid 2844b0748d build: remove req satisfied calls. 2018-01-23 14:09:17 +00:00
Mike McQuaid 5cfb81253c requirement: odeprecated for default_formula usage. 2018-01-23 11:26:27 +00:00
Mike McQuaid 02d876528a requirement: make deprecated stuff unsupported. 2018-01-23 11:26:14 +00:00
Mike McQuaid 46633af76a requirement: call satisfied? from modify_build_environment. 2018-01-23 11:26:00 +00:00
ilovezfs 7879272689 build: call satisified? before modifying env.
Requirement#modify_build_environment may depend on the side effects of
Requirement#satisfied?, so make sure the latter is called at least once
for each requirement during formula installation. Prior to b70b5429d0,
Requirement#satisfied? would usually be called during Build#expand_reqs,
but that is longer the case.
2018-01-22 23:07:27 -08:00
ilovezfs 69db925e8a fetch: also fetch resources' patches 2018-01-22 01:10:14 -08:00
ilovezfs 7c07ec5fc1 resource: allow patches to be applied 2018-01-22 01:10:14 -08:00
ilovezfs da77f23bc7 rubocop: don't always display cop names. 2018-01-21 07:23:53 -08:00
Mike McQuaid c8423b6d6e Merge pull request #3712 from sesam/language-fix
fix broken sentence
2018-01-21 14:53:11 +00:00
Mike McQuaid 8b63db6d07 Merge pull request #3703 from ilovezfs/dot-dirs-are-not-racks
formula: reject dot dirs as racks
2018-01-21 14:51:19 +00:00
Mike McQuaid 282277ecbe Merge pull request #3702 from ilovezfs/fix-rmdir_if_possible-with-mount-points
pathname: fix rmdir_if_possible with mount points
2018-01-21 14:51:06 +00:00
Mike McQuaid 899ee8261a Merge pull request #3706 from MikeMcQuaid/deprecation-fixes
Deprecation fixes and cleanup
2018-01-21 14:50:34 +00:00
Mike McQuaid ab00c0f719 compat/requirements: fix dependency names. 2018-01-21 13:39:14 +00:00
Mike McQuaid 3bf5cc9d52 formula_support: remove duplicated odeprecated.
These are already present in compat.
2018-01-21 13:39:14 +00: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 5e5989b704 utils: no deprecations for cached formulae.
`HOMEBREW_CACHE`d and `.brew`ed formulae cannot be updated so don't
complain about their deprecation.
2018-01-21 13:34:36 +00:00
Simon B 53d87d3b58 fix broken sentence 2018-01-21 12:49:59 +01:00
ilovezfs f818f0e681 formula: reject dot dirs as racks
Dot directories are not racks because formulae names do not start with
"." so avoid attempting to descend into dot directories, which may not
always be possible (e.g. .Trashes).
2018-01-19 15:07:04 -08:00
ilovezfs 2e1ec02aeb pathname: fix rmdir_if_possible with mount points
Attempting to rmdir a directory that is a mount point results in EBUSY,
not EACCES or ENOENT, so also rescue EBUSY in rmdir_if_possible.
2018-01-19 14:06:22 -08:00
Alyssa Ross 78c829790d Improve deprecation message for dependency tags
It took me a while to figure out what this deprecation actually did,
because the message wasn't accurate.
2018-01-18 21:16:19 +00:00
Alyssa Ross d88b50968c Load formula_support deprecations
We should probably write tests for these going forward. ;)
2018-01-18 21:09:21 +00:00
Alyssa Ross 8874d1fb13 prepend instead of alias hacks for deprecations 2018-01-18 21:08:41 +00:00
Mike McQuaid 02e4cae3d0 Merge pull request #3676 from apjanke/make-apjanke-former-maintainer
README: update list of maintainers
2018-01-18 15:55:36 +00:00
Mike McQuaid 65695885b6 Update other Homebrew maintainers. 2018-01-18 15:45:51 +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 edc6efd443 Merge pull request #3689 from sjackman/pull-json
publish_bottle_file_on_bintray: Use f.full_name
2018-01-18 15:30:03 +00:00
Mike McQuaid 9201fbde82 Merge pull request #3694 from MikeMcQuaid/more-odisabled
Disable and add more deprecations.
2018-01-18 15:29:40 +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
Mike McQuaid e67b745b2f Merge pull request #3659 from MikeMcQuaid/deprecated-requirements-harder
Deprecate requirements harder
2018-01-18 15:27:02 +00:00
Mike McQuaid 10384231a2 Merge pull request #3636 from Homebrew/rubocop-bump
rubocop 0.52.1
2018-01-18 15:16:53 +00:00
Mike McQuaid 77f1768108 Disable and add more deprecations.
These have all been deprecated/compat for a while.
2018-01-18 09:47:33 +00:00
Mike McQuaid e5c82dd3d9 Deprecate requirements harder
Remove more Requirement logic to enable future removal of default
formula logic. Also, output deprecations, convert symbol requirement
usage to deps and simplify the compatibility code for the direct
Requirement usage.
2018-01-18 08:31:20 +00:00
Mike McQuaid 892e1b5b4f Merge pull request #3652 from MikeMcQuaid/add-more-deprecations-disables
Add more deprecations, disable some existing ones.
2018-01-18 08:29:56 +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 17c24d040b utils: tell developers to submit odeprecated PRs.
Rather than just telling them to submit an issue as it's likely that
as these folks will be able to submit a PR.
2018-01-17 10:50:48 +00:00
Mike McQuaid 1f48e17f1b rubocop: fix brew style warnings. 2018-01-17 10:42:43 +00:00
Shaun Jackman 3f8dd656d3 publish_bottle_file_on_bintray: Use f.full_name 2018-01-16 10:41:41 -08:00
Mike McQuaid 8cd0d85afb rubocop 0.52.1 2018-01-15 16:17:32 +00:00
Markus Reiter f90e6f82c8 Merge pull request #3680 from commitay/moved-permissions
cask moved: check target writable for move_back
2018-01-15 15:28:55 +01: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 fcec5ad360 Merge pull request #3683 from MikeMcQuaid/vendor-install-mirror
vendor-install: various portable ruby tweaks.
2018-01-14 18:16:52 +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
commitay 8bf9484823 cask moved: check target writable for move_back 2018-01-13 21:31:00 +10:00
commitay e870c1783f cask doctor: sip status 2018-01-13 08:47:10 +10:00