666 Commits

Author SHA1 Message Date
Markus Reiter
8b26e380a2 Refactor and document Svn. 2020-08-23 06:33:58 +02:00
Alexander Bayandin
4ba4da506b audit: add CERT_ERROR_ALLOWLIST 2020-08-20 16:29:42 +01:00
František Bořánek
6695cc4040 dev-cmd/audit: whitelist clang-format@8 to be non-keg-only 2020-08-20 14:47:26 +10:00
Dawid Dziurla
1f7df48812
audit: remove redundant check
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2020-08-19 23:47:20 +02:00
Dawid Dziurla
2689213f92
audit: return if no github license were found 2020-08-19 19:49:41 +02:00
Rylan Polster
e215b3df75 dev-cmd/audit: update license checks to new style 2020-08-19 12:48:50 -04:00
Dustin Rodrigues
08396a55c1 audit: always audit GitHub license 2020-08-17 22:11:01 -04:00
Mike McQuaid
e2a2d791ba
Merge pull request #8321 from dtrodrigues/prerelease-tag
audit: check GitHub tags for prerelease status
2020-08-13 08:52:55 +01:00
Dustin Rodrigues
0bf7773a0b audit: add existing prerelease formulae to allowlist 2020-08-12 21:34:07 -04:00
Dustin Rodrigues
4723e65056 audit: check formula version against prerelease allowlist version 2020-08-12 21:33:37 -04:00
Dustin Rodrigues
1c10f51f98 audit: check GitHub tags for prerelease status 2020-08-12 10:39:28 -04:00
Seeker
e27f7b0ed1 audit: use version token helper methods 2020-08-11 12:40:35 -07:00
Rylan Polster
fb5b541dcd audit: forbid deprecated licenses with --strict 2020-08-07 13:39:27 -04:00
Mike McQuaid
4c23fd0156
Merge pull request #8215 from SeekingMeaning/spdx/util
utils: add SPDX module
2020-08-07 10:38:45 +01:00
Seeker
753b8621df utils: add SPDX module 2020-08-06 10:16:23 -07:00
Markus Reiter
5db764f3cb Pass debug? and verbose? in brew style. 2020-08-06 16:12:52 +02:00
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