16945 Commits

Author SHA1 Message Date
William Woodruff
a6bcbdb20d
mac/keg_relocate: Prefer String#/, add ENV check 2019-03-10 21:07:04 -04:00
William Woodruff
27d6cfb12e
[WIP] mac/keg_relocate: Emulate dylinker behavior
Instead of assuming that #{lib} is the correct RPATH expansion,
test all RPATHS and substitute the first one that works.
2019-03-10 21:07:03 -04:00
William Woodruff
618c5cd01a
os/mac: Expose rpaths 2019-03-10 21:07:03 -04:00
William Woodruff
54e6cbb343
mac/keg_relocate: Rewrite rpaths in install names 2019-03-10 21:07:03 -04:00
Michka Popoff
5c068ef82c elf.rb: avoid corrupted elf files
Some elf files like unittest files or memory dumps may not be completely
readable by readelf.

Readelf will fail after the following message:
readelf: Warning: possibly corrupt ELF header - it has a non-zero program header offset, but no program headers

This patches avoid these files when there is a non zero offset but no
program headers
2019-03-09 17:16:36 +01:00
Mike McQuaid
d8c6f6b120
Merge pull request #5846 from EricFromCanada/deps-option-fixes
deps: fix --1 and --annotate options
2019-03-08 13:14:31 +00:00
Jonathan Chang
d9f421d244
Merge pull request #5853 from jonchang/update-cpu-tests
cpu: tests permit new families and architectures
2019-03-08 23:41:37 +11:00
Jonathan Chang
90f402d8a2 cpu: tests permit new families and architectures 2019-03-08 16:05:12 +11:00
EricFromCanada
23c62b8b83 deps: fix --1 and --annotate options 2019-03-07 16:39:42 -05:00
Zach Auten
18a20986e7 Addressed style issues 2019-03-06 18:06:50 -05:00
Zach Auten
dd4daa247f Merge branch 'master' of https://github.com/Homebrew/brew into brew-info-display-casks 2019-03-06 17:56:22 -05:00
Zach Auten
fe643758d7 Updated get_info
- get_info builds info string by appending helper functions
  - removed unnecessary returns
  - fixed indentation in missing_formula
  - reduced size of regex in info_spec
  - missing_formula will indicate when it finds a cask with same name
2019-03-06 00:27:48 -05:00
Chase Stubblefield
2c95d733c2 cleanup: fix for formula/cask name collision
When a formula and cask share the same name, a download can be
incorrectly considered stale. Only check for if a download is a stale
formula or stale cask, but not both.
2019-03-05 19:55:19 -08:00
Mike McQuaid
61bec3cf9c
Merge pull request #5832 from Homebrew/dependabot/bundler/Library/Homebrew/i18n-1.6.0
Bump i18n from 1.5.3 to 1.6.0 in /Library/Homebrew
2019-03-05 09:22:40 +00:00
Mike McQuaid
fa203f762a
brew vendor-gems: commit updates. 2019-03-05 08:36:04 +00:00
Mike McQuaid
141db03193
vendor-gems: fix output location, also run pristine.
This means the output is consistent and ensures that we get rid of any local cruft when installing.
2019-03-05 08:34:33 +00:00
EricFromCanada
aead4a720d outdated & tap-info: set default value for --json
Matching what's already been done for `brew info`.
2019-03-04 11:59:49 -05:00
Michka Popoff
f4371297d7
Merge pull request #5833 from scpeters/scpeters-patch-1
utils/github: use tap.full_name
2019-03-04 17:21:21 +01:00
FX Coudert
80da964051
Merge pull request #5822 from lembacon/virtualenv-16.4.3
python_virtualenv_constants: upgrade virtualenv to 16.4.3
2019-03-04 16:17:41 +01:00
FX Coudert
7baec87297
Merge pull request #5827 from fxcoudert/allow-head
Allow head in new formulas
2019-03-04 16:15:40 +01:00
Steven Peters
e91b889e04 utils/github: use tap.full_name 2019-03-03 22:58:31 -08:00
dependabot[bot]
0bf6ac8cf1
Bump i18n from 1.5.3 to 1.6.0 in /Library/Homebrew
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.5.3...v1.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-03 21:11:36 +00:00
Markus Reiter
42d90f8bd9 Use same logic for installer script: and uninstall script:. 2019-03-03 06:21:11 +01:00
Shaun Jackman
82da3b43cc audit: Keg-only :provided_by_macos dep okay on Linux
Disable this brew audit error on Linux:
* Dependency 'zlib' may be unnecessary as it is provided by macOS;
try to build this formula without it.
2019-03-02 13:29:49 -08:00
FX Coudert
b796174d2c Allow head in new formulas 2019-03-02 10:56:27 +01:00
Shaun Jackman
c3c4b6e840
Merge pull request #5811 from JuPlutonic/extentOsLinux_tar.rb
Fix issue extracting tar files while root on Linux
2019-03-01 07:47:15 -08:00
JuPlutonic
e0bf31764e Deletion of files added in PR. -o addition is only one needed argument in unpack_strategy/tar.rb.
update gnu_tar.rb

