Commit Graph
156 Commits
Author SHA1 Message Date
e5fe57c1fe Migrate livecheck to Homebrew/brew
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-31 17:08:28 +05:30
vidusheeamoli 2468fb127d dev-cmd: add brew typecheck cmd
This PR adds a new `brew typecheck` developer command which checks for
typechecking errors in the current code with Sorbet.
2020-08-27 02:41:36 +05:30
Mike McQuaid 2bdf0d6068 spec_helper: increase tests timeout.
When GitHub Actions is congested some tests can take longer than this
(particularly as we're running in parallel). Globally double the time
we allow for all tests.
2020-08-25 10:20:17 +01:00
Bo Anderson e3372e2a14 Lazily require some heavy files 2020-08-20 02:05:17 +01:00
Rylan Polster e215b3df75 dev-cmd/audit: update license checks to new style 2020-08-19 12:48:50 -04:00
Elizabeth Tackett 9904c862a1 do not paginate repology API more than required by limit 2020-08-19 09:10:57 -05:00
Elizabeth Tackett 9cae9f284c update argument handling and syntactical feedback changes 2020-08-16 18:45:50 -05:00
Elizabeth Tackett ed23eb1fab update repology for changes to GitHub module 2020-08-13 09:56:41 -05:00
Baffour Adu BoampongandGitHub ad2809b615 Merge branch 'master' into mlh-outdated-packages 2020-08-10 21:21:09 +00:00
Rylan Polster fb5b541dcd audit: forbid deprecated licenses with --strict 2020-08-07 13:39:27 -04:00
Elizabeth Tackett a3278ad345 add bump spec 2020-08-05 10:10:05 -05:00
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
Mike McQuaid acfdbce6d4 tap-new: update GitHub Actions.
This should be using the split options for a better user experience
and can use both Linux and macOS now.
2020-08-04 11:57:39 +01: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
Markus Reiter bf9659423a Increase timeout for some integration tests. 2020-07-28 09:50:15 +02:00
SeekerandGitHub 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
Jonathan Chang c6e9cff125 dev-cmd: add brew-sponsors.rb 2020-07-05 15:45:36 +10: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 McQuaidandGitHub 97f68e6a3a Revert "disable license check for new formulae" 2020-07-02 09:04:58 +01:00
Rui ChenandBo Anderson 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
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
Frank Lam b2eafdf11d Remove patch checks from audit 2020-06-27 02:37:57 +08:00
Lionell 5aa0eb487e rename spec file 2020-06-25 17:51:47 +08:00
lionellloh fbd5c32d22 bunch of style fixes 2020-06-25 05:46:18 +08:00
lionellloh 127d67e745 license: update tests and license checking logic 2020-06-23 02:59:55 +08:00
lionellloh e4e55c5cb3 update-license-data: wrote rspec test and added one more parseable arg 2020-06-23 02:25:46 +08:00
Lionell fa412f9bb4 audit spec: editted strings to matach audit problem strings 2020-06-19 04:24:36 +08:00
Lionell f78d4f41a0 audit spec: include cases for new formula 2020-06-18 00:45:13 +08:00
lionellloh 2b66968505 audit: cosmetic changes 2020-06-17 22:55:02 +08:00
lionellloh 0b95f030fd audit: fix code review changes 2020-06-17 22:13:04 +08:00
lionellloh 3bfca5bcee audit: change location of spdx.json file 2020-06-17 21:45:51 +08:00
lionellloh 03fc6b2c15 audit_spec: override core-tap attribute in online test 2020-06-17 05:19:38 +08:00
Lionell e8f6e651d1 dev-cmd/audit_spec: WIP: online mismatch does not return any problems in test environment 2020-06-17 04:16:01 +08:00
Lionell 44aac2474e dev-cmd/audit_spec: check if license info exists and if it is a standard spdx-id 2020-06-17 03:39:00 +08:00
Mike McQuaid 2a94d382ac audit: make audit_revision_and_version_scheme faster.
This is really, really slow at the moment for a few reasons:
- it goes through the list of revisions twice
- it checks many more revisions than it needs to

Even after these improvements it's still by far the slowest audit so
am also making it a `--git` only audit.

Additionally, to further improve default `brew audit` performance do not
run `brew style` checks when doing `brew audit` with no arguments.

`brew style` can be run quickly and efficiently on all of a tap (and is
cached) so no need to duplicate it here.
2020-06-08 15:00:09 +01:00