Sharon Azriel
a1fbbc323a
[update.sh] New test with protection of Homebrew directory
2024-02-13 10:02:18 +02:00
sazriel26
807b3e3394
Update Library/Homebrew/cmd/update.sh
...
https://github.com/Homebrew/brew/pull/16289#discussion_r1448765696
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:18 +02:00
Sharon Azriel
835762b289
Ready for review?
2024-02-13 10:02:18 +02:00
sazriel26
3d0f543b63
Update Library/Homebrew/cmd/update.sh
...
Remove one empty line?
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:18 +02:00
Sharon Azriel
d9a38e76a9
Brew style --fix (applied)
2024-02-13 10:02:18 +02:00
Sharon Azriel
4a37e81179
Rewrite of branching tests in parsing URL
2024-02-13 10:02:18 +02:00
Sharon Azriel
2833a217e9
[Library/Homebrew/cmd/update.sh] Add support for token provided w/o user in URL
2024-02-13 10:02:18 +02:00
Sharon Azriel
3619636f7f
[Library/Homebrew/cmd/update.sh] Release Candidate for pull request
2024-02-13 10:02:18 +02:00
Sharon Azriel
53c261814e
Fix brew style on update.sh (2)
2024-02-13 10:02:18 +02:00
Sharon Azriel
02a8de72d6
Fix brew style on update.sh
2024-02-13 10:02:17 +02:00
Sharon Azriel
07287982f2
Fix missing ;
2024-02-13 10:02:17 +02:00
Sharon Azriel
01d1e9b228
New implementation through BASH regexes match
2024-02-13 10:02:17 +02:00
sazriel26
a1e9e93902
Update Library/Homebrew/cmd/update.sh
...
better wording
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-13 10:02:17 +02:00
Sharon Azriel
154a8c398b
Release Candidate 2
2024-02-13 10:02:17 +02:00
Sharon Azriel
e24027ea57
Release Candidate 1
2024-02-13 10:02:17 +02:00
Sharon Azriel
c83172c8f4
[update.sh] Parse local token in git remote.origin.url config
2024-02-13 10:02:17 +02:00
Markus Reiter
a3a1b4c253
Check tap migrations for renames.
2024-02-13 06:03:10 +01:00
Markus Reiter
b4d602e70b
Don't warn about renamed installed casks.
2024-02-13 04:37:10 +01:00
Markus Reiter
eaf7b38995
Allow tap migrations with renames.
2024-02-13 04:17:43 +01:00
Markus Reiter
c6788bb27e
Avoid T.unsafe
.
2024-02-13 00:42:54 +01:00
Markus Reiter
d9712f4d50
Refactor and add type signature for uses_from_macos
.
2024-02-13 00:31:10 +01:00
Patrick Linnane
bf050bcd6f
docs: modernize BrewTestBot info for maintainers
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-12 15:00:46 -08:00
Markus Reiter
4762f644cb
Remove @uses_from_macos_elements
variable.
2024-02-12 23:46:18 +01:00
Markus Reiter
a783aaf03f
Merge pull request #16629 from reitermarkus/simplify-cask-loader
...
Simplify `CaskLoader` further.
2024-02-12 22:03:27 +01:00
Markus Reiter
c39abef045
Always prefer default tap.
2024-02-12 21:45:07 +01:00
Mike McQuaid
eb7338abba
Merge pull request #16645 from jasonkarns/patch-1
...
Improve user ergonomics of `brew link --overwrite` help
4.2.8
2024-02-12 15:42:26 +00:00
Sean Molenaar
71123a07fd
Merge pull request #16603 from SMillerDev/fix/pypy_bump/fail_superfluous_excludes
...
fix: fail if superfluous packages are excluded
2024-02-12 16:37:05 +01:00
Mike McQuaid
8e3bcd3e62
Merge pull request #16620 from samford/livecheck/add-crate-strategy
...
Livecheck: Add Crate strategy
2024-02-12 15:32:08 +00:00
Sean Molenaar
f2eb1564e4
Update Library/Homebrew/utils/pypi.rb
2024-02-12 16:12:52 +01:00
Sean Molenaar
44206bb8f0
Update Library/Homebrew/utils/pypi.rb
2024-02-12 16:09:33 +01:00
Mike McQuaid
a2c2c676b7
Merge pull request #16644 from Homebrew/sponsors-maintainers-man-completions
...
Update maintainers.
2024-02-12 15:05:09 +00:00
Mike McQuaid
599db8cc95
Merge pull request #16642 from dduugg/rubocop-rspec-paths
...
Include all test paths in RSpec cops
2024-02-12 14:48:25 +00:00
BrewTestBot
be6cae2235
Update maintainers.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2024-02-12 14:47:18 +00:00
Mike McQuaid
77e27656fb
Merge pull request #16586 from dduugg/no-hidden-rbi
...
Remove use of hidden-definitions
2024-02-12 14:46:32 +00:00
Sean Molenaar
8c16ccc646
Update pypi.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-12 15:39:51 +01:00
Jason Karns
79a8279b2c
Improve user ergonomics of brew link --overwrite
help
...
When a Keg is unlinked, brew-link gives a helpful message for how to proceed: adding the `--overwrite` flag.
For safety, it also recommends running in `--dry-run` mode first to see what would be deleted.
So a user's common flow would be:
1. run `brew link foo`
2. get error message with guidance
3. run `brew link --overwrite --dry-run foo`
4. inspect
5. run `brew link --overwrite foo`
In this flow, steps 3-5 are likely very common. Common enough that a user may use their shell history to re-populate their prompt with step 3's command, delete the `--dry-run` flag, and re-run. (The end goal, of course, is to link `foo`.)
The `--dry-run` flag needs to be removed from the command, of course. If it had been at the _end_ of the command, it would make the subsequent modification easier.
Instead of "up arrow, left-arrow a bunch, then backspace over --dry-run, hopefully not backspacing over the formula name", it would be easier for the user if the dry-run flag were already at the end of the command. Then the user can "up arrow, backspace a few times and hit enter".
What's more, if the last arg were `--dry-run`, a more advanced bash user could even use `!:-` to re-run the link command with all-but-the-last-arg.
2024-02-12 09:29:21 -05:00
Markus Reiter
48c9897081
Convert FromNameLoader
to class.
2024-02-12 07:43:29 +01:00
Markus Reiter
8e04ab8b42
Fix type signature.
2024-02-12 07:14:28 +01:00
Markus Reiter
0211feebd7
Fix loading test fixtures.
2024-02-12 07:14:27 +01:00
Markus Reiter
6f28392d6e
Remove FromDefaultTapPathLoader
and FromDefaultTapLoader
.
2024-02-12 07:12:33 +01:00
Markus Reiter
d17aa66759
Avoid T.cast
.
2024-02-12 07:12:32 +01:00
Douglas Eichelberger
439c8c1819
Tighten up the types
2024-02-11 20:47:22 -08:00
Douglas Eichelberger
aab04229d1
Code review fixes
2024-02-11 20:27:39 -08:00
Douglas Eichelberger
1b84c5c8c2
Add upstream JSON generator modules
2024-02-11 20:27:39 -08:00
Douglas Eichelberger
9dcde74e81
brew tc --update-all
2024-02-11 20:27:38 -08:00
Douglas Eichelberger
772ddb0e1e
Add Etc::Group struct members to upstream
2024-02-11 20:27:38 -08:00
Douglas Eichelberger
791ca27896
Add rubocop exclusion
2024-02-11 20:27:38 -08:00
Douglas Eichelberger
adfec16871
Make gather_constants dynamic
2024-02-11 20:27:38 -08:00
Douglas Eichelberger
1dd0f6bbb2
Exclude msgpack from RBI generation
2024-02-11 20:27:38 -08:00
Douglas Eichelberger
07fad780de
Remove hidden defs references
2024-02-11 20:27:38 -08:00