FS#52957 - Shallow clone option for makepkg vcs operations
Attached to Project:
Pacman
Opened by Sachi King (nakato) - Tuesday, 14 February 2017, 01:14 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 14 February 2017, 02:29 GMT
Opened by Sachi King (nakato) - Tuesday, 14 February 2017, 01:14 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 14 February 2017, 02:29 GMT
|
Details
Summary and Info:
It could be useful if there was a way to pass --depth=1 to git, or other config options when makepkg is run. This would be useful for me as there are times when I'm stuck on a rather slow connection, and full clones take a lot of time, or when I'm on mobile broadband and do not want to waste my quota on a full clone when I only want to build a copy of the software. In a more general context, for larger packages this could substantually decrease build times and disk requirements for large repositories such kernel builds, ovmf, and OpenStack repos. Rather unscientific nova checkouts - Speeds were about normal for github here, 280KB/s nova-shallow : 01:02 Minutes - 40MB Disk usage nova-full : 15:50 Minutes - 295MB Disk Usage However, on the same connection, the OVMF checkout is performing about 50KB/s Steps to Reproduce: Run makepkg on a package such as a kernel that is in git or a package such as ovmf-git-latest(AUR). |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Tuesday, 14 February 2017, 02:29 GMT
Reason for closing: Won't implement
Additional comments about closing: This has been rejected numerous times: https://wiki.archlinux.org/index.php/Use r:Apg#makepkg:_shallow_git_clones
Tuesday, 14 February 2017, 02:29 GMT
Reason for closing: Won't implement
Additional comments about closing: This has been rejected numerous times: https://wiki.archlinux.org/index.php/Use r:Apg#makepkg:_shallow_git_clones