Nanda H Krishna
5ccfbcd1d2
Autocorrect style issues with brew style --fix
2021-07-08 12:36:39 +05:30
Alexander Bayandin
7c962c0aa8
audit_spec: simplify tests
2021-06-18 17:34:43 +01:00
Alexander Bayandin
43d67816ea
audit_conflicts: enable for third-party taps
2021-06-18 17:34:42 +01:00
Alexander Bayandin
1ddb6ef584
audit: do not allow aliases and renames in formula conflicts
2021-06-18 17:34:42 +01:00
Alexander Bayandin
84e3e0a6b8
audit_spec: add tests for audit_conflicts
2021-06-18 17:34:42 +01:00
Steve Peters
ca6fc4873e
audit_spec: expect error for uppercase formula
...
Our docs state that formula filenames must not have uppercase letters.
This adds a test to expect that FormulaAuditor's audit_formula_name
method complains about such a formula.
2021-05-27 17:45:24 -07:00
Bo Anderson
f174d4363f
extend/pathname: limit write
override to a refinement
2021-05-04 14:20:20 +01:00
Sean Molenaar
2ec4125178
Audit: make sure service commands exist
2021-04-27 09:36:36 +02:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording
offenses
...
- For some of these I changed `context` to `describe` as it fit better
rather than contriving a "when", "with" or "without", or massively
restructuring the tests.
2021-02-19 23:30:41 +00:00
Rylan Polster
4a82d807e1
style: remove RSpec/MultipleDescribes violations in commands
2021-02-01 20:30:51 -05:00
Alexander Bayandin
8717f82b9d
dev-cmd/audit: add audit for checksum
2020-12-08 23:42:46 +00:00
Markus Reiter
413b9d7d89
Mark some audit
tests with :needs_network
.
2020-12-02 10:22:28 +01:00
Rylan Polster
fe8ce9b725
Migrate GNOME_DEVEL_ALLOWLIST
2020-11-26 15:34:32 -05:00
Rylan Polster
71beff367a
Migrate UNSTABLE_ALLOWLIST
2020-11-26 15:18:06 -05:00
Rylan Polster
e03d1606d6
Migrate VERSIONED_KEG_ONLY_ALLOWLIST
2020-11-26 14:43:06 -05:00
Rylan Polster
726b4e1419
Migrate PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST
2020-11-26 14:32:42 -05:00
Tom Schoonjans
b2864fb118
Temporarily disable VERSIONED_KEG_ONLY_ALLOWLIST test
2020-11-24 17:57:44 +00:00
Rylan Polster
67e4e78f22
fix typo in audit tests
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-11-19 13:38:52 -05:00
Rylan Polster
b0d10fdf28
add audit tests for migrated audit exception lists
2020-11-19 13:38:52 -05:00
Rylan Polster
899783b35a
migrate license mismatch allowlist to Homebrew/core
2020-11-19 13:38:52 -05:00
Markus Reiter
dc11f02e16
Move auditor classes into separate files.
2020-11-18 11:22:27 +01:00
Dustin Rodrigues
d26567a65d
audit: allow checksum to be added/removed when changing download scheme
2020-11-17 08:02:55 -05:00
Dustin Rodrigues
ba0699a8d7
audit: only flag if checksum changes when version and full url stay the same
2020-11-11 23:12:58 -05:00
Rylan Polster
e05b0fc7f5
Merge pull request #9092 from Rylan12/fix-checksum-audit
...
audit: fix checksum audit
2020-11-10 15:28:26 -05:00
Dustin Rodrigues
a8a83d1f24
dev-cmd/audit: only go back in git history until revision or version changes
2020-11-09 22:04:25 -05:00
Rylan Polster
67127cb2ff
audit: add checksum change test
2020-11-09 10:49:31 -05:00
Rylan Polster
6171b51a82
audit: migrate VERSIONED_HEAD_SPEC_ALLOWLIST to Homebrew/core
2020-11-05 01:43:01 -05:00
Rylan Polster
869941bccd
audit: migrate throttle list to Homebrew/core
2020-11-03 13:06:33 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
23aced68d4
Output annotations for brew audit
.
2020-09-10 22:23:03 +02:00
Nathan Whetsell
89ef97a51b
Remove trailing slash from SPDX license exception URL
2020-09-05 10:37:14 -04:00
Dustin Rodrigues
76ec69e3c3
audit: compare current version to last committed version when seeing if revision should be removed
2020-09-03 10:02:28 -04:00
Rylan Polster
e215b3df75
dev-cmd/audit: update license checks to new style
2020-08-19 12:48:50 -04:00
Rylan Polster
fb5b541dcd
audit: forbid deprecated licenses with --strict
2020-08-07 13:39:27 -04:00
Jonathan Chang
fa80b484f1
license: style fixes
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-05 20:26:13 +10:00
Jonathan Chang
f1e06b865a
audit: permit license groups
2020-08-05 12:52:20 +10:00
Seeker
4bd6c343d0
dev-cmd/audit: enforce uses_from_macos only if core tap
2020-07-28 10:28:00 -07:00
lionellloh
4f45ddd55b
brew style --fix
2020-07-28 21:04:45 +08:00
lionellloh
26c786fc0a
double quotes to single quotes
2020-07-28 21:01:36 +08:00
Lionell
0d6ea9e26c
Updated tests to pass
2020-07-28 21:01:36 +08:00
Lionell
721c9b06cd
audit-license: Small change to use license_array
2020-07-28 21:01:36 +08:00
lionellloh
4a14ae6589
Audit-license: more tests to ensure behaviour
2020-07-28 21:01:36 +08:00
lionellloh
797a07d555
All tests adapted to pass
2020-07-28 21:01:36 +08: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
Dustin Rodrigues
963605e682
refactor throttled update logic to improve efficiency
2020-07-11 12:05:47 -04:00
Rylan Polster
1859162735
style: use pkgshare instead of share/foo
2020-07-10 11:17:37 -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