Optimize Repository Size for XCode SwiftPackage Clone Speed
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- git, swift
调研方向
首先复现 issue 中描述的 git clone,并检查 repository 的历史大小,相对于其约 34.9 MB 的最新代码进行比较。调查 repository 的历史记录以及 CodeEditApp 的 setup init 路径;当 repository clone 在不丢失当前代码的情况下下载量显著少于 1.38 GB 时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Cloning the CodeEditLanguages repository is currently very slow due to its large size, primarily caused by historical commits. For example, cloning the repository with the following command results in downloading 1.38 GB of data:
git clone https://github.com/CodeEditApp/CodeEditLanguages.git
Cloning into 'CodeEditLanguages'...
remote: Enumerating objects: 1377, done.
remote: Total 1377 (delta 0), reused 0 (delta 0), pack-reused 1377 (from 1)
Receiving objects: 100% (1377/1377), 1.38 GiB | 15.44 MiB/s, done.
Resolving deltas: 100% (682/682), done.
However, the latest code size in the repository is only approximately 34.9 MB, meaning most of the download size is due to the history of the repository. This significantly slows down the cloning process, especially CodeEditApp setup init.
XCode is unable to configure the HTTP proxy, resulting in very slow speeds.
- 主要语言
- Swift
- 星标
- 133
- 派生
- 56
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeEditApp/CodeEditLanguages 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
-
Syntax highlighting silently fails (and `Bundle.module` crashes) in SwiftPM CLI-built app bundles 未关闭
难度 3/5 1-2 天 新手友好度 65/100
-
难度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEditLanguages#94 · 1 条评论 · 1 个 reaction ·
-
难度 3/5 半天 新手友好度 45/100
CodeEditApp/CodeEditLanguages#93 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
查看 CodeEditApp/CodeEditLanguages 的全部 Issue
相似的 Issue
-
area:dictation documentation P2
难度 2/5 1-3 小时 新手友好度 78/100
uttrflow/uttrflow-swift#1180 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
type: docs
难度 1/5 1 小时以内 新手友好度 95/100
googleapis/google-cloud-swift#971 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
mozilla-mobile/firefox-ios#35743 ·