Commit Graph
233 Commits
Author SHA1 Message Date
EricFromCanada bb26935344 create: improve cask token & version generation 2021-04-13 15:45:30 -04:00
Mike McQuaidandGitHub 1d34f7f2fa Merge pull request #11077 from MikeMcQuaid/any_bottles
Support `all: SHA256` bottles.
2021-04-09 10:18:19 +01:00
Mike McQuaid 0cb1645d25 bottles: support :all tag.
This allows the creation of bottles which will be used by any macOS
version, architecture or OS (i.e. macOS or Linux).

Add `TODO` stubs for where the bottle generation logic should be
implemented.
2021-04-09 09:50:16 +01:00
Mike McQuaid d73351251c Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Bo AndersonandGitHub 093e6e4f79 Merge pull request #11065 from Bo98/cellar-non-host
software_spec: fix handling of default non-host Cellar
2021-04-08 21:44:11 +01:00
Mike McQuaid 1980a6a5a5 dev-cmd/bottle: avoid outputting new default bottle domain. 2021-04-08 17:58:24 +01:00
Bo Anderson 2ed3339478 software_spec: fix handling of default non-host Cellar 2021-04-08 02:21:31 +01:00
Bo Anderson 1bb651469f dev-cmd/bottle: don't fail on --keep-old with unchanged values 2021-04-07 20:26:36 +01:00
Nanda H Krishna f648b071ad dev-cmd/tap-new: use Utils::Git.setup_gpg! 2021-04-02 17:21:26 +05:30
Bo Anderson 6cd1e5e384 Avoid passing around a massive $LOAD_PATH.
Portable Ruby crashes if the $LOAD_PATH gets too big.
2021-02-26 18:23:48 +00: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
nandahkrishna 0474fe6093 dev-cmd/update-maintainers: add tests 2021-02-08 23:33:25 +05:30
Rylan Polster 3dccea251f bottle: write bottles in correct order 2021-02-04 16:04:13 -05:00
Rylan Polster 727ac9b47f bottle: write bottles with new syntax 2021-02-03 20:46:20 -05:00
Rylan Polster 4a82d807e1 style: remove RSpec/MultipleDescribes violations in commands 2021-02-01 20:30:51 -05:00
Mike McQuaidandGitHub b8d55e5a77 Merge pull request #10397 from MikeMcQuaid/deprecations-disables
Homebrew 3.0.0 deprecations/disables
2021-02-01 08:37:22 +00:00
Mike McQuaid e65e310fd0 Fix brew style 2021-01-29 20:56:59 +00:00
Mike McQuaid d6957a3acb Homebrew 3.0.0 deprecations/disables 2021-01-29 19:50:24 +00:00
Mike McQuaid 4afebd2872 Fixup brew bottle (and tests) for #10447. 2021-01-28 13:19:41 +00:00
Michka PopoffandMike McQuaid 838cf2fc58 bottle_spec: run generate_sha256_line test on mac too 2021-01-28 13:19:40 +00:00
Mike McQuaid 902993afe4 dev-cmd/bottle_spec: add another integration test on macOS. 2021-01-28 13:19:40 +00:00
Michka PopoffandMike McQuaid de2e309d50 cellars: write tag specific cellars
With #10186 now merged, the tag specific cellar information is being read by brew.
This PR (once merged) will start adding the cellar information for each tag instead
of having a single cellar line on the top of the bottle block.

Each new CI build in homebrew-core will slowly start migrating the cellar lines to
the right place. If keep-old is used, the old "all tag" cellar line is removed and
added to each tag.
2021-01-28 13:19:40 +00:00
EricFromCanada 2ed324ebc0 use backticks around suggested input, flags, and binaries 2021-01-26 16:19:47 -05:00
nandahkrishna 9c914106ed dev-cmd/bump: increase test coverage 2021-01-25 17:12:43 +05:30
Rylan Polster e13dc902df Add tests and fix type signature 2021-01-23 02:06:12 -05:00
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 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