Mike McQuaid
3a9f585ebb
Move more code to utils/analytics.
2019-11-22 09:10:29 +00:00
Issy Long
727f9671c7
info: show Linux formulae details and analytics
...
- This makes use of the new /api/formula-linux and /api/analytics-linux
endpoints in formulae.brew.sh to give Linux users up to date formula and
analytics info for their installed core formulae.
Before, on Linux, the macOS stats for the `ack` formula:
```
$ brew info ack
[...]
==> Analytics
install: 12,422 (30 days), 32,742 (90 days), 97,788 (365 days)
install_on_request: 10,778 (30 days), 28,339 (90 days), 85,202 (365 days)
build_error: 0 (30 days)
```
Now, on Linux, the Linux stats for the `ack` formula:
```
$ brew info ack
[...]
==> Analytics
install: 95 (30 days), 242 (90 days), 737 (365 days)
install_on_request: 94 (30 days), 241 (90 days), 734 (365 days)
build_error: 0 (30 days)
```
2019-11-22 09:10:29 +00:00
Mike McQuaid
28635a7fe4
Merge pull request #6723 from maxim-belkin/gh-actions/no-fork-prs
...
bump-formula-pr: enable same-repo (no-fork) Pull Requests
2019-11-22 09:06:48 +00:00
Mike McQuaid
93c231cde5
Merge pull request #6766 from reitermarkus/cask-upgrade
...
Rescue more errors during `cask upgrade`.
2019-11-22 09:05:34 +00:00
Mike McQuaid
a5550aa9a9
Merge pull request #6765 from EricFromCanada/shell-ohai
...
shell commands: colourize messages
2019-11-22 09:05:16 +00:00
Markus Reiter
fbf4b0432d
Rescue more errors during cask upgrade
.
2019-11-22 02:50:44 +01:00
Mike McQuaid
bf74cd994b
Merge pull request #6760 from MikeMcQuaid/test_bot_logic_to_actions
...
Move some brew-test-bot logic to GitHub Actions.
2019-11-21 22:00:32 +00:00
EricFromCanada
0242084929
shell commands: colourize messages
2019-11-21 16:18:46 -05:00
Mike McQuaid
04835db85e
Move some brew-test-bot logic to GitHub Actions.
...
This will improve the output and ease of parsing while allowing code to
be removed from brew-test-bot which relates only to a single repo (this
one).
2019-11-21 19:50:23 +00:00
Mike McQuaid
1d1cf36166
Merge pull request #6762 from bayandin/inreplace-for-empty-array
...
utils/inreplace: do not allow to use empty list of files
2019-11-21 17:20:08 +00:00
Maxim Belkin
c7f065b8da
utils/github.rb: use parallel assignments rather than indices
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-11-21 11:13:10 -06:00
Maxim Belkin
1a0361a57d
Don't check dry run status where it is not needed
2019-11-21 11:13:10 -06:00
Maxim Belkin
ba7a05a919
bump-formula-pr.rb: Apply suggestions from code review
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-11-21 11:13:10 -06:00
Maxim Belkin
a031fe911e
Switch from formula.tap.full_name to tap_formula_name
2019-11-21 11:13:10 -06:00
Maxim Belkin
845f65b945
Factor out some code into functions
2019-11-21 11:13:10 -06:00
Maxim Belkin
407baf4bcd
Update docs and man pages
2019-11-21 11:13:10 -06:00
Maxim Belkin
620e96b929
bump-formula-pr: enable same-repo (no-fork) Pull Requests
2019-11-21 11:13:09 -06:00
Mike McQuaid
eb019ee330
Merge pull request #6763 from EricFromCanada/info-analytics
...
info: adjust handling of analytics flags
2019-11-21 17:10:11 +00:00
Alexander Bayandin
b7b5a60f86
utils/inreplace: do not allow to use empty list of files
2019-11-21 16:49:06 +00:00
EricFromCanada
7ae87373ed
info: raise on invalid category for formula analytics
2019-11-21 11:45:50 -05:00
Mike McQuaid
8c6c0039ab
Merge pull request #6764 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-retry-0.6.2
...
build: bump rspec-retry from 0.6.1 to 0.6.2 in /Library/Homebrew
2019-11-21 12:13:22 +00:00
dependabot-preview[bot]
d45e6eeec1
build: bump rspec-retry from 0.6.1 to 0.6.2 in /Library/Homebrew
...
Bumps [rspec-retry](https://github.com/noredink/rspec-retry ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/noredink/rspec-retry/releases )
- [Changelog](https://github.com/NoRedInk/rspec-retry/blob/master/changelog.md )
- [Commits](https://github.com/noredink/rspec-retry/compare/v0.6.1...v0.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 11:43:34 +00:00
EricFromCanada
4cd2775d4f
info: use hyphenated category names for formula analytics
2019-11-20 20:47:05 -05:00
Mike McQuaid
fb978a7862
Merge pull request #6759 from davidrupp/patch-1
...
Fix that `reason` is coerced to a boolean
2019-11-20 15:12:13 +00:00
David Rupp
71fd680d51
Fix that reason
is coerced to a boolean
...
f762033a57
introduced a bug such that `reason` is coerced to a boolean, so when displayed it loses information about the actual return value from `MissingFormula.reason`. This patch re-scopes the assignment of `reason` such that the actual reason is retained, while also retaining the sense of the new boolean check.
2019-11-20 09:49:08 -05:00
Mike McQuaid
a123d90e5d
Merge pull request #6749 from Bo98/cpp-fix
...
shims/super/cc: remove isysroot space to fix cpp
2019-11-20 12:51:17 +00:00
Mike McQuaid
b62758a763
Merge pull request #6750 from MrKumaPants/curl-fix
...
Upped the timeout for curl to 15 seconds to match other code
2019-11-20 12:46:18 +00:00
Mike McQuaid
acda2b1bc9
Merge pull request #6748 from issyl0/drop-local-from-gitconfig-commands
...
Remove `--local` from `git config` commands as it's the default
2019-11-20 12:28:32 +00:00
Mike McQuaid
87ca86e873
Merge pull request #6756 from Homebrew/readme-tweaks
...
README: tweak donations, sponsors.
2019-11-20 12:02:14 +00:00
Mike McQuaid
2a453437d8
Merge pull request #6702 from bayandin/patch-1
...
Bump Xcode to 11.2.1
2019-11-19 20:22:31 +00:00
Mike McQuaid
351531c51a
README: tweak donations, sponsors.
...
Move "Donations" below "Contributing" so people see it more and remove CommsWorld who we no longer use.
2019-11-19 20:10:07 +00:00
Markus Reiter
d65ad9fe1a
Merge pull request #6754 from Homebrew/dependabot/bundler/docs/html-proofer-3.14.1
...
build: bump html-proofer from 3.13.0 to 3.14.1 in /docs
2019-11-18 07:04:54 +01:00
dependabot-preview[bot]
b5e3c35ce8
build: bump html-proofer from 3.13.0 to 3.14.1 in /docs
...
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer ) from 3.13.0 to 3.14.1.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases )
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.13.0...v3.14.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 22:55:10 +00:00
Issy Long
07f61e6269
Merge pull request #6752 from jonchang/update-linux-docs
...
docs: New linuxbrew + bump-formula-pr changes
2019-11-17 11:00:21 +00:00
Jonathan Chang
1f7d9e432c
docs: New linuxbrew + bump-formula-pr changes
2019-11-17 12:24:06 +11:00
Nathan
5400883bd9
Upped the timeout for curl to 15 seconds
2019-11-16 10:16:00 -06:00
Bo Anderson
b4ff330ac1
shims/super/cc: remove isysroot space to fix cpp
...
Fixes #5153
2019-11-16 15:07:11 +00:00
Issy Long
02524ba322
Remove --local
from git config
commands as it's the default
...
- The `--local` option doesn't exist in early versions of git (~1.7),
but its behaviour is the default (saving in the current repo's .git
directory).
- As it's the default across versions, we don't need to specify it
everywhere.
- Reported in Linuxbrew/install issue 78.
2019-11-16 10:19:42 +00:00
Mike McQuaid
ba3472b28c
Merge pull request #6718 from dawidd6/bumpable-linux
...
bump-formula-pr: make it usable on linux
2019-11-15 11:42:28 -08:00
Dawid Dziurla
f90612ccf0
bump-formula-pr: make it usable on linux
...
This commit makes it possible to use `bump-formula-pr` on linux to
contribute to `homebrew-core` as easily as it is on macOS, but with some
additional steps made before actual bumping of the formula.
Differences in the process (before bumping):
- add `homebrew-core` remote named `homebrew`
- fetch `homebrew/master`
- check if formula exists in `homebrew-core`
- switch to `homebrew/master` ref
2019-11-15 13:22:31 +01:00
Mike McQuaid
a59be43eca
Merge pull request #6744 from Bo98/bottle-dotfiles
...
formula: copy hidden files _from_ bottles.
2019-11-14 16:35:07 -08:00
Bo Anderson
3cb2d62a1b
formula: copy hidden files from bottles.
2019-11-14 23:31:40 +00:00
Mike McQuaid
de6dc05f84
Merge pull request #6714 from hyuraku/repair_info_analysis
...
work correctly info analysis args
2019-11-14 14:44:45 -08:00
Mike McQuaid
8072eac0af
Merge pull request #6743 from Homebrew/dependabot/bundler/docs/html-pipeline-2.12.2
...
build: bump html-pipeline from 2.12.1 to 2.12.2 in /docs
2019-11-14 10:42:20 -08:00
Mike McQuaid
13a249a426
Merge pull request #6742 from MikeMcQuaid/cask_loader_uri
...
cask_loader: fix URI detection.
2019-11-14 10:21:36 -08:00
hyuraku
1ab86acb0f
move methods to analytics_table function
2019-11-15 01:25:54 +09:00
dependabot-preview[bot]
a9c193536d
build: bump html-pipeline from 2.12.1 to 2.12.2 in /docs
...
Bumps [html-pipeline](https://github.com/jch/html-pipeline ) from 2.12.1 to 2.12.2.
- [Release notes](https://github.com/jch/html-pipeline/releases )
- [Changelog](https://github.com/jch/html-pipeline/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jch/html-pipeline/compare/v2.12.1...v2.12.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-14 16:13:27 +00:00
Mike McQuaid
b80defdd33
Merge pull request #6741 from MikeMcQuaid/upgrade_exit
...
cmd/upgrade: fix exit logic.
2019-11-14 07:51:19 -08:00
Mike McQuaid
5f07a1e9bf
cask_loader: fix URI detection.
...
Fixes #6678
2019-11-14 07:39:07 -08:00
Mike McQuaid
d6d857c154
cmd/upgrade: fix exit logic.
...
Fixes #6739
2019-11-14 07:22:19 -08:00