Git folder is large
@DCMattyG is already working on this.
Since Jul 8, 2024.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
The repo is growing rapidly(!) Caused by every version of the 50mb asset zip file is beeing kept in the git history.
Could this zip file instead be generated on-demand from inside the deploy.ps1 script?
Should the repo be cleaned up with git filter-branch or something similar to remove the large .pack file and lower the repo size?
Git clone fetches over 500mb
PS C:\git> git clone https://github.com/Azure/ipam
Cloning into 'ipam'...
remote: Enumerating objects: 5577, done.
remote: Counting objects: 100% (2470/2470), done.
remote: Compressing objects: 100% (788/788), done.
remote: Total 5577 (delta 1688), reused 2318 (delta 1577), pack-reused 3107
Receiving objects: 100% (5577/5577), 503.54 MiB | 10.88 MiB/s, done.
Resolving deltas: 100% (3443/3443), done.
PS C:\git>
Largest 5 files in the repo
PS C:\git\ipam> Get-ChildItem -File -Recurse -Force | Sort-Object Length -Descending | Select-Object -First 5 -Property Directory, Name, @{l="Size in MB" ; e={"{0:N2}" -f ($_.Length / 1mb)}}
Directory Name Size in MB
--------- ---- ----------
C:\git\ipam\.git\objects\pack pack-f54811749458d296170445b28f83394b70b19e89.pack 503.54
C:\git\ipam\assets ipam.zip 52.83
C:\git\ipam\docs\images ipam-logo.png 0.49
C:\git\ipam\ui package-lock.json 0.43
C:\git\ipam\docs\api\images postman_response.png 0.25
- Dominant language
- JavaScript
- Stars
- 326
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
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 Azure/ipam
-
Tool endpoints use engine credentials for every caller instead of the per-user OBO branchPossibly taken @DCMattyG claimed this 14 days ago. Openbug
-
nextAvailableVNet fails when using multiple blocks and smallest_cidr option true if no IP range is available in first blockPossibly taken @DCMattyG claimed this 63 days ago. Openbug
-
Overlap in CIDRPossibly taken @DCMattyG claimed this 221 days ago. Openbug
-
Standalone NICs not listed in Endpoint nodePossibly taken @DCMattyG claimed this 308 days ago. Openbug
-
Planner will not loadPossibly taken @DCMattyG claimed this 370 days ago. Openbug
Similar issues
-
dev experience
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cuttle-cards/cuttle#1413 ·
Maintainers usually reply within 1 day
-
macOS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
beyondcode/herd-community#1761 ·
-
More wallpapersOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
content good first issue hacktoberfest
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
vieanderes/understory#19 ·
-
automated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lirantal/discoprint#37 ·
Maintainers usually reply within 1 day