18083 Commits

Author SHA1 Message Date
Bo Anderson
4195721d22 data/spdx.json: update 2020-07-16 23:59:16 +01:00
Dawid Dziurla
d579725f7c
Merge pull request #7954 from dawidd6/workflow-dispatch-event
utils/github: add workflow_dispatch_event method
2020-07-16 19:08:12 +02:00
Issy Long
47826fd01d
Merge pull request #7997 from issyl0/git-test-last_revision_commit_of_files
utils/git_spec: Add a test for `last_revision_commit_of_files`
2020-07-16 17:07:29 +01:00
Jonathan Chang
9c7f73a4c8
Merge pull request #8011 from SeekingMeaning/bump-duplicate
bump-formula-pr: restore formula if duplicate PR exists
2020-07-16 17:19:13 +10:00
Jonathan Chang
958f915118
Merge pull request #8013 from Bo98/doc-fixes
Doc fixes
2020-07-16 17:18:43 +10:00
Jonathan Chang
2ed1de48d5
Merge pull request #8012 from Bo98/formula-minor-refactor
formula: minor refactor to reduce line count
2020-07-16 17:18:17 +10:00
Bo Anderson
311a6f5d55 debrew/irb: don't attempt (and choke) documenting 2020-07-16 02:53:26 +01:00
Bo Anderson
8eb176f50b exceptions: correct safe_system doc link 2020-07-16 02:52:28 +01:00
Bo Anderson
022d42ab08 formula: minor refactor to reduce line count 2020-07-16 02:20:13 +01:00
Seeker
79d4b27c86 bump-formula-pr: restore formula if duplicate PR exists 2020-07-15 14:54:39 -07:00
Seeker
3ae2611365 bump-formula-pr: determine url/tag from version 2020-07-15 13:56:07 -07:00
Bo Anderson
0499e60198 data/spdx.json: update 2020-07-15 20:30:07 +01:00
Bo Anderson
681dafd028 Adjust container checks for GitHub Actions changes 2020-07-15 19:12:33 +01:00
Jonathan Chang
474c1ab7f6
Merge pull request #8007 from SeekingMeaning/head-after-license
formula_creator: generate `head` stanza after `license`
2020-07-15 18:03:05 +10:00
Jonathan Chang
20e3d74e81
Merge pull request #7996 from rmNULL/gemfile-patchelf-version-update
Replace instance variable access with call to .elf.
2020-07-15 17:58:37 +10:00
Jonathan Chang
afc5d99522 brew vendor-gems: commit updates. 2020-07-15 17:32:32 +10:00
dependabot-preview[bot]
33c3cf2ec6
build(deps): bump zeitwerk from 2.3.1 to 2.4.0 in /Library/Homebrew
Bumps [zeitwerk](https://github.com/fxn/zeitwerk) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/fxn/zeitwerk/releases)
- [Changelog](https://github.com/fxn/zeitwerk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.3.1...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 07:28:01 +00:00
SeekingMeaning
29650fdea1
formula_creator: generate head stanza after license 2020-07-14 17:37:55 -07:00
dependabot-preview[bot]
517effd7e2
build(deps): bump codecov from 0.2.0 to 0.2.1 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 00:03:51 +00:00
William Woodruff
0f9bdee8e9
Update Library/Homebrew/Gemfile
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
2020-07-14 14:35:55 -04:00
Bo Anderson
b931f5064f
Merge pull request #8002 from gromgit/fix_diag_wording
check_user_path_1: Fix message presentation
2020-07-14 12:31:02 +01:00
Adrian Ho
567b5a96d6 check_user_path_1: Fix message presentation 2020-07-14 18:57:45 +08:00
Tom Schoonjans
678dbc1973 std_meson_args: add release buildtype
By default meson compiles using the debug buildtype, which corresponds
to -O0 -g. The release buildtype changes this to -O3.
2020-07-14 11:27:49 +01:00
Bo Anderson
4a20f76382
Merge pull request #7993 from dtrodrigues/get_repo_head
audit: also search head url to get repo data
2020-07-14 00:19:31 +01:00
Issy Long
e1383c2898
utils/git_spec: Make example files easier to reason about
- Give the files real names, like `README.md`, rather than having to
  parse the difference between "bleh" and "blah" when reading the tests.
2020-07-14 00:18:45 +01:00
Issy Long
981726c088
utils/git_spec: Add a test for last_revision_commit_of_files
- This method, called from `brew extract` in the case of extraction from
  third-party taps, was untested. This led to it breaking when we refactored
  some of it to appease Sorbet (see PR 7933). If I make the same
  (flawed) change here and run these tests, they fail.
- There's a fair bit going on here, but most of it is setup for
  committing changes to more files, as we're testing operations on
  multiple files in a Homebrew repo.
- I originally tried to write tests for `brew extract`, but that
  required _a lot_ of refactoring because those tests (and their helper
  methods) aren't designed for third-party taps - they rely on
  `CoreTap`. So testing the underlying method is a better solution.
2020-07-14 00:18:44 +01:00
rmnull
2ca03610e2
update patchelf.rb to '~> 1.1' in Gemfile. Replace instance variable access with call to .elf.
patcher.elf was introduced in gem release v1.1.0.
2020-07-14 04:30:29 +05:30
Dustin Rodrigues
b037dfc147 audit: also search head url to get repo data 2020-07-13 12:01:45 -04:00
Dustin Rodrigues
84ad2e7551 don't allow prerelease for cake 2020-07-13 11:14:12 -04:00
Jonathan Chang
ea47dce9ee
Merge pull request #7991 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.88.0
build(deps): bump rubocop from 0.87.1 to 0.88.0 in /Library/Homebrew
2020-07-14 00:40:36 +10:00
Jonathan Chang
76709d82c5 Fix brew style. 2020-07-13 23:24:14 +10:00
dependabot-preview[bot]
59583e3460 build(deps): bump rubocop from 0.87.1 to 0.88.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.87.1 to 0.88.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.87.1...v0.88.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 23:24:14 +10:00
Jonathan Chang
0f6bc6274f
Merge pull request #7981 from gromgit/fix_shellenv
shellenv: Fix shell detection
2020-07-13 22:37:07 +10:00
Bo Anderson
f51e280729
Merge pull request #7988 from SeekingMeaning/cask-installed
cask/installer: don't call `installed?` if Formula
2020-07-13 12:42:09 +01:00
Jonathan Chang
45ddf773ff
Merge pull request #7989 from SeekingMeaning/bump-revision-license
dev-cmd/bump-revision: insert revision after license
2020-07-13 17:12:15 +10:00
Sean Molenaar
4f5e6d5638
Merge pull request #7966 from SMillerDev/cask/list_json
cask: add list --json
2020-07-13 07:24:06 +02:00
Seeker
c052e59df3 dev-cmd/bump-revision: insert revision after license 2020-07-12 20:05:27 -07:00
Seeker
b4f25b5911 cask/installer: don't call installed? if Formula 2020-07-12 17:14:10 -07:00
Rylan Polster
936f4bbff4 refactor share path node matcher 2020-07-12 16:06:50 -04:00
Rylan Polster
d8fb850fa9 fix pkgshare missing slash issue 2020-07-12 14:20:50 -04:00
Rylan Polster
55246d720e improve style in pattern matcher 2020-07-12 14:20:05 -04:00
Rylan Polster
6119934efb style: refactor pkgshare cop 2020-07-12 12:12:36 -04:00
Rylan Polster
8c0c713d6b style: don't use build.with? for dependencies 2020-07-12 12:12:36 -04:00
Rylan Polster
074f79840c style: refactor prefix path check 2020-07-12 12:12:36 -04:00
Jonathan Chang
bc4a108045
Merge pull request #7980 from dtrodrigues/versioned-head-msg
update audit error message for versioned formulae with head spec
2020-07-12 12:20:14 +10:00
Jonathan Chang
8aa0eca384
Merge pull request #7982 from dtrodrigues/throttle
refactor throttled update logic to improve efficiency
2020-07-12 12:09:51 +10:00
Jonathan Chang
0f0979d33b
Merge pull request #7969 from rmNULL/patchelfrb-for-devs
enable HOMEBREW_PATCHELF_RB for brew developers by default
2020-07-12 12:02:58 +10:00
Issy Long
2536f0a09f
Merge pull request #7946 from vidusheeamoli/utils-user-to-true
sorbet: set utils/user.rb to true
2020-07-11 17:55:44 +01:00
Issy Long
2a5c9ce16b
Merge pull request #7962 from vidusheeamoli/utils-link-to-true
sorbet/utils: move files to true
2020-07-11 17:55:00 +01:00
Dustin Rodrigues
963605e682 refactor throttled update logic to improve efficiency 2020-07-11 12:05:47 -04:00