17944 Commits

Author SHA1 Message Date
lionellloh
e53e7a1fbd function name change 2020-07-07 21:34:49 +08:00
lionellloh
43bec1f58d style fix 2020-07-07 21:34:49 +08:00
lionellloh
fdc9dc4333 require cmd/install to include methods methods in scope 2020-07-07 21:34:48 +08:00
lionellloh
a161829927 forbidden-license: include method in module scope for module-wide access 2020-07-07 21:34:48 +08:00
lionellloh
aaa51fb71e license-forbidden: indent style 2020-07-07 21:34:48 +08:00
lionellloh
80887e649b licence-forbidden: consider directly contain forbidden licenses 2020-07-07 21:34:48 +08:00
lionellloh
e9ff0fac43 license-forbidden: style fixes 2020-07-07 21:34:48 +08:00
lionellloh
ed42ed5265 do away with DFS since compute_dep already does it 2020-07-07 21:34:48 +08:00
lionellloh
589524254b WIP: can detect violation 2020-07-07 21:34:48 +08:00
Lionell
4013da3128 license-bl: new blacklist env var 2020-07-07 21:34:48 +08:00
Mike McQuaid
fa760a2f26
Fix brew style. 2020-07-07 13:12:37 +01:00
Mike McQuaid
d2e22986cd
brew vendor-gems: commit updates. 2020-07-07 13:08:09 +01:00
dependabot-preview[bot]
7c2a293249
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 13:06:43 +01:00
Mike McQuaid
720a00e68e
formula_desc: handle nil first character. 2020-07-07 12:23:29 +01:00
Mike McQuaid
f951ea83d4
Fix brew style. 2020-07-07 12:23:29 +01:00
Mike McQuaid
82a725ad0a
brew vendor-gems: commit updates. 2020-07-07 12:23:29 +01:00
dependabot-preview[bot]
b5c05065b8
build(deps): bump rubocop from 0.86.0 to 0.87.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.86.0 to 0.87.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.86.0...v0.87.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 12:23:29 +01:00
Mike McQuaid
b9e2b82f68
Merge pull request #7930 from MikeMcQuaid/shellcheck
style: re-enable shellcheck.
2020-07-07 12:23:10 +01:00
Mike McQuaid
0fa5cc6eec
Merge pull request #7929 from MikeMcQuaid/diagnostic-allow-gems
diagnostic: allow some uncommitted gems.
2020-07-07 11:54:23 +01:00
Mike McQuaid
15a2abd9df
style: re-enable shellcheck.
Ensure that `shellcheck` is run by `brew style` again and fix the
various failures.
2020-07-07 11:53:55 +01:00
Claudia Pellegrino
99aee97856
Merge pull request #7924 from claui/hardware_cpu_armv83a
Add CPU family ARMv8.3-A
2020-07-07 11:42:09 +02:00
Mike McQuaid
300d7e4799
diagnostic: allow some uncommitted gems.
Until these feature flags are fully enabled/removed these will result
in uncommitted gems (which will block CI).
2020-07-07 09:51:22 +01:00
Michka Popoff
f455fe28a7
Merge pull request #7838 from iMichka/cpio
uses_from_macos: allow cpio
2020-07-07 07:30:46 +02:00
Michka Popoff
5b82005829 uses_from_macos: allow cpio
as it is provided by macOS
2020-07-06 23:31:39 +02:00
Dawid Dziurla
9cce4c5be3
Merge pull request #7920 from dawidd6/pr-upload-keep-old
dev-cmd/pr-upload: add --keep-old flag
2020-07-06 21:16:35 +02:00
Claudia
559d0a91a2
Add CPU family ARMv8.3-A
Darwin 20 adds the CPU family `CPUFAMILY_ARM_VORTEX_TEMPEST`
(aka ARMv8.3-A), which is assigned the identifier of `0x07d34b9f`.

This is relevant for `SystemConfig` in Homebrew.

