Large patches in git repositories

Kacper Kornet draenog at pld-linux.org
Fri Oct 5 16:05:16 CEST 2012


Recently one email to pld-cvs was blocked due to large size of generated
diff. The "offending" file was gcc-branch.diff from crossmingw64-gcc
which is 11M.

Does this file include and PLD specific changes or is it just a diff
between released version and tip of branch in some foreign (not PLD)
repository? In latter case maybe it should be kept in the distfiles in
compressed form?


Right now there are following limits file sizes in git
repositories:

1) unlimited - files *.patch, *.diff, *.spec
2) 2000000 bytes  - text files
3) 200000 bytes - all other files

so very big patches are accepted. However I wonder if it should be the
case.

Another question is if we decide to move it to distfiles should the git
repo be rewritten to not include history of this file and reduce repo
size.

There are other similar files. Below I include the list of every file
larger then 1M which its maximum size in history:

24145161 gcc.git/gcc-branch.diff
22482085 crossmingw64-gcc.git/gcc-branch.diff
18974931 crossppc-gcc.git/gcc-branch.diff
15958604 kdenetwork.git/kdenetwork-branch.diff
8506730 twig.git/twig-php4.patch
5924877 kernel-xen.git/kernel-xen-xen.patch
5924877 kernel.git/kernel-xen-xen.patch
5197379 kernel.git/wanpipe-beta7-2.3.4.patch
4905399 kernel.git/xfs.patch
4620152 kernel.git/patch-2.4.21-pre1
4221290 X11.git/X11-6.8.2-20050205.patch
3952673 kernel.git/linux-2.6-pom-ng-branch.diff
3895669 kdepim.git/kdepim-branch.diff
3737296 X11.git/X11-6.8.2-final.patch
3556968 kernel.git/kernel-grsec_full.patch
3377961 libxml.git/libxml-remake.patch
3356609 kdebase.git/kdebase-branch.diff
3152510 kernel.git/linux-reiser4.patch
2938946 libsidplay2.git/libsidplay2-debian_fixes.patch
2922601 kernel.git/reiser4-2.6.13-mm3.patch
2894615 kernel.git/xen-3.0.4-2.6.19.patch
2759551 kdegraphics.git/kpdf2-kdegraphics-3.5.5.patch
2711506 kernel.git/linux-2.2.18-freeswan-1.8.patch
2701063 kernel.git/reiser4-2.6.12-mm1.patch
2673490 php.git/php-fpm.patch
2541668 kernel.git/linux-2.6-xen.patch
2540400 kernel.git/patch-2.6.0-test4-bk6
2519795 kernel.git/reiser4-for-2.6.24.patch
2514370 kernel-rcd.git/kernel-desktop-reiser4.patch
2514370 kernel-desktop.git/kernel-desktop-reiser4.patch
2495470 X11.git/X11-6.8.2-20050108.patch
2493922 kernel.git/kernel-reiser4.patch
2459257 kernel.git/reiser4-for-2.6.19-2.patch
2457813 kernel.git/reiser4-for-2.6.19-3.patch
2452206 kernel.git/reiser4-for-2.6.22-2.patch
2429860 kernel.git/reiser4-for-2.6.19.patch
2371564 kernel-bare-grsecurity.git/linux-2.6-grsecurity.patch
2358423 kernel.git/xen-3.0-2.6.16.patch
2352883 kernel-bare-vserver.git/linux-2.6.25-sk98lin.patch
2340654 kernel-bare-vserver.git/linux-2.6.24-sk98lin.patch
2340654 kernel-bare-grsecurity.git/linux-2.6.24-sk98lin.patch
2338567 kernel-bare-vserver.git/linux-2.6.22-sk98lin.patch
2296488 kernel.git/linux-2.6.12.3-xen.patch
2185090 kdelibs.git/kdelibs-branch.diff
2148046 kernel.git/linux-2.6-sk98lin.patch
2148046 kernel-bare-grsecurity.git/linux-2.6-sk98lin.patch
2048956 gmime.git/gmime-cvs20020719.patch
2048956 gmime22.git/gmime-cvs20020719.patch
2015328 kernel.git/patch-2.6.0-test4-bk5
1999675 kernel.git/linux-2.6-sk98lin_v10.0.4.3.patch
1926871 vim.git/vim-bonobo-20050909.patch
1876608 kernel.git/linux-2.4.20-rc1-USB.patch
1876079 kernel.git/linux-2.4.20-rc3-USB.patch
1851445 kernel.git/linux-2.6-sk98lin-8.31.2.3.patch
1851445 kernel-desktop.git/linux-2.6-sk98lin-8.31.2.3.patch
1792119 kernel.git/kernel-preempt-rt.patch
1790103 kernel.git/patch-2.6.14-rt22
1766583 kernel-desktop.git/kernel-desktop-preempt-rt.patch
1766562 kernel-rcd.git/kernel-desktop-sk98lin.patch
1766562 kernel.git/linux-2.6-sk98lin_8.41.2.3.patch
1766562 kernel-desktop.git/kernel-desktop-sk98lin.patch
1739872 kdebase.git/kdebase-3.2branch.diff
1735782 kernel.git/patch-2.6.0-test4-bk4
1725239 kernel.git/linux-2.6-sk98lin-8.36.1.3.patch
1676643 glibc.git/glibc-cvs20070210.patch
1644346 yum.git/yum-HEAD.patch
1629384 kernel.git/patch-2.6.14-rt3
1625825 kernel.git/patch-2.6.14-rt2
1623710 kernel.git/patch-2.6.14-rt1
1593049 grub.git/grub-pxe.patch
1573396 kernel.git/patch-2.6.14-rc5-rt3
1554097 kernel.git/patch-2.6.14-rc4-rt1
1545730 kernel.git/patch-2.6.14-rc4-rt6
1527464 lighttpd.git/lighttpd-branch.diff
1524889 emacs.git/emacs-CAN_2005_0100.patch
1520908 gdb.git/gdb-archer.patch
1490794 kernel.git/linux-2.6-adp94xx.patch
1423798 mutt.git/mutt-nntp.patch
1421472 kernel.git/linux-2.6-sk98lin-8.32.2.3.patch
1404382 kernel.git/alsa-1.0.6.patch
1402800 nvi.git/nvi.patch
1398887 agsync.git/agsync-debian.patch
1393540 kdewebdev.git/kdewebdev-branch.diff
1386452 kernel.git/mISDN-2004-11-20.patch
1313600 kernel.git/linux-2.6-sk98lin-8.18.2.2.patch
1313431 kernel.git/kernel-2.6.11.7-sk98lin-8.16.patch
1313099 kernel.git/linux-2.6.13.1-grsec.patch
1309655 kernel.git/linux-2.6-sk98lin-8.16.2.3.patch
1301525 gcc.git/gcc-3.3.1-propolice.patch
1286532 ghostscript-esp.git/ghostscript-esp-svn.patch
1281646 kernel.git/linux-net-2.6.19.patch
1274353 nvi.git/nvi-header.patch
1257631 kernel.git/linux-2.6-sk98lin-8.23.1.3.patch
1253648 kernel.git/ocfs2-2005.06.17.patch
1250887 kernel.git/kernel-vserver-2.3.patch
1246860 busybox.git/busybox-cvs-20050604.patch
1242700 kernel.git/linux-cluster-gfs.patch
1234463 kdebindings.git/kdebindings-am_hack.patch
1222069 kernel.git/patch-2.6.0-test4-bk3
1212801 kernel.git/evms-1.1.0-linux-2.4.patch
1211269 arpscan.git/oui.txt
1206975 grub.git/grub-0.94-diskless-1.patch
1189748 kernel.git/evms-1.2.0-linux-2.4.patch
1174264 kernel.git/acpi-20050729-2.6.12.patch
1173025 kernel.git/linux-2.6-grsec_full.patch
1150480 kde4-kdebase-workspace.git/kde4-kdebase-workspace-branch.diff
1144895 kdelibs.git/kdelibs-kate-syntax.patch
1102945 kernel.git/evms-1.0.1-linux-2.4.patch
1102401 koffice.git/koffice-branch.diff
1099267 lisa.git/lisa-acam.patch
1097742 kernel.git/evms-1.0.0-linux-2.4.patch
1074936 kernel.git/linux-2.6-grsec-full.patch
1057680 webalizer.git/webalizer-debian-23.patch
1039835 kernel.git/linux-xen-2.0.6.patch
1019270 scim-tables.git/CangJie5.txt.in
1018930 kernel.git/grsecurity-2.1.10-2.6.20.6-200704091818.patch
1018406 kernel.git/grsecurity-2.1.10-2.6.20.4-200703271911.patch
1018308 kernel.git/grsecurity-2.1.10-2.6.20.3.patch
1018059 kernel.git/grsecurity-vs-2.1.10-2.6.20.3-200703231034.patch
1018059 kernel.git/grsecurity-2.1.10-2.6.20.3-200703231034.patch
1016669 kernel.git/grsecurity-vs-2.1.10-2.6.20.6-200704091818.patch
1016196 kernel.git/grsecurity-vs-2.1.10-2.6.20.4-200703271911.patch
1010178 kernel.git/evms-0.9.2-linux-2.4.patch
1007973 kernel.git/linux-2.6-grsec-vs-full.patch
1003427 lapack.git/lapack-20010525.patch
-- 
  Kacper Kornet


More information about the pld-devel-en mailing list