23036 Commits

Author SHA1 Message Date
Dawid Dziurla
3b0359706f
bintray: automatically run brew mirror if needed 2020-06-13 12:55:03 +02:00
Dan Kessler
30b04daa8a append colon (:) to end of brew's part of INFOPATH in brew shellenv
The behavior of some programs (e.g., emacs) differs depending on
whether INFOPATH is terminated in a colon or not. For example, the
info viewer built into emacs has a default list of places from which
it will draw info files, and it will only check this if either (a)
INFOPATH is unset, or (b) INFOPATH ends in a colon.

Currently brew shellenv prepends to the existing $INFOPATH and will
separate with a colon if $INFOPATH already exists, but if it does not
it will not terminate in a colon. As a result, info
pages (like emacs and elisp) are missing from the info viewer.

The existing brew shellenv logic used a parameter expansion trick to
include a colon only if it was prepending to an extant INFOPATH, but
because we want brew's contribution to the INFOPATH to always end in a
colon (whether there's an existing INFOPATH or not), we don't have to
use the parameter expansion trick

This commit only changes behavior for "other" shells (i.e., not fish,
csh, or tcsh) since I don't know how to append a colon to variables in
these shells.
2020-06-12 20:47:43 -04:00
lionellloh
998ab162d4 brew audit: Included json gem, does conditional check on github 2020-06-13 03:43:02 +08:00
lionellloh
803f9dd4a3 brew audit: check if license data exists 2020-06-13 02:43:02 +08:00
lionellloh
c10b6bcc3c brew audit: Checks if a formula has a spdx license 2020-06-13 02:34:34 +08:00
Lionell
8a6fa73dc1 Merge branch 'license' of https://github.com/MLH-Fellowship/brew into license 2020-06-13 01:04:39 +08:00
Issy Long
797507fa4c
Merge pull request #7737 from issyl0/prerelease-audit-allowlist
audit: Supress pre-release audits for known pre-release formulae
2020-06-12 16:28:56 +01:00
Issy Long
7ad7834b15
audit: Supress pre-release audits for known pre-release formulae
- This safelists one formula that has only ever shipped pre-releases,
  from before we had the GitHub pre-release audit. So it won't fail CI
  and cause maintainers more work to determine if it's always been that
  way, or if it's new. Then, we don't have to keep comments at the top
  of files to say so for the next contributors.
- We should check this list from time to time to make sure that the
  formulae here have graduated to actual releases and we can remove
  them.
2020-06-12 15:59:30 +01:00
Mike McQuaid
ddf20bdc09
Merge pull request #7735 from MikeMcQuaid/tap-new-restrict-names
tap-new: restrict new tap names.
2020-06-12 12:03:55 +01:00
Mike McQuaid
f94a38e4b1
tap-new: restrict new tap names.
Don't want to restrict this for all taps otherwise existing ones may
explode.

Fixes #7734
2020-06-12 11:42:40 +01:00
Mike McQuaid
91b4d45070
Merge pull request #7722 from Bo98/java-improvements
language/java: add support for OpenJDK
2020-06-12 10:47:18 +01:00
Mike McQuaid
c989011325
Merge pull request #7710 from Lekensteyn/clarify-tap-docs
docs: clarify Formula location in Tap repositories
2020-06-12 10:46:53 +01:00
Mike McQuaid
ae7e58ef78
Merge pull request #7488 from danielbayley/master
cat: Allow 'bat' to find existing configuration
2020-06-12 10:45:11 +01:00
Mike McQuaid
c453d6e00d
Merge pull request #7733 from Homebrew/remove-workflows-apidoc
Remove workflows/apidoc
2020-06-12 10:14:25 +01:00
Mike McQuaid
958d3a704a
Remove workflows/apidoc
Replaced with scheduled regeneration job in
https://github.com/Homebrew/rubydoc.brew.sh/pull/97.
2020-06-12 09:48:38 +01:00
Mike McQuaid
fe75934acf
Merge pull request #7730 from MikeMcQuaid/tap-fetch-name
tap: check for invalid fetched tap name.
2020-06-12 09:36:46 +01:00
Mike McQuaid
8107ac292f
Merge pull request #7731 from MikeMcQuaid/docker-fetch
Dockerfile: run `git fetch`.
2020-06-12 09:36:37 +01:00
Mike McQuaid
c273889226
Merge pull request #7728 from EricFromCanada/docs-titles
docs: restore h1 headings for pages with front matter
2020-06-12 09:14:28 +01:00
Mike McQuaid
854e96c7c5
Merge pull request #7686 from maxim-belkin/test_ruby_update
utils/ruby.sh: update `test-ruby` (and rename to test_ruby)
2020-06-12 09:13:15 +01:00
Mike McQuaid
5acb592779
tap: check for invalid fetched tap name.
Fixes #7732.
2020-06-12 09:12:39 +01:00
Mike McQuaid
637ec77438
Dockerfile: run git fetch.
This should setup `origin/master` correctly for
https://github.com/Homebrew/homebrew-test-bot/pull/424.
2020-06-12 09:10:42 +01:00
Mike McQuaid
fe0a866c6b
Merge pull request #7727 from vidusheeamoli/srb-init
Sorbet: init
2020-06-12 09:07:58 +01:00
vidusheeamoli
0495b53326 add files.yaml to override typed sigil 2020-06-12 02:26:30 +05:30
vidusheeamoli
9b380dcde5 add the sorbet directory 2020-06-12 02:13:13 +05:30
EricFromCanada
2427e06340 docs: restore h1 headings for pages with front matter
Plus other fixes for Homebrew-on-Linux.md.
GitHub Pages' jekyll-titles-from-headings sets a page's title to its first Markdown heading.
2020-06-11 14:04:12 -04:00
Sean Molenaar
4a24908fe4
cask: codify the token rules 2020-06-11 19:34:36 +02:00
Mike McQuaid
c120b61204
Merge pull request #7726 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-1.40.0
build(deps): bump rubocop-rspec from 1.39.0 to 1.40.0 in /Library/Homebrew
2020-06-11 13:50:00 +01:00
Mike McQuaid
390c3e269f
brew vendor-gems: commit updates. 2020-06-11 12:57:57 +01:00
Mike McQuaid
701552bbf3
Merge pull request #7725 from vidusheeamoli/install-sorbet
Gemfile: add sorbet and sorbet-runtime
2020-06-11 12:55:32 +01:00
vidusheeamoli
5ef55d9637 homebrew-sorbet env 2020-06-11 16:46:05 +05:30
dependabot-preview[bot]
2b93177237
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.39.0...v1.40.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 10:46:54 +00:00
Peter Wu
89bd6a76ee docs: clarify Formula location in Tap repositories
Make clear that Formula locations cannot be mixed, they are mutually
exclusive. This avoids the (false) implication that top-level Formula
can override those in the Formula subdirectory.

This makes no change in recommendations following the original
discussion in https://github.com/Homebrew/legacy-homebrew/pull/41858
2020-06-11 11:49:36 +02:00
Michka Popoff
a81e1d1fa8
Merge pull request #7702 from iMichka/resource
on_os blocks: resources, patches
2020-06-11 11:42:41 +02:00
Mike McQuaid
28ed0801ed
Merge pull request #7723 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.0.0
build(deps): bump parallel_tests from 2.32.0 to 3.0.0 in /Library/Homebrew
2.4.0
2020-06-11 09:15:19 +01:00
Mike McQuaid
1120304149
Merge pull request #7724 from Homebrew/dependabot/bundler/Library/Homebrew/ast-2.4.1
build(deps): bump ast from 2.4.0 to 2.4.1 in /Library/Homebrew
2020-06-11 08:49:45 +01:00
vidusheeamoli
536726799d Gemfile: add sorbet and sorbet-runtime
bundler/setup: add sorbet and sorbet-runtime
2020-06-11 11:41:53 +05:30
dependabot-preview[bot]
a7b02a6665
build(deps): bump ast from 2.4.0 to 2.4.1 in /Library/Homebrew
Bumps [ast](https://github.com/whitequark/ast) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/whitequark/ast/releases)
- [Changelog](https://github.com/whitequark/ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/ast/compare/v2.4.0...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 05:35:24 +00:00
Misty De Meo
b3bc735734
Merge pull request #7698 from mistydemeo/bump_minimum_os
Bump minimum OS to Yosemite
2020-06-10 14:05:58 -07:00
Markus Reiter
1ea9bc3e9c
Merge pull request #7721 from reitermarkus/fix-audit-appcast
Fix failing appcast check.
2020-06-10 22:40:50 +02:00
Misty De Meo
f4ff5a22f8
vendor-install: remove ARM 2020-06-10 13:08:09 -07:00
Misty De Meo
0c1cf592b7
Bump minimum OS to Yosemite 2020-06-10 13:08:01 -07:00
Michka Popoff
3ad9009937 on_os block: test support for patches 2020-06-10 19:29:52 +02:00
Michka Popoff
2a50ef045f on_os blocks: remove url tests
This is not allowed by the style audit, and we do not want
to allow different source url's depending on the os.
2020-06-10 19:29:52 +02:00
Michka Popoff
1f8ebf5d20 resource: allow on_os blocks 2020-06-10 19:29:04 +02:00
dependabot-preview[bot]
179e9e8d5a
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.32.0 to 3.0.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.32.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 16:53:44 +00:00
William Ma
864cc76b3b Print license information in brew info 2020-06-10 12:29:54 -04:00
William Ma
b07685291b Add license to formula DSL 2020-06-10 12:29:25 -04:00
Bo Anderson
07547e8cae extend/pathname: use Java.overridable_java_home_env in write_jar_script 2020-06-10 17:08:41 +01:00
Bo Anderson
bbb2696742 language/java: add support for OpenJDK formula 2020-06-10 17:08:38 +01:00
Mike McQuaid
342b957824
Merge pull request #7720 from Bo98/java_home_cmd
language/java: deprecate java_home_cmd
2020-06-10 15:58:08 +01:00