因为它也是一个repo嘛,现在最大的困难是连github(至少是我),github里存放着所有的Formula。

所以希望这个也能做成一个git,可以同样修改git的地址,更新这个git就行了。

具体应该在 /usr/local/Library/Taps/homebrew 的子目录下。

再说说这个是怎么产生的,当你搜索一个Formula的时候,比如petsc,它就在homebrew-science的repo里面,所以它会提示你去下载一个repo,即,brew
tap homebrew/science,此时就要去pull那个repo。放在
/usr/local/Library/Taps/homebrew/homebrew-science

总之,最好作成和之前的homebrew <http://mirrors.tuna.tsinghua.edu.cn/homebrew.git/>
一样的东西,就方便使用了。

谢谢


On Thu, Dec 25, 2014 at 8:25 PM, Justin Wong <[email protected]> wrote:

> 增加 homebrew-python 和 homebrew-science,没 mac,目测
>
> brew install http://mirrors.tuna.tsinghua.edu.cn/homebrew-science/<formula>.rb
>
> 这样就可以,求反馈
>
> On Wed, Dec 24, 2014 at 12:58 PM, Justin Wong <[email protected]>
> wrote:
>
>> 可以有 ~
>>
>> On Wed, Dec 24, 2014 at 8:59 AM, yi lu <[email protected]>
>> wrote:
>>
>>> 有没有homebrew的其他taps,比如homebrew-science
>>>
>>> On Thu, Nov 20, 2014 at 3:25 PM, Justin Wong <[email protected]>
>>> wrote:
>>>
>>>> 多谢,速度问题难道是换 upstream 之后会两边 compare ?
>>>>
>>>> On Thu, Nov 20, 2014 at 3:23 PM, GSC <[email protected]> wrote:
>>>>
>>>>> 这样好了。奇怪的是直接在/usr/local/改配置后update速度还是很慢,而重新clone了之后就很快了。加wiki里了。
>>>>>
>>>>> On Thu, Nov 20, 2014 at 2:44 PM, Justin Wong <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> git://mirrors.tuna.tsinghua.edu.cn/homebrew.git
>>>>>>
>>>>>> On Thu, Nov 20, 2014 at 2:43 PM, GSC <[email protected]> wrote:
>>>>>>
>>>>>>> cd /usr/local/
>>>>>>>
>>>>>>> git remote set-url origin
>>>>>>> http://mirrors.tuna.tsinghua.edu.cn/homebrew.git/
>>>>>>>
>>>>>>> brew update
>>>>>>>
>>>>>>> 显示:
>>>>>>>
>>>>>>> fatal: repository 'http://mirrors.tuna.tsinghua.edu.cn/homebrew.git/'
>>>>>>> not found
>>>>>>>
>>>>>>> Error: Failure while executing: git pull -q origin
>>>>>>> refs/heads/master:refs/remotes/origin/master
>>>>>>>
>>>>>>> clone不了:
>>>>>>>
>>>>>>> git clone http://mirrors.tuna.tsinghua.edu.cn/homebrew.git/
>>>>>>>
>>>>>>> Cloning into 'homebrew'...
>>>>>>>
>>>>>>> fatal: repository 'http://mirrors.tuna.tsinghua.edu.cn/homebrew.git/'
>>>>>>> not found
>>>>>>>
>>>>>>> On Thu, Nov 20, 2014 at 1:19 PM, Justin Wong <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 搞定,你试试?
>>>>>>>>
>>>>>>>> 求写 wiki
>>>>>>>>
>>>>>>>> sent from my android
>>>>>>>> On Nov 20, 2014 12:21 PM, "GSC" <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> 目前我这里brew
>>>>>>>>> update要1分钟以上,用ustc的快很多。看到源里有了linux.git,加个homebrew.git镜像应该很简单吧?没人做的话,我愿意学习一下。
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> ---
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "TUNA 主邮件列表" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to [email protected].
>>>>>>>>> To post to this group, send email to [email protected]
>>>>>>>>> .
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>  --
>>>>>>>>
>>>>>>>> ---
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "TUNA 主邮件列表" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>>
>>>>>>> ---
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "TUNA 主邮件列表" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Open Source, Open Mind
>>>>>>
>>>>>> --
>>>>>>
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "TUNA 主邮件列表" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  --
>>>>>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "TUNA 主邮件列表" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Open Source, Open Mind
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "TUNA 主邮件列表" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "TUNA 主邮件列表" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Open Source, Open Mind
>>
>
>
>
> --
> Open Source, Open Mind
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复