23011 Commits

Author SHA1 Message Date
Allen Reese
128f63db53 reinstall: add support for the --git option 2021-06-30 10:16:46 -07:00
Sam Ford
2342dcd90c
Add comment to Gemfile about disallowed gems 2021-06-30 09:11:47 -04:00
Sam Ford
bb463376e8
Remove nokogiri from Gemfile 2021-06-30 09:11:46 -04:00
Mike McQuaid
0cd08fefd0
Merge pull request #11624 from Homebrew/tweak_buildpulse
Fix BuildPulse handling
2021-06-30 09:40:46 +01:00
Mike McQuaid
d490e2a9a7
Fix BuildPulse handling
- be more verbose with output to be clear when we're using/submitting to
  BuildPulse
- remove the duplicate BuildPulse submission step
2021-06-30 09:20:56 +01:00
Mike McQuaid
1680ddb267
utils/repology: temporarily disable functionality.
Doesn't work with system `curl` currently.
2021-06-30 09:20:56 +01:00
Sam Ford
b3d95b89e4
Merge pull request #11610 from samford/replace-nokogiri-with-rexml-part-two
Replace Nokogiri with REXML
2021-06-29 20:51:48 -04:00
Mike McQuaid
5a5db3ab96
Merge pull request #11239 from MikeMcQuaid/audit_core_bottle_disabled_unneeded
formula_auditor: don't allow `bottle :unneeded` in core.
2021-06-29 13:23:17 +01:00
Mike McQuaid
a4c2e0e1b3
Tweak BuildPulse/rspec-retry logic
BuildPulse is trying to find flaky tests for us but, given the previous
model of using `rspec-retry`, it would rarely find them. Instead, let's
try to always rerun `brew tests` multiple times, report to BuildPulse
each time (by moving the reporting logic into `brew tests`) and disable
`rspec-retry` when using BuildPulse.

While we're here, let's enable `rspec-retry` locally so we don't have
flaky tests biting maintainers/contributors there.
2021-06-29 12:43:47 +01:00
Mike McQuaid
0eb9b62c2d
formula_auditor: don't allow bottle :unneeded in core.
Now we have `all:` bottles and Bintray is going away for `mirror`s:
let's bottle everything in Homebrew/homebrew-core.
2021-06-29 12:42:30 +01:00
Carlo Cabrera
04532cb621
Merge pull request #11611 from carlocab/venv-system-site-packages
language/python: create venvs with access to system site packages
2021-06-28 19:37:11 -07:00
Sam Ford
87564b6ccb
Sparkle: Use OS::Mac::Version#prerelease? 2021-06-28 16:54:53 -04:00
Sam Ford
4433f4a985
Sparkle: Update minimumSystemVersion condition 2021-06-28 15:48:35 -04:00
Michael Cho
823dc28c21
livecheck/strategy/sparkle: check minimumSystemVersion for compatibility 2021-06-28 15:39:19 -04:00
Sam Ford
d305f7218f
Merge pull request #11599 from samford/replace-nokogiri-with-rexml
Sparkle: Replace Nokogiri with REXML
2021-06-28 12:18:17 -04:00
Mike McQuaid
8f765c2c02
Merge pull request #11602 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.11.1
build(deps): bump rubocop-rails from 2.11.0 to 2.11.1 in /Library/Homebrew
2021-06-28 16:41:02 +01:00
Mike McQuaid
51cfd73622
Merge pull request #11601 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.4
build(deps): bump activesupport from 6.1.3.2 to 6.1.4 in /Library/Homebrew
2021-06-28 13:59:08 +01:00
BrewTestBot
cede4a4bd3
Update RBI files for activesupport. 2021-06-28 12:09:30 +00:00
BrewTestBot
6fec624136
brew vendor-gems: commit updates. 2021-06-28 12:07:29 +00:00
Mike McQuaid
9583ecbfc0
Merge pull request #11609 from n-thumann/fix_duplicate_search_result
Fix duplicate formulae in search results
2021-06-28 13:04:18 +01:00
BrewTestBot
a9059239f8
Update RBI files for rubocop-rails. 2021-06-28 12:00:25 +00:00
BrewTestBot
0ffaa51e5a
brew vendor-gems: commit updates. 2021-06-28 11:58:32 +00:00
Mike McQuaid
7c663b3684
Merge pull request #11588 from cho-m/cask-docs-fix-urls
docs: fix cask doc urls to use docs.brew.sh
2021-06-28 12:55:18 +01:00
dependabot[bot]
b2e2c3972c
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.3.2 to 6.1.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v6.1.4/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.3.2...v6.1.4)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 11:53:55 +00:00
dependabot[bot]
51ae9bf148
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.11.0...v2.11.1)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 11:53:45 +00:00
Carlo Cabrera
3d3b9874f9
language/python: create venvs with access to system site packages
A user may wish to use two use two brew-installed Python packages
together. For example, one might want to `import numpy` when using
`jupyterlab` or `ptpython`.

Currently, the only ways to do this I'm aware of is with some hacking of
`PYTHONPATH` or the creation of `.pth` files in a formula's prefix.

A better solution is to allow the virtualenvs that `brew` creates to
have access to system site-packages by default, so that `import numpy`
inside `ptpython` or `jupyterlab` just works.

