| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Closes Homebrew/homebrew#49904.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Instead of hard coded `Homebrew/homebrew`
|
|
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
|
|
It's now handled by Tap.fetch
|
|
|
|
There are plenty of IO operations inside Tap object, and it will be more
when implementing formula alias reverse look up(e.g. list all of alias
names for a formula). So let's cache them.
Some benchmark:
$ time brew info $(brew ruby -e 'puts Formula.tap_names') > /dev/null
Before: 6.40s user 2.42s system 96% cpu 9.134 total
After: 4.75s user 0.77s system 97% cpu 5.637 total
Closes Homebrew/homebrew#44377.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
Closes Homebrew/homebrew#42281.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
`brew tap` restricts users to GitHub and checks for private repos. I
created `brew any-tap` to support a wider variety of taps.
With very small changes (and no extra flags!), this change allows users
to use `brew tap` with GitHub as they always have or add one extra
argument and tap any repository of any type from anywhere.
brew tap user/name # Same as it ever was
brew tap user/name URL # Tap URL, whatever it happens to be
Closes Homebrew/homebrew#40326.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#36436.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#28560.
|
|
|
|
|
|
|
|
This commit supports "-" and "_" in names of user and repository.
Closes Homebrew/homebrew#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 Homebrew/homebrew#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.
|
|
|