Bug 379449 - Craft build scripts should make shallow copies of source code repositories.
Summary: Craft build scripts should make shallow copies of source code repositories.
Status: CONFIRMED
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2017-05-02 21:20 UTC by R030t1
Modified: 2017-05-02 22:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/