惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
爱范儿
爱范儿
罗磊的独立博客
V
V2EX
量子位
Last Week in AI
Last Week in AI
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美
Jina AI
Jina AI
博客园 - 叶小钗
小众软件
小众软件
博客园 - 【当耐特】
Y
Y Combinator Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
博客园 - 聂微东
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
有赞技术团队
有赞技术团队
MongoDB | Blog
MongoDB | Blog
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell

Homebrew

分享两个我和小伙伴维护的第三方 Homebrew 仓库 同志们, brew 不支持 big sur 了,怎么搞 没有设置 Homebrew 清华源, brew 却从清华源下载? 会自动更新的非 MAS 安装的 app 怎么用 brew cask 管理? mac brew services nginx 开机启动失败,有遇到的老哥吗? HOMEBREW_INSTALL_FROM_API 已经是默认设置了 M1 MBP Ventura 上 MacVim 命令行启动后开新 Tab 崩溃 请教, mac 的 homebrew 用久了,怎么重置啊~ Brew 装不上 ca-certificates brew 下载过程怎么跳过已下载的依赖包? homebrew 移除了对 mojave 的支持,结果现在安装啥都得编译安装,有的要几个小时才编译完,愁死了 [M1 芯片] 安装最新版的 Homebrew 并替换成清华大学的源后无法安装软件 Homebrew 正式支持 M1 Install homebrew in native mode on Apple MacOS ARM (M1) Homebrew 对 Apple Silicon 的支持状况 Homebew on macOS Big Sur 兼容性问题 Mac 终端运行“brew install xxx”过程中不显示下载进度条,怎么解决? homebrew 安装相关 brew 不能找到 pyenv 装的 Python 关于用 Homebrew 安装 NGINX 并改成 80 端口启动 [Homebrew]分享一下昨天刚知道的中科大源,顺便吐槽一下官方连个 mirror 列表都没得,不知海岸这边的疾苦吗?😭 homebrew cask 国内镜像用哪个好? 貌似清华的 homebrew mirror 挂了 Homebrew 下周起将开始匿名收集用户使用的统计数据 如何修改源或者如何将使用本地源码包? brew 对旧的系统不管不顾了吗? 安装wget之后,仍然command not found 在douban创建了一个homebrew的小组, 求关注 Xcode, GCC, and Homebrew 遇到源的网速慢的时候怎么办呀
Homebrew 要求 unshallow 整个 repo
lovestudykid · 2020-12-11 · via Homebrew

因为 Github/微软要求,为了避免昂贵的 shallow diff,所有用户都需要 unshallow 整个 repo 。brew update 的时候会报错直到 unshallow 。

看了下/usr/local/Homebrew/Library/Taps/占用空间已接近 1G,并且还会继续增长。为了节省计算资源,需要所有用户献出更多硬盘资源。Linux 上包管理器是怎么解决这个问题的?

附上 unshallow 的 commands

git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow

相关讨论: https://github.com/Homebrew/discussions/discussions/225