Bug 379449

Summary: Craft build scripts should make shallow copies of source code repositories.
Product: [Unmaintained] kde-windows Reporter: R030t1
Component: buildsystemAssignee: KDE-Windows <kde-windows>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist Keywords: junior-jobs
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description R030t1 2017-05-02 21:20:59 UTC
Hello,

I noticed when crafting KDevelop that some of the packages were pulled from version control with full working copies being made. Passing an argument like --depth=1 to Git would help cut down on bandwidth usage and build times.
Comment 1 Kevin Funk 2017-05-02 22:51:50 UTC
One note: We need to be able to still checkout specific branches/tags. This seems possible with shallow clone (depth=1):
  http://stackoverflow.com/questions/31278902/how-to-shallow-clone-a-specific-

What isn't possible is checking out a specific revision (SHA1) here. So we'd need to instruct Craft to do a full clone whenever we intend to check out a specific SHA1.

@Reporter: We likely won't have time to implement this, so patches welcome!

Contribute here: https://phabricator.kde.org/project/profile/61/
Comment 2 Christoph Cullmann 2024-09-22 18:51:16 UTC
The KDE Windows Bugzilla product is no longer maintained.

If you have issues with some application on Windows, please report the issue at the bugtracker of the application.

If you have issues that still persist with Craft itself, please report them here:

https://invent.kde.org/packaging/craft/-/issues