Seeker
b8aa67be5b
bottle: add bottle stanza by traversing AST
2020-12-10 13:38:57 -08:00
Seeker
c4da302303
on_macos/on_linux block: improve rubocop message
...
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-12-10 11:47:25 -08:00
FX Coudert
c7ef48ac66
Merge pull request #9499 from fxcoudert/dmg
...
fixtures: add test.dmg
2020-12-10 14:57:11 +01:00
Francois-Xavier Coudert
35b27cf997
fixtures: add test.dmg.gz
2020-12-10 14:19:56 +01:00
Mike McQuaid
96218ec284
Merge pull request #9471 from bayandin/check-checksum
...
dev-cmd/audit: add audit for checksum
2020-12-10 13:18:46 +00:00
Mike McQuaid
2c77a540b5
Merge pull request #9481 from MikeMcQuaid/bottle_prefix_repository_handling
...
Fix bottle prefix and repository handling
2020-12-09 14:45:47 +00:00
Mike McQuaid
0f9bad0052
Fix bottle prefix and repository handling
...
We were previously only looking at the `cellar` value when pouring
bottles and ignoring the `prefix` and (implicit) `repository`.
Actually look at these values and set the defaults for each platform.
Also, when we're relocating to create or pour bottles when `prefix`
and `repository` are equal then skip relocating the `repository` and
always use references to the `prefix` instead.
Fixes #9453
2020-12-09 13:53:10 +00:00
Mike McQuaid
6467fbadee
MacOS::Version: add (and use) architecture.
2020-12-09 11:55:27 +00:00
Alexander Bayandin
8717f82b9d
dev-cmd/audit: add audit for checksum
2020-12-08 23:42:46 +00:00
Markus Reiter
05b496194a
Fix version mapping.
2020-12-08 01:03:33 +01: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
Mike McQuaid
ed7df8f99d
Merge pull request #9381 from nandahkrishna/github-latest
...
livecheck: add GithubLatest strategy
2020-12-07 12:14:49 +00: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
Sam Ford
e37da96341
GithubLatest: Align test URL with example
2020-12-05 11:40:08 -05:00
nandahkrishna
d173b57c42
github_latest: modify strategy and tests
2020-12-05 20:37:28 +05:30
nandahkrishna
f96b8e7138
livecheck: add GithubLatest strategy
2020-12-05 20:37:27 +05:30
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
Rylan Polster
20ee566165
Merge pull request #9411 from Rylan12/remove-tap-list-for-macos
...
Remove style exceptions for ProvidedByMacos and UsesFromMacos
2020-12-04 16:22:26 -05: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
Claudia
564e21c382
Update CPU families from current machine.h
2020-12-04 16:21:02 +01:00
Claudia
2a197af076
Add CPU family for Apple’s M1 SoC
...
According to reports, XNU’s CPU family identifier previously used for
the Westmere family (which Homebrew mislabels as the Arrandale family)
is now being reused for one of Apple’s M1 SoC models.
Resolve the conflict by splitting the list of CPU families and adding a
microarchitecture check.
Sources for the values:
- https://github.com/Homebrew/brew/issues/7857#issuecomment-728739049
- https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores
- Direct messages
2020-12-04 16:20:53 +01:00
Steve Peters
7455d53f88
add :needs_linux to brew ruby test
2020-12-03 22:27:02 -08:00
Rylan Polster
22a3025f6e
utils/pypi: return nil for non-pypi-packages from url
2020-12-03 15:00:30 -05:00
Rylan Polster
01cf98e526
Remove style exceptions for ProvidedByMacos and UsesFromMacos
2020-12-03 14:30:34 -05:00
Mike McQuaid
dd61cea63b
Merge pull request #9394 from reitermarkus/bump-needs-network
...
Mark `brew bump` test with `:needs_network.
2020-12-03 08:50:47 +00:00
Rylan Polster
78060765b2
rubcops/provided_by_macos: fix wording for core formulae
2020-12-02 21:19:17 -05:00
Rylan Polster
f450bfbf5e
style: migrate some lists back to Homebrew/brew
2020-12-02 20:56:07 -05:00
Markus Reiter
e6ba911365
Mark brew bump
test with `:needs_network.
2020-12-03 00:01:35 +01:00
Markus Reiter
cf70a511bb
Merge pull request #9377 from reitermarkus/parser-warnings
...
Suppress `parser` warnings.
2020-12-02 11:22:06 +01:00
Markus Reiter
75f8d4b3a6
Suppress parser
warnings.
2020-12-02 10:38:12 +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
77b4275f81
Merge pull request #9326 from Rylan12/migrate-style-exceptions
...
Migrate style exceptions to homebrew/core
2020-12-01 12:19:45 -05:00
Markus Reiter
c00307024f
Merge pull request #7772 from linzichao/add-verified-url
...
add verified parameter to url
2020-12-01 09:47:05 +01:00
Rylan Polster
8d5dc76284
Satisfy brew typecheck
2020-11-30 20:32:46 -05:00
Rylan Polster
4bfb390577
utils/pypi: make package name comparison case-insensitive
2020-12-01 01:19:33 +01:00
linzichao
058a1c3645
add verified parameter in url
2020-12-01 01:17:21 +01:00
Rylan Polster
0c41d374c9
style: add tests for provided_by_macos and style_exceptions
2020-11-30 18:18:51 -05:00
Rylan Polster
f8ff0f465f
tap: add tests for formula list methods
2020-11-30 18:18:50 -05:00
Rylan Polster
ba63619f8e
tests: remove final reference to formula_exist
2020-11-30 18:18:50 -05:00
Rylan Polster
2256e547d9
Remove unneeded "formulae exist" test
2020-11-30 18:18:50 -05:00
Rylan Polster
44bfbd0112
Migrate uses_from_macos style lists
2020-11-30 18:18:50 -05:00
Rylan Polster
7a8dd36003
Migrate BINARY_BOOTSTRAP_FORMULA_URLS_ALLOWLIST
2020-11-30 18:18:50 -05:00
Rylan Polster
1dbbcfd1d6
Migrate COMPONENTS_ORDER_EXCEPTIONS
2020-11-30 18:18:50 -05:00
Rylan Polster
629ad219aa
Migrate MAKE_CHECK_ALLOWLIST
2020-11-30 18:18:50 -05:00