408 Commits

Author SHA1 Message Date
Seeker
4cbd4f296b bottle: add tests for merge_bottle_spec 2020-12-31 11:29:10 -08:00
Seeker
2fc17772f7 bottle_spec: more cleanup 2020-12-25 13:10:10 -08:00
Seeker
13e0188187 bottle_spec: reduce code duplication in tests 2020-12-24 12:50:15 -08:00
Michka Popoff
75491b7906 bottle --merge: add more write tests
In preparation for #9315
2020-12-23 10:34:16 +01:00
Michka Popoff
4afcae58c3 bottle: add test for writing part
In preparation for https://github.com/Homebrew/brew/issues/9315
2020-12-22 13:31:20 +01:00
Sam Ford
c7080ba812
Expand dev-cmd/livecheck tests 2020-12-19 23:02:42 -05:00
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 Peters
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
Steve Peters
f4e42191d0
Add comment about :needs_linux
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-12-04 09:10:58 -08:00
Steve Peters
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 McQuaid
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
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
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 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
Mike McQuaid
e508c14ae2
dispatch-build-bottle: fix brew style. 2020-10-13 11:46:57 +01:00
Markus Reiter
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 Rodrigues
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