Partially resolves Homebrew/homebrew-core#76950.
2021-06-28 03:20:03 +01:00
Sam Ford
7835bcd10b
UnversionedCaskChecker: Replace Nokogiri with REXML 2021-06-27 18:29:57 -04:00
Sam Ford
282c71d275
BundleVersion: Replace Nokogiri with REXML 2021-06-27 18:29:56 -04:00
nthumann
da347ca1aa
Fix duplicate formulae in search results 2021-06-28 00:22:55 +02:00
Dawid Dziurla
02a4670ed1
default_prefix: set macOS default prefix on Linux if simulating it 2021-06-26 15:45:51 +02:00
Sam Ford
2c4a7ae2cb
Sparkle: Replace Nokogiri with REXML 2021-06-25 17:45:25 -04:00
Carlo Cabrera
e571055b82
Merge pull request #11594 from carlocab/formula-logs
formula: capture build logs more comprehensively
2021-06-25 13:21:18 -07:00
Michael Cho
b44ecaceb7
docs: fix cask doc urls to use docs.brew.sh 2021-06-25 13:20:40 -07:00
Dawid Dziurla
7971411372
dispatch-build-bottle: support self-hosted Linux and unified workflow 2021-06-25 21:34:32 +02:00
Michael Cho
d304c84f2a
test/utils/github_spec: fix artifact number 2021-06-25 11:36:13 -07:00
Mike McQuaid
91f2114bb3
Merge pull request #11597 from gromgit/cleanup_all_info_dir
cleaner: recursively delete info `dir`s
2021-06-25 12:22:22 +01:00
Adrian Ho
0ec4357ea1 cleaner: recursively delete info dirs
Arch-specific build tool formulae (https://github.com/Homebrew/homebrew-core/pull/79874) install their info files in `#{info}/<arch>` to avoid conflicts with the main tool formulae.

However, the info cleaner only removes `#{info}/dir`, so each tool's bottle includes `#{info}/<arch>/dir`, which causes install-time conflicts.

This PR fixes that by deleting all `dir`s under `#{info}`.

Before:
```
==> Cleaning
[...]
==> Fixing /usr/local/Cellar/i686-elf-binutils/2.36.1_1/lib/i686-elf/bfd-plugins/libdep.so permissions from 755 to 444
==> Finishing up
```

After:
```
==> Cleaning
[...]
==> Fixing /usr/local/Cellar/i686-elf-binutils/2.36.1_1/lib/i686-elf/bfd-plugins/libdep.so permissions from 755 to 444
rm /usr/local/Cellar/i686-elf-binutils/2.36.1_1/share/info/i686-elf/dir
==> Finishing up
```
2021-06-25 13:30:24 +08:00
BrewTestBot
f0cdf61e78
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-06-25 00:14:00 +00:00
Carlo Cabrera
294afc20f8
formula: capture logs more comprehensively
Currently, we copy `config.log` and `CMakeCache.txt` from the root of
the source tree into the the logs generated by the build. This has three
shortcomings:

1. These files are not necessarily found where we look. This is often
   the case with a CMake build, but can occur with an Autotools build
   as well (e.g. GCC, or any other out-of-tree build).
2. There may be several of these files scattered throughout the build
   tree. This occurs, for example, when the build itself invokes
   `configure` or `cmake` as part of the build process.
3. We don't copy `CMakeOutput.log` or `CMakeError.log`, which are
   usually more informative about what happened during the CMake
   invocation. It is not sufficient to add them to the array of log
   files that we copy because these are never found at the source root,
   even when building in-tree.

Let's rectify this by copying all instances of these files that can be
found in the source tree. Since there will inevitably be duplicate file
names, we also store them in the log directory using the same relative
paths from the source root. [1] This has the added benefit of providing
context for these log files.

[1] For example, if `CMakeOutput.log` can be found in `build/CMakeFiles`
relative to the source root, then that will also be where it will be
stored in the log directory.
2021-06-24 19:12:40 +01:00
Alexander Bayandin
27772ab57a
typecheck: do not generate RBI file for did_you_mean 2021-06-24 15:45:03 +01:00
Alexander Bayandin
d55cbeac78
github_spec: Update PR number with unexpired artifacts 2021-06-24 13:29:44 +01:00
Sam Ford
47d5150c33
Merge pull request #11581 from samford/MacOS-move-version-methods
OS::Mac: Move version methods into ::Version
2021-06-23 17:03:21 -04:00
Maxim Belkin
f1c5ea7cea
Merge pull request #11576 from maxim-belkin/github-fix
utils/github.rb: fix dry-run message
2021-06-23 13:20:28 -05:00
Alexander Bayandin
1595a908df
Merge pull request #11565 from bayandin/fuzzy-search-and-did-you-mean
Formula fuzzy search and did you mean
2021-06-23 18:27:10 +01:00
Sam Ford
0752d25125
OS::Mac: Move version methods into ::Version 2021-06-23 09:03:46 -04:00
Sam Ford
41e875a676
Merge pull request #11395 from hyuraku/repair_pub-date_in_livecheck
repair pubDate statement in livecheck
2021-06-23 08:22:36 -04:00
Mike McQuaid
41803ebf93
Merge pull request #11578 from jasonrudolph/flaky-test-detection
Automatically detect and track flaky tests
2021-06-23 11:00:38 +01:00
Alexander Bayandin
35288995bc
cmd/install: do not print similar error messages 2021-06-22 18:06:53 +01:00
Alexander Bayandin
4a81d10161
brew vendor-gems: commit updates. 2021-06-22 18:06:53 +01:00
Alexander Bayandin
4c57b9d8f8
Gemfile: add did_you_mean gem 2021-06-22 18:06:53 +01:00