Gautham Goli
12040c2525
tap-unpin: Use CLI::Parser to parse args
2018-11-10 23:31:23 +05:30
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Max Nordlund
fa1fd70a37
Add all the top level comments
2016-04-10 22:59:25 +02:00
Xu Cheng
fa9a9ff5be
tap-(un)pin/untap: better error message
...
Closes Homebrew/homebrew#49904 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2016-04-02 21:51:36 +08:00
Xu Cheng
1e487edd21
tap various commands: use tap name method.
...
Instead of hard coded `Homebrew/homebrew`
2016-03-07 19:43:46 +08:00
Xu Cheng
28f3dae8cd
rename CoreFormulaRepository to CoreTap
...
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
2016-03-07 19:43:46 +08:00
Xu Cheng
2c25303949
remove unnecessary tap_args
...
It's now handled by Tap.fetch
2015-12-09 16:56:59 +08:00
Xu Cheng
3b520cf195
cache taps
...
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>
2015-09-30 16:25:30 +08:00
Baptiste Fontaine
86a5d75dff
tap-unpin: simplify logic
...
Closes Homebrew/homebrew#43260 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-25 14:15:38 +02:00
CNA-Bld
1a82b2133e
implement pinning of taps
2015-08-10 12:17:25 +01:00