Optimize Repository Size for XCode SwiftPackage Clone Speed
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- git, swift
- Domain
- developer-experience
Research direction
Start by reproducing the git clone described in the issue and inspect the repository's historical size relative to its approximately 34.9 MB latest code. Investigate the repository history and the CodeEditApp setup init path; done means the repository clone downloads substantially less than 1.38 GB without losing the current code.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Swift
- Stars
- 133
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeEditApp/CodeEditLanguages
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Syntax highlighting silently fails (and `Bundle.module` crashes) in SwiftPM CLI-built app bundles Open
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEditLanguages#94 · 1 comment · 1 reaction ·
-
Difficulty 3/5 Half a day Newbie friendliness 45/100
CodeEditApp/CodeEditLanguages#93 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in CodeEditApp/CodeEditLanguages
Similar issues
-
area:dictation documentation P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
uttrflow/uttrflow-swift#1180 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OneBusAway/onebusaway-ios#1451 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100