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
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
lionellloh
7358dd7bba
style fixes
2020-06-30 23:25:51 +08:00
lionellloh
96d60c271a
Merge remote-tracking branch 'mlh/license' into license
2020-06-30 22:12:03 +08:00
Lionell Loh Jian An
5b3530b23d
Apply suggestions from code review
...
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-06-30 22:11:36 +08:00
lionellloh
ff95f08591
audit test: modified code for reading json file
2020-06-30 22:08:36 +08:00
Lionell
5f6917ae7c
Merge branch 'master' into license
2020-06-28 02:07:53 +08:00