Mike McQuaid
6a7288e4d3
Merge pull request #6474 from Homebrew/revert-6471-not_always_install_test_deps
...
Revert "formula_installer: don't always install test deps."
2019-09-20 08:55:55 +01:00
Mike McQuaid
fb12724bdd
Revert "formula_installer: don't always install test deps."
2019-09-20 08:17:50 +01:00
Mike McQuaid
1e584f95c3
Merge pull request #6468 from MikeMcQuaid/brew-cleanup-tweaks
...
cleanup: some speedup optimisations.
2019-09-19 09:37:15 +01:00
Issy Long
0198011c20
Post-review clarifications
2019-09-19 08:57:22 +01:00
Mike McQuaid
ea0e7f6d62
cleanup: some speedup optimisations.
...
- avoid calling `rm_ds_store` multiple times when unnecessary
- use native Ruby method to remove `.DS_Store` files as it saves
shelling out to `find` and is a bit quicker.
2019-09-19 08:42:03 +01:00
Mike McQuaid
1e725f486e
Merge pull request #6471 from scpeters/not_always_install_test_deps
...
formula_installer: don't always install test deps.
2019-09-19 08:41:05 +01:00
Mike McQuaid
86e9af246b
Merge pull request #6472 from EricFromCanada/json-api-update
...
Cask: fixes for caveats output
2019-09-19 08:40:39 +01:00
EricFromCanada
c9a75db27d
cask: recommend adoptopenjdk as per #6040
2019-09-18 19:28:44 -04:00
EricFromCanada
de26e491e2
cask: remove extra line break in :discontinued caveat
2019-09-18 19:28:44 -04:00
EricFromCanada
a9b9d4613d
cask: return nil instead of "" if no caveats
2019-09-18 19:28:44 -04:00
Steven Peters
13647388c1
formula_installer: don't always install test deps.
...
Fixes #6470 .
2019-09-18 15:14:11 -07:00
Mike McQuaid
605a9c6057
Merge pull request #6440 from igas/formula-pr-checklist
...
Maintainer's checklist on accepting formula PR
2019-09-18 11:47:43 +01:00
Mike McQuaid
aacdf4f2bd
Merge pull request #6463 from alebcay/1xx-status-codes
...
utils/curl.rb: accept 1xx HTTP status codes
2019-09-18 11:26:16 +01:00
Mike McQuaid
fbc13f05dd
utils/curl: extract status checks into method.
2019-09-18 10:32:13 +01:00
Mike McQuaid
94017ac320
Merge pull request #6464 from idoo/master
...
Create '.keepme' files in directories
2019-09-18 10:28:46 +01:00
Mike McQuaid
704ea4b4bb
install: add comment explaining why we're creating these files.
2019-09-18 09:44:29 +01:00
Mike McQuaid
8d6ac3869c
install: keep_file must be a Pathname.
2019-09-18 09:44:28 +01:00
Ivan Verevkin
878b79d456
install: create .keepme
files in directories.
2019-09-18 09:44:06 +01:00
Markus Reiter
5356ebb20a
Merge pull request #6466 from Homebrew/dependabot/bundler/docs/github-pages-200
...
build: bump github-pages from 198 to 200 in /docs
2019-09-17 22:50:03 +02:00
dependabot-preview[bot]
fcf5a51399
build: bump github-pages from 198 to 200 in /docs
...
Bumps [github-pages](https://github.com/github/pages-gem ) from 198 to 200.
- [Release notes](https://github.com/github/pages-gem/releases )
- [Commits](https://github.com/github/pages-gem/compare/v198...v200 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 18:12:35 +00:00
Caleb Xu
78a0105fe2
utils/curl.rb: accept 1xx HTTP status codes
...
RFC 2616 states:
A client MUST be prepared to accept one or more 1xx status responses
prior to a regular response, even if the client does not expect a 100
(Continue) status message. Unexpected 1xx status responses MAY be
ignored by a user agent.
In the rare cases that we encounter a formula URL with a server that
provides a preliminary 1xx status code, it seems that (at least during
audit) we are failing on encountering this status code, even though
retrieving the file will succeed without issues.
2019-09-17 11:01:03 -04:00
Alec Clarke
af10d13381
Check blacklisted Casks when auditing.
...
In some cases, certain Casks shouldn't be resubmitted for specific reasons: difficult to maintain, developers maintain their own version, ...
To make sure these cases are restricted - we can add them to a blacklist and have the blacklist checked as part of the `brew cask audit` steps.
2019-09-17 06:29:46 -07:00
Mike McQuaid
d40a4173d4
Merge pull request #6453 from reitermarkus/brew-ruby
...
Fix `brew ruby -r`.
2019-09-16 08:32:39 +01:00
Mike McQuaid
4db823cb78
Merge pull request #6443 from MikeMcQuaid/linux-os-version
...
os/linux: add, use OS::Linux.os_version
2019-09-16 08:28:03 +01:00
Markus Reiter
702f001e7a
Merge pull request #6457 from reitermarkus/gui-apps
...
Use AppleScript to check if GUI apps are running.
2019-09-16 05:23:46 +02:00
Jonathan Chang
99767543f8
Merge pull request #6458 from issyl0/add-linuxbrew-maintainer-guidelines-to-index-page
...
Docs: Add a link to the linuxbrew-core maintainer guide
2019-09-16 12:19:00 +10:00
Issy Long
d45f88c6ac
Document how we pull bottles in Homebrew/linuxbrew-core
...
- Also document some things that could go wrong and how to recover from
them.
2019-09-15 13:55:28 +01:00
Issy Long
7c295602cc
Note that Homebrew/linuxbrew-core CI won't go green for merge commits
2019-09-15 13:55:16 +01:00
Issy Long
06d86d041f
Use the correct name for the GitHub username envvar: HOMEBREW_GITHUB_USER
2019-09-15 12:40:24 +01:00
Issy Long
23294a5647
Docs: Add a link to the linuxbrew-core maintainer guide
2019-09-15 11:56:26 +01:00
Shaun Jackman
cae41ef006
Merge pull request #6448 from issyl0/linux-maintainer-guide
...
Maintainer's guide for Homebrew on Linux (linuxbrew-core)
2019-09-14 18:50:29 -07:00
Markus Reiter
d8afed206f
Use AppleScript to check if GUI apps are running.
2019-09-15 01:37:04 +02:00
Issy Long
6a81aa2ca4
Maintainer's guide for Homebrew on Linux (linuxbrew-core)
...
- There are a lot more manual steps in Homebrew on Linux (Linuxbrew)
land than there are in Homebrew (core), it feels like.
- This is a first attempt at a maintainer's guide. I have basically
tried to brain-dump everything that Michka and Shaun have taught me
over the months into something consumable for future Homebrew on Linux
maintainers!
- Some of it is overly verbose - the merging docs are taken from
[Linuxbrew/homebrew-developer's docs](https://github.com/Linuxbrew/homebrew-developer/blob/master/docs/merge-homebrew-core.md )
which were recently updated to reflect reality but probably don't need
to have so many words: just some instructions. :-)
2019-09-14 12:58:31 +01:00
Markus Reiter
2c0d25da6f
Merge pull request #6455 from reitermarkus/check-runs
...
Add `GitHub::check_runs`.
2019-09-13 22:51:36 +02:00
Markus Reiter
31f15acc01
Add GitHub::check_runs
.
2019-09-13 22:30:25 +02:00
Markus Reiter
cba1c8ee97
Fix brew ruby -r
.
2019-09-13 21:16:48 +02:00
Markus Reiter
f815d808f8
Merge pull request #6454 from reitermarkus/missing-require
...
Add missing `require`.
2019-09-13 20:12:48 +02:00
Markus Reiter
7084093d45
Add missing require
.
2019-09-13 19:52:43 +02:00
Mike McQuaid
47769f98f1
os/linux: add, use OS::Linux.os_version
...
Similar to MacOS.version. A bit cleaner for us here but also plan on
using this in Homebrew/homebrew-bundle.
2019-09-13 16:48:13 +01:00
Markus Reiter
c23607571b
Merge pull request #6449 from reitermarkus/automation-access
...
Skip AppleScript actions if Automation Access isn't granted.
2019-09-13 17:03:07 +02:00
Markus Reiter
f010aa48ff
Skip AppleScript actions if Automation Access isn't granted.
2019-09-13 16:35:44 +02:00
Mike McQuaid
9ba8c32c0c
Merge pull request #6436 from kluen/master
...
Improve readability of `brew upgrade`
2019-09-13 15:03:02 +01:00
Kristof Lünenschloß
3e46488ca4
Display packages to upgrade one package per line
2019-09-13 13:43:34 +02:00
Mike McQuaid
9d15c2b83c
Merge pull request #6451 from Homebrew/revert-6411-argv-cleanup-1
...
Revert "argv: move options_only to cli/args"
2019-09-13 10:28:29 +01:00
Mike McQuaid
963cc556d4
Revert "argv: move options_only to cli/args"
2019-09-13 09:34:43 +01:00
Mike McQuaid
b6dc6a0e52
Merge pull request #6450 from Homebrew/revert-6432-argv-cleanup-2
...
Revert "argv: move flags_only to cli/args"
2019-09-13 09:33:46 +01:00
Mike McQuaid
7df0292f9b
Revert "argv: move flags_only to cli/args"
2019-09-13 09:12:26 +01:00
Igor Kapkov
1cd5fdf3e1
Address comments
2019-09-12 19:50:01 +10:00
Igor Kapkov
2ec526609c
Add link, rename file and remove semicolons
2019-09-12 07:36:17 +10:00
Markus Reiter
373a454acc
Merge pull request #6444 from Homebrew/dependabot/bundler/Library/Homebrew/parser-2.6.4.1
...
build: bump parser from 2.6.4.0 to 2.6.4.1 in /Library/Homebrew
2019-09-11 22:16:02 +02:00