27815 Commits

Author SHA1 Message Date
Jonathan Chang
ef1e07b88b
rubocops/patches: GitLab patches should use .diff
Only `.diff` URLs return output comparable to the diffs from
`git diff --full-index`. While the extra metadata from `.patch` is
nice, the instability of the patch contents is undesirable.

Co-Authored-By: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-04-19 09:08:14 -04:00
Nanda H Krishna
4a608a7ac6
Merge pull request #11170 from nandahkrishna/revert-patch-autocorrect
rubocops/patches: remove autocorrection of some `url`s
2021-04-19 18:32:49 +05:30
Rylan Polster
0a30cae9d1
search: properly deprecate brew search --cask 2021-04-19 08:25:19 -04:00
Mike McQuaid
530d1ffac7
Merge pull request #11184 from Homebrew/dependabot/bundler/docs/html-proofer-3.19.1
build(deps-dev): bump html-proofer from 3.19.0 to 3.19.1 in /docs
2021-04-19 12:50:02 +01:00
Mike McQuaid
1d0e906cf6
Merge pull request #11188 from Homebrew/update-manpage
Update maintainers, manpage and completions.
2021-04-19 12:49:36 +01:00
BrewTestBot
8706dda241
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-19 09:23:24 +00:00
Dawid Dziurla
b6a6260c9f
Merge pull request #11181 from Homebrew/bump-cask--fork-org
bump-cask-pr: add --fork-org flag
2021-04-19 11:21:57 +02:00
Carlo Cabrera
309504a32c
formula: add rpath helper method
About 40 formulae set `CMAKE_INSTALL_RPATH` to `lib` or `opt_lib`, but
this breaks bottle relocatability.

The correct solution is to use `@loader_path/../lib`, but this is macOS
specific, so it requires some OS-specific logic. Rather than replicating
this logic over many formulae, we may as well define a helper method for
it.

