Mike McQuaid
a3b4ea0443
audit: add --tap argument.
...
This allows auditing a single tap (so is useful for `test-bot`).
2020-08-06 09:43:02 +01:00
Jonathan Chang
f1e06b865a
audit: permit license groups
2020-08-05 12:52:20 +10:00
Mike McQuaid
fb0268da7e
license: handle "Public Domain".
...
Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`.
2020-08-04 10:47:41 +01:00
Markus Reiter
0fdf8f2e61
Merge pull request #8144 from reitermarkus/cli-parser
...
Refactor `CLI::Parser`.
2020-07-31 20:43:54 +02:00
Mike McQuaid
ea5d52e788
audit: linuxbrew-core fixes.
...
- special-case `adoptopenjdk@1.8`
- allow depending on versioned formulae aliases.
2020-07-31 17:03:31 +01:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Markus Reiter
28b007e24b
Pass args
in audit
instead of using global args
.
2020-07-30 03:21:12 +02:00
Seeker
4bd6c343d0
dev-cmd/audit: enforce uses_from_macos only if core tap
2020-07-28 10:28:00 -07:00
Lionell Loh Jian An
52321b4fcd
Apply suggestions from code review
...
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-28 21:01:36 +08:00
lionellloh
3982810eab
brew style --fix
2020-07-28 21:01:36 +08:00
lionellloh
797a07d555
All tests adapted to pass
2020-07-28 21:01:36 +08:00
lionellloh
557b1d09a2
correct logic for standard license checking
2020-07-28 21:01:36 +08:00
lionellloh
b91587d171
audit-license: adapt code to use Array of licenses
2020-07-28 21:01:36 +08:00
Markus Reiter
276c570c16
Pass individual args explicitly to ENV
extensions.
2020-07-28 02:52:45 +02:00
Markus Reiter
b50eea6849
Merge pull request #8068 from reitermarkus/cli-parser
...
Refactor usages of global `Homebrew.args`.
2020-07-25 21:01:39 +02:00
Adrian Ho
ad4fd55b78
audit: add gitless and telegram-cli to prerelease list
...
In support of #8075 . Both formulae been on prerelease up till now.
2020-07-25 22:13:30 +08:00
Markus Reiter
25b3632c4c
Pass args
to ENV
instead of using global args
.
2020-07-25 03:57:43 +02:00
Seeker
2e5d79a64a
Merge pull request #8033 from SeekingMeaning/allow-libressl
...
dev-cmd/audit: add libressl to uses_from_macos allow list
2020-07-22 10:43:01 -07:00
Sean Molenaar
dab18076fa
audit: error on archived repos
2020-07-22 11:57:50 +02:00
Seeker
e77c156690
dev-cmd/audit: rename USES_FROM_MACOS_ALLOWLIST
...
Rename to PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST
2020-07-21 08:21:09 -07:00
Seeker
25b7d28f91
dev-cmd/audit: add libressl to uses_from_macos allow list
2020-07-18 15:23:27 -07:00
Bo Anderson
4a20f76382
Merge pull request #7993 from dtrodrigues/get_repo_head
...
audit: also search head url to get repo data
2020-07-14 00:19:31 +01:00
Dustin Rodrigues
b037dfc147
audit: also search head url to get repo data
2020-07-13 12:01:45 -04:00
Dustin Rodrigues
84ad2e7551
don't allow prerelease for cake
2020-07-13 11:14:12 -04:00
Jonathan Chang
bc4a108045
Merge pull request #7980 from dtrodrigues/versioned-head-msg
...
update audit error message for versioned formulae with head spec
2020-07-12 12:20:14 +10:00
Dustin Rodrigues
963605e682
refactor throttled update logic to improve efficiency
2020-07-11 12:05:47 -04:00
Dustin Rodrigues
0cd40ca18a
update audit error message for versioned formulae with head spec
2020-07-11 10:13:48 -04:00
Rylan Polster
a720d45bd0
cleanup audit file
2020-07-10 11:17:37 -04:00
Rylan Polster
9e52712b08
style: don't need require "formula"
2020-07-10 11:17:37 -04:00
Rylan Polster
e0b5c2093a
style: refactor OptionDeclarations cop
2020-07-10 11:17:37 -04:00
Rylan Polster
1859162735
style: use pkgshare instead of share/foo
2020-07-10 11:17:37 -04:00
Rylan Polster
792533462a
style: don't use prefix + directory
2020-07-10 11:17:37 -04:00
Rylan Polster
b4a9565b8b
style: require java dependency for JAVA_HOME
2020-07-10 11:17:37 -04:00
Rylan Polster
9ad342eba0
style: don't concatenate in string interpolation
2020-07-10 11:17:37 -04:00
Rylan Polster
63b81d847a
style: env :userpaths is deprecated
2020-07-10 11:17:37 -04:00
Rylan Polster
1e943d7b6f
style: env :std deprecated in homebrew-core
2020-07-10 11:17:37 -04:00
Rylan Polster
bd8805b14f
style: separate make commands
2020-07-10 11:17:37 -04:00
Mike McQuaid
f951ea83d4
Fix brew style
.
2020-07-07 12:23:29 +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
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
Rui Chen
31aac4dfbb
throttle gatsby-cli to every 10 rel on multiple of 10
2020-07-03 09:57:27 -04:00
Mike McQuaid
6a7e5f2e9d
dev-cmd/audit: tweak checksum audit.
...
Compare against the latest `origin/master` checksum rather than
whatever the previous one was.
2020-07-03 09:21:53 +01:00
Mike McQuaid
97f68e6a3a
Revert "disable license check for new formulae"
2020-07-02 09:04:58 +01:00
Rui Chen
8ff1ca644d
disable license check for new formulae
...
return when license is blank
Co-authored-by: Bo Anderson <mail@boanderson.me>
2020-07-01 17:22:07 -04:00
Lionell
fb4db63e3b
Merge branch 'master' into license
2020-06-30 22:25:17 +08:00
Pranas Ziaukas
455633f7d2
Throttle balena-cli version bumps
...
Discussion in Homebrew/homebrew-core#57082
2020-06-30 12:12:34 +03:00
Rylan Polster
d921e94a2b
rubocop: separate args for shell commands
...
Use `system "foo", "bar"` instead of `system "foo bar"`. Also applies to
`Utils.popen_read` and `Utils.popen_write` commands. RuboCop can
automatically fix these problems.
2020-06-29 13:26:58 -04:00
Lionell
688a9ade0d
change .nil? to .blank?
2020-06-29 16:12:05 +08:00
Lionell
5f6917ae7c
Merge branch 'master' into license
2020-06-28 02:07:53 +08:00
lionellloh
4d4f6a8fac
audit: remove unnecessary nil assignment
2020-06-28 02:07:32 +08:00