See also:
https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores
2020-07-06 20:48:46 +02:00
Mike McQuaid
7015fb1601
formula: fix link_overwrite?
Fixes #7921
2020-07-06 17:02:58 +01:00
Dawid Dziurla
8a1ff9275c
dev-cmd/pr-upload: add --keep-old flag 2020-07-06 17:41:07 +02:00
dependabot-preview[bot]
1b971cf33b
build(deps): bump nokogiri from 1.10.9 to 1.10.10 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.9 to 1.10.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.9...v1.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 14:52:20 +00:00
Mike McQuaid
f72328d9c0
Merge pull request #7915 from iMichka/link
link_overwrite: allow to overwrite files from alias
2020-07-06 09:42:52 +01:00
Mike McQuaid
17ca7527f4
formula: allow link_overwrite for old name too. 2020-07-06 09:23:04 +01:00
Mike McQuaid
6211d0da13
Merge pull request #7691 from Rylan12/popen_read-audit
style: separate shell command arguments
2020-07-06 09:15:52 +01:00
Mike McQuaid
3aa17c819d
Merge pull request #7913 from chenrui333/remove-cargo-completion-formula
Remove cargo-completion formula
2020-07-06 09:14:08 +01:00
Mike McQuaid
1558179a50
Merge pull request #7853 from MLH-Fellowship/integrate-uninstall-reinstall
Allow references to casks when running uninstall and reinstall
2020-07-06 09:10:19 +01:00
Michka Popoff
5eae33b59d link_overwrite: allow to overwrite files from alias
See https://github.com/Homebrew/homebrew-core/pull/54912#issuecomment-653893645
Formulary.factory("python") points to python@3.8, which breaks link_overwrite
for that case.

This changes checks if the formula is an alias, so that we can still override
the files during installation.
2020-07-05 22:24:03 +02:00
Rylan Polster
ae0d37e911 Transfer to FormulaAuditStrict 2020-07-05 13:57:49 -04:00
Rui Chen
5cbdae75e7 Remove cargo-completion formula
relates to Homebrew/homebrew-core#57029, Homebrew/homebrew-core#57494
2020-07-05 12:47:15 -04:00
Rylan Polster
0786003fe9 Add tests for autocorrect 2020-07-05 12:12:36 -04:00
Bo Anderson
081025c96a
Merge pull request #7903 from Bo98/upgrade-error
upgrade: fix error checking dependents
2020-07-05 16:22:51 +01:00
Jonathan Chang
c6e9cff125 dev-cmd: add brew-sponsors.rb 2020-07-05 15:45:36 +10:00
Jonathan Chang
b909fdd30f github: refactor GraphQL APIs 2020-07-05 15:31:29 +10:00
Bo Anderson
6a49d29b08 upgrade: fix error checking dependents 2020-07-04 18:05:31 +01:00
Rylan Polster
4290789dc0
Merge pull request #7898 from Rylan12/keg-only-audit
style: improve keg_only style checks
2020-07-04 10:12:05 -04:00
Mike McQuaid
988692cd39
Merge pull request #7901 from dawidd6/noassertion-license
dev-cmd/audit: don't error out if no license is detected by GitHub
2020-07-04 14:43:10 +01:00
Dawid Dziurla
8f59a5749e
dev-cmd/audit: don't error out if no license is detected by GitHub 2020-07-04 13:18:57 +02:00
William Ma
df8d22a29b Remove debugging markers (oops) 2020-07-03 18:27:19 -04:00
William Ma
6e8f5d0958 Modify MultipleVersionsInstalledError to have a generic message 2020-07-03 18:25:49 -04:00
Rylan Polster
a7a9793f99 needs_python? separate formula name from tap name 2020-07-03 16:37:32 -04:00
Rylan Polster
e252de5295 style: improve keg_only style checks 2020-07-03 14:35:32 -04:00
Bo Anderson
505c1e7240
Merge pull request #7895 from MikeMcQuaid/move-codecov
Move .codecov.yml
2020-07-03 17:51:03 +01:00