removed tab

update unpacking_strategy/tar.rb

to resolve conversations
But OFFENCE found, W: 31: 36: Unused method argument - basename (brew style)
Now I start to using rubocop inside Sublime_text3 where I see all right linting messages.

Rollback install.rb changes.

Conversation resolved, extra_args: "--owner=0", "--group=0" and "--no-same-owner" in extend/os/linux/gnu_tar.rb.

Conversation: file extend/os/linux/gnu_tar.rb moved to extend/os/linux/unpack_strategy/tar.rb. Module UnpackStrategy is parent for the GnuTar module.

Conversation: new file extent/unpack_strategy/tar.rb to require logic, unpack_strategy/tar.rb newline bef. require-line, require-line changed.

Deletion of files added in PR. -o addition is only one needed argument in unpack_strategy/tar.rb.
2019-03-01 14:22:39 +00:00
Chongyu Zhu
9dbd04ac09
python_virtualenv_constants: upgrade virtualenv to 16.4.3 2019-03-01 11:15:57 +08:00
John Marshall
0c6164a1c1 Ensure "brew install mactex" also brings up this help text 2019-02-28 12:39:32 +00:00
Mike McQuaid
128300a754
utils/gems: install Bundler 2.
Our Gemfile requires it and it will result in a more consistent configuration.
2019-02-28 12:29:52 +00:00
John Marshall
a7022736ad Clarify that TeX Live Utility (tlmgr) comes with the TeX installation
MacTeX is the macOS package of TeX Live; also mention the latter for
the sake of non-Mac Brew.
2019-02-28 10:33:45 +00:00
Michka Popoff
ac3841a15c
Merge pull request #5809 from iMichka/pull-linuxbrew
pull: fix tap name for linuxbrew
2019-02-27 23:24:29 +01:00
Michka Popoff
45c61cdcdb pull: fix tap name for linuxbrew 2019-02-27 18:29:59 +01:00
Mike McQuaid
17f3ee1957
Improve Bundler cleanup
Rather than trying to be smart and doing this ourselves in `brew cleanup` let’s just installed Bundler somewhere it doesn’t try to clean itself up and use `bundle install --cleanup` when we need cleanup done.

Also, use `ohai` and `odie` when possible as they look nicer.
2019-02-27 14:02:46 +00:00
Mike McQuaid
97958410f4
dev-cmd/tests: improve parallel args naming. 2019-02-27 14:02:46 +00:00
John Marshall
0c7c45a131 missing_formula: add message for Asymptote
Per Homebrew/legacy-homebrew#23029, there is no formula for Asymptote
because you may well already have it installed via MacTeX anyway.
2019-02-27 08:38:29 +00:00
Mike McQuaid
45243fe449
Revert "Fix Infinite Recursion in upgradable_dependents and broken_dependents" 2019-02-26 16:49:17 +00:00
Mike McQuaid
d1f755959a
Merge pull request #5805 from BenMusch/handle-conflicts
Fix bug in CLI arg/env var prioritization + corresponding tests
2019-02-26 07:55:19 +00:00
okhowang(王沛文)
d959a780d4 use python flock firstly 2019-02-26 14:19:12 +08:00
dependabot[bot]
c14d1286fc
Bump parallel from 1.13.0 to 1.14.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.13.0...v1.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 20:26:28 +00:00
Ben Muschol
4c6ca1c5d9 Fix stub orders, :env_var reference 2019-02-25 15:18:14 -05:00
Mike McQuaid
fcfabfb3c6
dev-cmd/pull_spec: require Homebrew/homebrew-core for subtest. 2019-02-25 17:21:09 +00:00
Mike McQuaid
9b682da37b
Use Homebrew/linuxbrew-core
This would allow the Linuxbrew core tap to live in the Homebrew
organisation.
2019-02-25 14:21:13 +00:00
Shaun Jackman
8abc67a414 vendor-install: Add portable-ruby for aarch64 (ARM64) 2019-02-24 22:36:56 -08:00
Zach Auten
330ae8c6fa print_caveats and get_info return heredocs 2019-02-24 21:53:04 -05:00
dependabot[bot]
5f146cb379
Bump json from 2.1.0 to 2.2.0 in /Library/Homebrew
Bumps [json](https://github.com/flori/json) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v2.1.0...v2.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 12:54:16 +00:00
Mike McQuaid
6c55fe1c35
Merge pull request #5780 from MikeMcQuaid/tests-vendor-join-gemfile
Unify test/vendor Gemfiles and bundler configuration.
2019-02-23 12:49:57 +00:00
Mike McQuaid
ba28853237
Merge pull request #5739 from MikeMcQuaid/governance
Add/link Homebrew Governance document.
2019-02-22 16:50:33 +00:00
Mike McQuaid
d33c225e47
utils/ruby: don't remove cleanup bundler.
We're sharing this directory now.
2019-02-22 15:59:14 +00:00
Mike McQuaid
2f056da40c
Merge pull request #5764 from jonchang/git-origins
diagnostic: refactor git origin checks and also check Cask origin
2019-02-22 15:56:50 +00:00