Max Eisner
55a26ce4cc
make executable
and subcmd
mandatory args
2022-08-10 15:50:17 +02:00
Max Eisner
e448601964
rename cmd
to subcmd
2022-08-10 15:50:15 +02:00
Sean Molenaar
8e49be58b3
Merge pull request #13623 from SMillerDev/fix/exceptions/report_issues_inreplace_head
...
brew.rb: tell users to fix head issues with inreplace
2022-08-08 16:48:24 +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
Kevin
93bf9e5ba2
Merge pull request #13532 from apainintheneck/add-uninstall-autoremove
...
cmd/uninstall: Add env variable that runs autoremove after uninstalls
2022-08-03 18:10:32 -07:00
Max Eisner
b792a4f645
fix TypeError
2022-07-31 21:48:02 +02:00
Max Eisner
b2d94dc897
update arg names in docs and signature
2022-07-31 21:01:42 +02:00
Lukas Oberhuber
4b0d52ef62
debug_symbols passed down to soure dir creator
...
The flag is now passed down to resource which creates the directory for
unpacking the source.
2022-07-31 19:59:25 +01:00
Rylan Polster
4cc0e854ce
Rename treat_as_*?
to simulating_or_running_on_*?
2022-07-28 09:18:16 -04:00
Max Eisner
dff3fc9d2f
fix symbol in SHELL env
2022-07-27 16:59:30 +02:00
Lukas Oberhuber
d195f22522
Connecting up --debug-symbols
flag
...
This connects the calling of dsymutil and the retention of temporary
files. Still need to connect compilation to flag.
2022-07-26 12:15:53 +01:00
Max Eisner
1c059e1da0
extend shell_parameter argument
2022-07-24 23:03:28 +02:00
Max Eisner
92bccd2074
apply naming suggestions
2022-07-24 22:54:28 +02:00
Max Eisner
9528c6a8ac
always set SHELL env variable
2022-07-24 22:50:14 +02:00
Rylan Polster
34a1bc6618
Use SimulateSystem
for ignore_missing_libraries
2022-07-23 03:09:29 +02:00
Rylan Polster
ed97281d20
Allow ignore_missing_libraries
when simulating Linux on macOS
2022-07-22 18:44:40 +02:00
Rylan Polster
f3e34230ad
Add --variations
option to brew info
2022-07-21 16:41:15 +02:00
Rylan Polster
eab3d077bc
Improvements
2022-07-21 15:32:51 +02:00
Rylan Polster
d4c4432f2d
Formula#to_hash
: include variations
key
2022-07-21 13:04:56 +02:00
apainintheneck
cb91f8b665
Add tests for retrieving formula based on dependents
...
Also, made sure to clear formula cache before
and after autoremoving packages.
2022-07-17 00:39:23 -07:00
apainintheneck
fe83500617
Moved autoremove logic into cleanup.rb and formula.rb
...
Cleanup.rb:
- Added #autoremove method
- #autoremove is called in clean when HOMEBREW_AUTOREMOVE is set
Formula.rb:
- Added #unused_formulae_with_no_dependents and helpers
Removed old autoremove.rb module.
2022-07-14 13:16:26 -07:00
apainintheneck
fa43418bfb
Moved autoremove logic into autoremove.rb
...
This allows us to call that logic internally in other brew
commands instead of having to shell out.
2022-07-13 16:31:41 -07:00
apainintheneck
74f1eca14c
autoremove.rb: moved logic out into formula.rb, and uninstall.rb
...
This allows us to autoremove formulae in the autoremove and
uninstall commands without having to shell out to brew.
2022-07-13 16:28:49 -07:00
Max Eisner
32b68838f9
switch to more flexible shell_prefix arg
2022-07-13 14:47:45 +02:00
Max Eisner
ad5a1a8138
add docs
2022-07-11 15:49:30 +02:00
Max Eisner
e5f2ddf012
add typecheck
2022-07-11 15:21:57 +02:00
Max Eisner
665e68a82f
switch to named args
2022-07-11 15:08:44 +02:00
Max Eisner
1dcfeb5516
fix style
2022-07-10 15:45:07 +02:00
Max Eisner
3483ee72d5
add DSL to generate completions
2022-07-10 15:35:28 +02:00
Rylan Polster
99447bb1c0
OnSystem
: provide ::MacOSAndLinux
and ::MacOSOnly
2022-06-30 12:57:35 -04:00
Rylan Polster
a9e62b9e38
include OnSystem
to define DSL methods
2022-06-29 11:38:55 -04:00
Rylan Polster
b538ce7361
Add OnSystem
module to generate on_*
methods for formulae and casks
2022-06-24 14:37:50 -04:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH
2022-06-17 19:47:57 +01:00
Bo Anderson
e78665f4f7
Replace ENV["HOME"] with Dir.home
2022-06-17 19:47:57 +01:00
Rylan Polster
cff0122fc4
Remove unnecessary HOMEBREW_INSTALL_FROM_API checks
2022-06-15 16:35:50 -04:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
...
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
EricFromCanada
2fdc70c3bf
desc, search: also search cask descriptions
2022-03-30 11:23:55 -04:00
Mike McQuaid
79891a7103
Update uses of Formula.all
/Cask::Cask.all
...
Add some `--all` flags we'll eventually migrate to to ensure that we'll
eventually require their usage to read all formulae. Where we need to
do stuff later, add some comments.
2022-03-08 19:24:56 +00:00
Mike McQuaid
20f2b14c38
formula: remove OnOS deprecation comment.
...
We can't actually remove this as we still need it indefinitely in e.g. `def caveats`.
2022-02-24 12:32:36 +00:00
Mike McQuaid
7ec6d41a1d
Revert "formula: remove OnOS
."
2022-02-24 12:31:32 +00:00
Mike McQuaid
73951a01fc
formula: remove OnOS
.
2022-02-22 10:19:09 +00:00
Carlo Cabrera
9d85a06f11
formula: also capture meson-log.txt
...
This is the log file generated when using `meson`.
2022-01-18 17:42:40 +08:00
Mike McQuaid
3a709d36b2
Start process to remove Enumerable
from Formula
and Cask::Cask
.
...
This is the first step to address
https://github.com/Homebrew/brew/issues/11292 .
2022-01-03 14:59:10 +00:00
Rylan Polster
2e6b6ab3a2
Fix style
2021-12-24 21:15:21 -05:00
Carlo Cabrera
504dfa8494
Revert "remove on_os from formula"
...
This is causing `post_install` failures. Spotted in
Homebrew/homebrew-core#91763 .
This reverts commit fc7462acd5ffb7cc393d2b56b989e96112ade896.
2021-12-21 20:43:57 +08:00
hyuraku
fc7462acd5
remove on_os from formula
2021-12-20 23:06:42 +09:00
Bo Anderson
00b588068f
formula: add keg_only_reason to formula hash
2021-12-11 23:30:06 +00:00
Sean Molenaar
4cb8afeeef
service: add timer support for systemd
2021-11-30 11:05:11 +01:00
Caleb Xu
97bc320836
std_go_args: accept ldflags as string or Array(string)
2021-11-21 07:02:23 -05:00