https://bugs.documentfoundation.org/show_bug.cgi?id=147161
Bug ID: 147161 Summary: [LODE] Consider cloning core/ repo with less history Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: easyHack Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: olivier.hal...@libreoffice.org Git clone on core/ brings full core/ history and is several GBytes large. Takes time to download. New developers, especially developers that wants to try LibreOffice development/build are often discouraged in front of very long download times. Adding "--depth=NN" or "--shallow-since=<date>" to LODE script can reduce the download times for the newcomer. --- ESC minutes of 2022-02-02 ---- + LODE improvements (ohallot) + 'git clone' of core/ brings full core/ history and is >Gbytes + same (and worse) for translations/ + 12 hours for Olivier + can we amend with '--depth=NN' to shorten download times? (OH) + easier for dev newbies + NN=100 allows reducing the core.git size to <1GB + need advise from expert + certainly makes sense for submodules (Cloph) + less so for core.git if you want to switch branches + https://dev-www.libreoffice.org/bundles/ solves the "intrerrupted at 99%" problem (Miklos) + translations.git is the real problem: 8GB (Eike) + core.git 2.7GB + translation updates download took 2 hours the last time tried + think it's a mix of problems (Thorsten) + for non-EU, github is much faster to clone from + in EU, grabbing the tarballs is perhaps the quickest + maybe mirror that? + maybe lode.git should default to cloning translations.git in a shallow way? + would solve this by building in the cloud (Hossein) + e.g. github codespace, with visual studio code + build is done remotely, but vs code runs locally + Good for people with slow connection and slow computers + if you stick to the default options, you don't get translations.git (Stephan) + would like to make it easy to do a shallow clone of submodules (Olivier) AI: file a bug / easy hack on this (Olivier) + maybe we could make it the default for submodules (Cloph) + can we still opt in to get the full history? (Stephan) + think so (Miklos) AI: enable shallow clone for submodules by default (Cloph) -- You are receiving this mail because: You are the assignee for the bug.