Mohammad Zain Abbas
d0355d7640
Fixed brew style issues with livecheck tests
2022-08-07 21:49:16 +02:00
Mohammad Zain Abbas
a5ce512815
Merge branch 'mohammad' of https://github.com/mohammadzainabbas/brew into mohammad
2022-08-07 21:31:10 +02:00
Mohammad Zain Abbas
e15f0b22b9
Added resources' tests for use_homebrew_curl? method (brew tests --only=livecheck/livecheck)
2022-08-07 21:30:56 +02:00
Mohammad Zain Abbas
99a32700d2
Added resources' tests for use_homebrew_curl? method
2022-08-07 21:30:23 +02:00
Mohammad Zain Abbas
7ae71097ee
Added tests for resources for livecheck_url_to_string
2022-08-07 21:10:10 +02:00
Mohammad Zain Abbas
eba3d5cf1c
Added tests for resource when given a valid livecheck_url symbol
2022-08-07 20:58:10 +02:00
Mohammad Zain Abbas
5d90e0136a
Added livecheck_url_to_string test for resources
2022-08-07 20:52:46 +02:00
Mohammad Zain Abbas
3476493583
Updated livecheck_spec.rb for resources
2022-08-07 20:47:17 +02:00
Mohammad Zain Abbas
6b0574acb1
Updated test for resource in livecheck_version (i.e: ibrew tests --only=livecheck/livecheck_version)
2022-08-07 20:23:07 +02:00
Mohammad Zain Abbas
9598cc128c
Disable block length metric for resource_version
2022-08-07 20:02:05 +02:00
Mohammad Zain Abbas
0c9ff722ae
Fixed typecheck errors
2022-08-07 19:36:06 +02:00
Mohammad Zain Abbas
53b0d60f75
After running brew style --fix
2022-08-07 19:14:13 +02:00
Mohammad Zain Abbas
3d83e18142
Updated --json debug info for livecheckable resources
2022-08-07 19:03:12 +02:00
Mohammad Zain Abbas
b95a5188bf
Refactored code for brew livecheck --resources --json
2022-08-07 18:34:03 +02:00
Mohammad Zain Abbas
ab4a2d781e
Merge branch 'mohammad' of https://github.com/mohammadzainabbas/brew into mohammad
2022-08-07 18:14:27 +02:00
Mohammad Zain Abbas
6055f78218
Refactored code for resources in livecheck command
2022-08-07 18:14:24 +02:00
Mohammad Zain Abbas
656b18b13a
Minor change: updated doc for resource_version method
2022-08-07 17:24:53 +02:00
Mohammad Zain Abbas
eb9bc93fae
Removed unnecessary :meta from info hash
2022-08-07 17:19:59 +02:00
Mohammad Zain Abbas
81a7d6edd7
Fixed issue with --json flag for resources
2022-08-07 17:13:17 +02:00
Mohammad Zain Abbas
7855e18042
Updated brew livecheck zsh completions for --resources flag
2022-08-07 17:06:40 +02:00
Mohammad Zain Abbas
c825ab7dfe
Updated brew livecheck fish completions for --resources flag
2022-08-07 17:06:17 +02:00
Mohammad Zain Abbas
71648a5714
Updated brew livecheck bash completions for --resources flag
2022-08-07 17:06:03 +02:00
Mohammad Zain Abbas
495f8f2193
Return download_name when --full-name is passed for resources
2022-08-07 16:59:53 +02:00
Mohammad Zain Abbas
64de86bab5
Merge branch 'Homebrew:master' into mohammad
2022-08-07 16:12:08 +02:00
Sean Molenaar
040d93a006
formula: add back docstring
2022-08-07 15:55:37 +02:00
Sean Molenaar
03a489bf78
brew.rb: tell users to fix head issues with inreplace
2022-08-07 13:34:56 +02:00
hyuraku
0acadc857c
repair CaskLoader.load args
2022-08-07 15:43:51 +09:00
Lukas Oberhuber
19a66e75c4
Second try at objdump call for linux
2022-08-06 10:06:32 -07:00
Carlo Cabrera
68e895ad4d
Merge pull request #13662 from carlocab/gcc-runtime-dep
...
update-report: reset `version_scheme` only for runtime dependents
2022-08-06 21:27:46 +08:00
Mohammad Zain Abbas
105135ed91
Merge branch 'Homebrew:master' into mohammad
2022-08-06 14:59:14 +02:00
Carlo Cabrera
ddc23eb268
update-report: reset version_scheme only for runtime dependents
...
`recursive_dependencies` includes build and test dependencies as well,
which means that we're doing this for too many formulae.
2022-08-06 20:56:53 +08:00
Carlo Cabrera
fa26b5a06d
linux/super: add unversioned GCC lib directory to RPATH
...
This adds GCC's runtime lib directory to the RPATH of every build on
Linux (unconditionally!).
This is useful for three things:
1. It fixes versioned GCC linkage for formulae that users build from
source instead of pouring from a bottle. We currently only handle
bottle installs. See #13633 .
2. It helps minimise the GCC dependency explosion. When a formula has a
Linux-only GCC dependency, then all its dependents that link with
some GCC runtime library (typically `libstdc++`) must, before this
change, also adopt a GCC dependency. This is a consequence of our
injecting GCC's runtime library directory into RPATH only when a
formula is built with GCC (this is done through the specs file). We
can avoid the need to do this by always injecting this path instead.
3. This enables us to automatically install Homebrew GCC whenever the
user's GCC is too old and the formula may need it. Without this
change, auto-installing GCC is not that useful because formulae that
need it may not know to look for our GCC, unless the formula already
happened to be built with our GCC. With this change, these formulae
will always be able to find our GCC when it is installed. This is
particularly useful for when we start building with a version of GCC
that is much closer to the latest than we currently do.
This approach comes with at least two drawbacks:
1. We will see spurious linkage warnings in CI about an undeclared
dependency with linkage as soon as Homebrew GCC is installed, because
formulae will link with our GCC instead of the host's. Users will
also see a similar complaint if they do `brew linkage`.
2. This leans _very_ heavily on GCC delivering backward compatibility of
their runtime libraries. If they do not, we could see different
behaviour across different CI runs for the same formula depending on
whether Homebrew GCC is installed.
It's worth noting that item 3 in the "useful" list above may rely on
features not yet implement in `brew`.
2022-08-06 13:21:18 +08:00
Lukas Oberhuber
f930dd58a0
Fix style
2022-08-05 17:02:10 -07:00
Lukas Oberhuber
d6067418c1
Fix tmpdir take 2
2022-08-05 17:00:54 -07:00
Lukas Oberhuber
683bcd92b0
Attempted linux test
2022-08-05 16:54:32 -07:00
Lukas Oberhuber
47bf7b8a8a
Fix source cache directory creation
2022-08-05 16:18:20 -07:00
Lukas Oberhuber
45d8f3789f
Test of set_debug_symbols
2022-08-05 16:13:13 -07:00
Lukas Oberhuber
936d363c44
Style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-05 16:12:39 -07:00
Lukas Oberhuber
6fbadb35e7
Style fix
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-05 16:06:22 -07:00
Rylan Polster
dd72f1ac95
Add arch cask DSL
2022-08-05 17:12:55 -04:00
Carlo Cabrera
336335abe5
Merge pull request #13656 from carlocab/patchelf-rpath
...
linux/keg_relocate: remove patchelf exemption
2022-08-06 02:42:12 +08:00
Carlo Cabrera
2d95b9acda
linux/keg_relocate: remove patchelf exemption
...
I don't think this is needed anymore. We probably needed this when we
used `patchelf` to do `RPATH` rewriting, but this is no longer the case.
2022-08-06 00:26:48 +08:00
Carlo Cabrera
ff9c250019
Merge pull request #13655 from carlocab/pr-conflict-fix
...
pr-pull: fix PRs conflicting with themselves
3.5.8
2022-08-05 22:24:25 +08:00
Rylan Polster
d4ddfb88df
Merge pull request #13616 from Rylan12/simulate-macos-on-linux
...
Move `HOMEBREW_SIMULATE_MACOS_ON_LINUX` handling to `SimulateSystem`
2022-08-05 10:23:13 -04:00
Rylan Polster
8fea5ed63f
Merge pull request #13645 from Rylan12/on-system-docs
...
Add `on_{system}` methods to formula cookbook
2022-08-05 10:05:53 -04:00
Carlo Cabrera
a82974974c
Update Library/Homebrew/dev-cmd/pr-pull.rb
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-08-05 21:51:39 +08:00
Carlo Cabrera
61544369e4
pr-pull: fix PRs conflicting with themselves
...
https://github.com/Homebrew/homebrew-core/pull/106755#issuecomment-1206460655
2022-08-05 21:41:28 +08:00
hyuraku
a43633e094
add uniq to check multiple tap
2022-08-05 20:59:19 +09:00
Mike McQuaid
1807ac77d5
Merge pull request #13650 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.33.0
...
build(deps): bump rubocop from 1.32.0 to 1.33.0 in /Library/Homebrew
2022-08-05 10:18:50 +01:00
Carlo Cabrera
35e4d68a1c
Merge pull request #13651 from iMichka/pull3
2022-08-05 08:05:40 +08:00