| Age | Commit message (Collapse) | Author |
|
|
|
Closes #36436.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes #28560.
|
|
|
|
|
|
|
|
This commit supports "-" and "_" in names of user and repository.
Closes #28203.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Array#count was apparently introduced in 1.8.7.
|
|
Relying on the output of `tapped` results in ignoring formulae which
already exist in core, with messages like "Tapped 0 formula" for
non-empty taps.
|
|
`brew untap` without arguments currently errors out (as it should), but the
error message is generic and unhelpful. (The error message is borrowed from
a method in the tap command - `tap_args`.)
Closes #18186.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
If the tap-formula wasn't symlinked for some reason, don't throw an exception—the job is already done.
|
|
We allow homebrew/dupes for instance, rather than Homebrew/dupes. Because nobody likes shifting in the terminal.
In the process of doing this I discovered some case-insensitive filesystem bugs we have avoided before because I had the foresight to mandate lowercase in formula names. GitHub considers Homebrew and homebrew to be different (even though you can't create both). So we had to allow case insensitivity in tap input. I have made it now so the resulting directory however is lowercased, neatly avoiding the issue. And so we also downcase tap arguments when applying them to tap directories or formula.
|
|
brew-update needs to be able to unsymlink removed stuff from taps too.
|
|
This shouldn't happen but is possible and we should handle it.
Also added some puts when tapping/untapping.
|
|
I got fed up writing HOMEBREW_REPOSITORY/"Library" and also correcting mistakes when I did HOMEBREW_PREFIX instead.
|
|
|
|
The symlinks taps write to Formula show up in git status, but this trick prevents this. brew-(un)tap maintain a .gitignore in Formula that contains all the symlinks brew-tap creates.
We add the .gitignore to the root .gitignore and TADA! Magic.
|
|
|