See https://github.com/Homebrew/homebrew-core/issues/75458.
2021-04-19 09:23:33 +01:00
dependabot[bot]
50e74b35e0
build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 9b0b9bbe2c64e9ed41413180dd7398450dfeee14 to 1.4.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](9b0b9bbe2c...0e28ff86a5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 07:25:25 +00:00
dependabot[bot]
be0f78d2ca
build(deps-dev): bump html-proofer from 3.19.0 to 3.19.1 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.19.0 to 3.19.1.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.19.0...v3.19.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 05:28:26 +00:00
Dawid Dziurla
ee841f11df
bump-cask-pr: add --fork-org flag 2021-04-18 20:53:01 +02:00
hyuraku
7463023fc7 shims/mac/super/pkg-config: repair style 2021-04-18 21:21:48 +09:00
hyuraku
90290aa8ef shims/linux/super/make: repair style 2021-04-18 19:54:33 +09:00
hyuraku
4e3003b841 shims/mac/super/pod2man: repair style 2021-04-18 19:43:46 +09:00
hyuraku
7f33314e64 shims/mac/super/xcrun: repair style 2021-04-18 19:43:37 +09:00
hyuraku
c0df2460ef shims/mac/super/apr-1-config: repair style 2021-04-18 18:56:46 +09:00
hyuraku
4f6ecd5bf8 shims/mac/super/bsdmake: repair style 2021-04-18 18:56:36 +09:00
hyuraku
748bc3bf8e shims/mac/super/ruby: repair style 2021-04-18 18:56:20 +09:00
hyuraku
db9960e08a shims/mac/super/mig: repair style 2021-04-18 18:45:10 +09:00
hyuraku
d4f13908cc shims/mac/super/make: repair style 2021-04-18 18:44:59 +09:00
hyuraku
b910cf84b1 shims/mac/super/scm/git: repair style 2021-04-18 18:34:36 +09:00
hyuraku
0c3256ba4c shims/mac/super/ant: repair style 2021-04-18 18:34:16 +09:00
hyuraku
538c65d6f8 shims/utils.sh: repair style 2021-04-18 16:44:53 +09:00
Nanda H Krishna
520b8110e8
Merge pull request #11173 from Homebrew/update-manpage
Update maintainers, manpage and completions.
2021-04-17 18:39:37 +05:30
BrewTestBot
73966f4cd5
Update maintainers, manpage and completions.
Autogenerated by the [update-manpage](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-manpage.yml) workflow.
2021-04-17 12:21:10 +00:00
Dawid Dziurla
4a183cf109
Merge pull request #11158 from dawidd6/bump-fork-org
bump-formula-pr: add --fork-org flag
2021-04-17 14:18:39 +02:00
hyuraku
c4325bee45 items.sh: repair style 2021-04-17 20:56:56 +09:00
hyuraku
117902803f add detail comments and delete cask 2021-04-17 20:34:16 +09:00
Dawid Dziurla
63be66408e
bump-formula-pr: add --fork-org flag 2021-04-17 09:53:15 +02:00
Markus Reiter
d6e5973441
Merge pull request #11171 from reitermarkus/sparkle-latest
Always take latest item in `Sparkle` strategy.
2021-04-17 02:55:00 +02:00
Markus Reiter
9bb1ba324f
Always take latest item in Sparkle strategy. 2021-04-17 01:32:19 +02:00
Bo Anderson
842a2ea890
Merge pull request #11159 from Bo98/cmake-no-tests
formula: add `-DBUILD_TESTING=OFF` to `std_cmake_args`
2021-04-16 23:32:24 +01:00
Nanda H Krishna
1c2d76c4e4
rubocops/patches: remove autocorrection of some URLs 2021-04-17 01:44:28 +05:30
Issy Long
5c352437d9
Merge pull request #11169 from issyl0/fix-patch-url-autocorrection
rubocops/patches: Fix quoting of the patch `url` when autocorrecting
2021-04-16 20:10:16 +01:00
Issy Long
a328acc9a1
rubocops/patches: Fix quoting of the patch url when autocorrecting
- The autocorrections here before were leading to changes like:

```
➜ brew style --fix brewsci/science/beetl
Formula/beetl.rb:15:11: C: [Corrected] GitHub patches should use the full_index parameter: https://github.com/BEETL/BEETL/commit/ba47b6f9.patch?full_index=1
      url "https://github.com/BEETL/BEETL/commit/ba47b6f9.patch"
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

➜ git diff
diff --git a/Formula/beetl.rb b/Formula/beetl.rb
index bbd049aa..7ec6d7bc 100644
--- a/Formula/beetl.rb
+++ b/Formula/beetl.rb
@@ -12,7 +12,7 @@ class Beetl < Formula
     # Fixes "error: 'accumulate' is not a member of 'std'"
     # Upstream commit "Little fix for compilation on mac"
     patch do
-      url "https://github.com/BEETL/BEETL/commit/ba47b6f9.patch"
+      url https://github.com/BEETL/BEETL/commit/ba47b6f9.patch?full_index=1
       sha256 "63b67f3282893d1f74c66aa98f3bf2684aaba2fa9ce77858427b519f1f02807d"
     end
   end

```

- This fixes the URLs generated to have quotes:

```
➜ git diff
diff --git a/Formula/beetl.rb b/Formula/beetl.rb
index bbd049aa..7ec6d7bc 100644
--- a/Formula/beetl.rb
+++ b/Formula/beetl.rb
@@ -12,7 +12,7 @@ class Beetl < Formula
     # Fixes "error: 'accumulate' is not a member of 'std'"
     # Upstream commit "Little fix for compilation on mac"
     patch do
-      url "https://github.com/BEETL/BEETL/commit/ba47b6f9.patch"
+      url "https://github.com/BEETL/BEETL/commit/ba47b6f9.patch?full_index=1"
       sha256 "63b67f3282893d1f74c66aa98f3bf2684aaba2fa9ce77858427b519f1f02807d"
     end
   end
```
2021-04-16 19:41:02 +01:00
Mike McQuaid
c3985761f5
Merge pull request #11166 from Homebrew/revert-11165-bottle-uid-gid
Revert "dev-cmd/bottle: set uid/gid."
2021-04-16 17:17:51 +01:00
Mike McQuaid
08b848044e
Revert "dev-cmd/bottle: set uid/gid." 2021-04-16 16:58:21 +01:00
Mike McQuaid
270a7c1b96
Merge pull request #11165 from MikeMcQuaid/bottle-uid-gid
dev-cmd/bottle: set uid/gid.
2021-04-16 16:04:49 +01:00
Mike McQuaid
7a23bd3ecd
dev-cmd/bottle: set uid/gid.
This is a more complete version of `--numeric-owner`.
2021-04-16 15:26:24 +01:00
hyuraku
83f8b9230a brew.sh: repair style 2021-04-16 22:32:30 +09:00
Mike McQuaid
2b34ecfe18
Merge pull request #11163 from Bo98/bottle-filename
dev-cmd/bottle: revert filename in JSON to use single dash always
2021-04-16 14:30:46 +01:00
Mike McQuaid
434e78ac21
Merge pull request #11150 from MikeMcQuaid/bottle_reproducibility-tweaks
Bottle reproducibility tweaks
2021-04-16 14:30:25 +01:00
Mike McQuaid
4a0b860973
dev-cmd/bottle: improve reproducibility, comment.
Setting a consistent owner/group results in more consistent bottles.
2021-04-16 14:05:06 +01:00
Mike McQuaid
b57fe84f81
Use long/readable tar flags.
Also, use `--no-same-permissions` instead of `-o` (which does nothing
without `-p` being passed and run as `root`) for the more explicit
description of the behaviour we want.
2021-04-16 14:05:06 +01:00
Mike McQuaid
96cd1c058e
utils/bottles: tweak/improve some of the API. 2021-04-16 14:05:05 +01:00
Mike McQuaid
a28dda5062
bottle: remove GitHub Packages bulk upload logic. 2021-04-16 14:05:05 +01:00
Bo Anderson
1d896e36a1
Merge pull request #11162 from Bo98/autoupdate-workaround
brew.sh: add workaround for old auto-updates
2021-04-16 13:12:54 +01:00
Bo Anderson
b5ccad093d
dev-cmd/bottle: revert filename in JSON to single dash
Fixes #11136.
2021-04-16 13:04:34 +01:00
Sean Molenaar
1872a2d696
Merge pull request #11133 from SMillerDev/feature/formula/systemd_generator
Service: generate systemd unit file
2021-04-16 14:00:45 +02:00
Bo Anderson
7c9053753f
brew.sh: add workaround for old auto-updates 2021-04-16 12:32:34 +01:00