Baptiste Fontaine
c15c9dbaf3
Tap#issues_url added
...
Closes Homebrew/homebrew#47454 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-30 00:44:46 +01:00
Xu Cheng
ef7a5cfa3a
Tap#unlink_manpages: fix symlink path
2015-12-19 22:05:30 +08:00
Xu Cheng
7efae4635b
Tap#unpin: remove PinnedTaps directory if it's empty
2015-12-19 22:05:30 +08:00
Xu Cheng
0f84b976ba
move CoreFormulaRepository into separate file
...
For users whose local brew is at around 2015-06-11 to 2015-08-06,
running `brew update` will emit following error:
Error: uninitialized constant Formulary::CoreFormulaRepository
This is caused by the same bug described in Homebrew/homebrew#42553 .
This commit workarounds this issue and restores `brew update` compatibility
for users mentioned above.
Also cleanup legacy `require "cmd/tap"`.
2015-12-19 22:05:30 +08:00
Mike McQuaid
d36d88edf2
Allow taps to link manpages.
...
A blocker for https://github.com/caskroom/homebrew-cask/pull/15381
being merged.
Closes Homebrew/homebrew#46795 .
2015-12-09 09:09:26 +00:00
Xu Cheng
b100ad223d
Tap#==: allow compare with string
2015-12-09 16:56:59 +08:00
Xu Cheng
5b435db3bf
add Tap#core_formula_repository?
2015-12-09 16:56:59 +08:00
Xu Cheng
9f7a383017
add CoreFormulaRepository singleton class
2015-12-09 16:56:59 +08:00
Xu Cheng
c2a5a8388f
Tap: add formula_file_to_name and alias_file_to_name
2015-12-09 16:56:59 +08:00
Xu Cheng
ea81963b8a
add Tap#alias_dir
2015-12-09 16:56:59 +08:00
Xu Cheng
327286cdfb
add Tap#formula_dir
2015-12-09 16:56:59 +08:00
Xu Cheng
89bd945bb7
Tap: use method instead of variable
2015-12-09 16:56:59 +08:00
Xu Cheng
48950f2cc0
centralize the logic of handling homebrew-
in Tap.fetch
...
Closes Homebrew/homebrew#46537 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-03 13:46:59 +08:00
Xu Cheng
e97610b916
add Tap#install and Tap#uninstall
2015-11-09 15:34:20 +08:00
Xu Cheng
4e196a2348
tap: add more document
2015-11-09 15:34:20 +08:00
Xu Cheng
98633e03c6
add alias_table and alias_reverse_table for core and tap
2015-10-14 17:26:41 +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
Xu Cheng
f001cdf777
Tap#aliases: output fully-qualified name
2015-09-13 17:19:06 +08:00
Xu Cheng
4613c9ecf5
Tap: add alias method
2015-09-13 12:58:00 +08:00
Xu Cheng
638eda5f2d
tap-info: fix for not installed tap
...
Closes Homebrew/homebrew#42890 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-13 15:49:46 +08:00
Vlad Shablinsky
d88750652a
tap: add formula_renames
...
- Tap#formula_renames is a method used for getting information
about renames in tap formulae.
2015-08-10 13:57:58 +01:00
CNA-Bld
1a82b2133e
implement pinning of taps
2015-08-10 12:17:25 +01:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Xu Cheng
a9b9c5ade7
Tap: allow enumerate non-git taps
...
Also add a `Tap#git?` method to indicate whether the tap is a git
repository.
Closes Homebrew/homebrew#42264 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-30 21:28:52 +08:00
Xu Cheng
8f85238094
remove incorrect tag for Tap document
2015-06-14 21:40:53 +08:00
Xu Cheng
4564ea899e
document Tap class
...
Closes Homebrew/homebrew#40608 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-14 21:28:37 +08:00
Xu Cheng
4101cef3c5
Tap: make remote a separate method to reduce initial overhead
...
Also make remote method only response to installed tap.
2015-06-14 21:28:36 +08:00
Mike McQuaid
9c3a6a3f52
tap: taps don't need to be Git repositories.
...
For example e.g. Boxen uses just a managed directory and puts formulae
into it.
2015-06-11 21:54:00 +01:00
Xu Cheng
f7bcfe5115
add Tap class
2015-06-11 15:28:29 +08:00