Bo Anderson
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
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 McQuaid
e65e310fd0
Fix brew style
2021-01-29 20:56:59 +00:00
Mike McQuaid
4afebd2872
Fixup brew bottle
(and tests) for #10447 .
2021-01-28 13:19:41 +00:00
Michka Popoff
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 Popoff
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
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
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
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
aa44509be9
Test dev-cmd *_args
methods
...
Also, add a few missing invocations.
2019-03-27 13:35:42 +00:00
Mike McQuaid
59d680a626
dev-cmd: only one integration test per command.
...
Integration tests are useful in detecting breakages but much slower so
let's only use one per command and install formula outside the
integration test framework (which is also slow).
2019-03-27 09:45:48 +00:00
Steven Peters
7116b74705
dev-cmd/bottle: require arg for --root-url
2018-10-29 14:54:37 -07:00
EricFromCanada
ddf057f3dd
dev-cmd/: edit help text and descriptions.
2018-10-19 13:12:11 -04:00
Markus Reiter
d33241bc11
Use --
for bottles.
2018-08-06 17:59:51 +02:00
Shaun Jackman
1b688a3a25
Relocate bottles on Linux using patchelf
...
Ensure patchelf is installed to pour bottles and build bottles.
2018-07-12 10:21:26 -07:00
Markus Reiter
2ad3a87045
Silence all specs by default.
2017-07-29 20:25:37 +02:00
Markus Reiter
4e1516ce2c
Convert brew bottle
test to spec.
2017-02-23 21:40:49 +01:00