Commit Graph
202 Commits
Author SHA1 Message Date
Alexander Bayandin 8717f82b9d dev-cmd/audit: add audit for checksum 2020-12-08 23:42:46 +00:00
Markus Reiter c6876ba65c Add UnversionedCaskChecker helper class. 2020-12-07 23:03:47 +01:00
Markus Reiter d6f30a4bc1 Handle formatted versions ending with build version. 2020-12-07 23:03:47 +01:00
Markus Reiter 4f3bfd1d58 Improve handling of short_version starting with version. 2020-12-07 23:03:47 +01:00
Markus Reiter 933499089c Add test for decide_between_versions. 2020-12-07 23:03:47 +01:00
Michka Popoff d768b6649a bottle: add tests for json merging
- Extract the json reading from the json merging: it makes the code hard to understand.
This helps for the separation of concerns: the jsons are read in one method;
and merged in a second one
- Added a first test to check the merge function

No change in behaviour was done, this change is just there to increase code coverage
and to prepare for #9315
2020-12-07 19:58:49 +01:00
Jonathan Chang 8b206dfa33 git_extensions: move commit_message from utils/git 2020-12-06 14:33:23 +11:00
Jonathan Chang 5bda84b594 dev-cmd/pr-pull: use git_extensions 2020-12-06 14:33:23 +11:00
Steve PetersandGitHub 7e3e86eb41 Merge pull request #9370 from scpeters/ruby-e_testball_f_path_test
Test for `brew ruby -e 'puts "testball".f.path'`
2020-12-04 13:37:04 -08:00
f4e42191d0 Add comment about :needs_linux
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-12-04 09:10:58 -08:00
Steve PetersandGitHub 7455d53f88 add :needs_linux to brew ruby test 2020-12-03 22:27:02 -08:00
Markus Reiter e6ba911365 Mark brew bump test with `:needs_network. 2020-12-03 00:01:35 +01:00
Markus Reiter 413b9d7d89 Mark some audit tests with :needs_network. 2020-12-02 10:22:28 +01:00
Steve Peters a29737ac6d Test for brew ruby -e 'puts "testball".f.path'
This test aims to prevent regressions of #9362.
2020-12-01 17:38:34 -08: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
Mike McQuaidandGitHub 465573c1fc Merge pull request #9273 from tschoonj/cairomm-1.14
formula_auditor: add cairomm@1.14 to allowlist
2020-11-26 09:09:47 +00:00
Mike McQuaid 135b5a3679 dev-cmd/unbottled: add new command.
Add a new command to list formulae that aren't bottled for a given OS.
2020-11-26 08:22:06 +00:00
Tom Schoonjans b2864fb118 Temporarily disable VERSIONED_KEG_ONLY_ALLOWLIST test 2020-11-24 17:57:44 +00:00
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
Markus Reiter 0184e271d8 Fix RuboCop offenses. 2020-11-17 11:09:55 +01: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 PolsterandGitHub 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
Mike McQuaid e508c14ae2 dispatch-build-bottle: fix brew style. 2020-10-13 11:46:57 +01:00
Markus ReiterandGitHub bf7fe45e89 Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Dawid Dziurla 3095fbc8ec dev-cmd: add dispatch-build-bottle command 2020-10-11 13:00:15 +02:00
Markus Reiter 24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Jonathan Chang 4b4510d22d dev-cmd/pr-pull: refactor and test autosquash! 2020-09-20 13:44:44 +10:00
Jonathan Chang 99a5aa07ad dev-cmd/pr-pull: refactor and test signoff! 2020-09-20 13:44:44 +10:00
Jonathan Chang d116087af6 dev-cmd/pr-pull: tests for bump subject 2020-09-20 13:22:57 +10:00
Markus Reiter 23aced68d4 Output annotations for brew audit. 2020-09-10 22:23:03 +02:00
Seeker 0a4fbf7f6a dev-cmd: add bump-cask-pr 2020-09-08 08:26:05 -07:00
Nathan Whetsell 89ef97a51b Remove trailing slash from SPDX license exception URL 2020-09-05 10:37:14 -04:00
Dustin RodriguesandGitHub 5ce013b0d0 Merge pull request #8576 from dtrodrigues/revision-audit
audit: compare current version to last committed version when seeing if revision should be reset
2020-09-03 10:32:42 -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
Mike McQuaid 2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
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