[gnome-software: 1/2] subprojects: Limit clone depth to 1 in wrap files




commit e561a1ed05946fa8009ac636f483eac728160a36
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Jan 14 12:27:48 2021 +0000

    subprojects: Limit clone depth to 1 in wrap files
    
    This should save a bit of bandwidth when downloading subprojects.
    
    See
    https://mesonbuild.com/Wrap-dependency-system-manual.html#specific-to-wrapgit
    and
    https://tecnocode.co.uk/2020/07/09/easily-speed-up-ci-by-reducing-download-size/.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 subprojects/libglib-testing.wrap | 1 +
 subprojects/libhandy.wrap        | 1 +
 subprojects/libxmlb.wrap         | 1 +
 subprojects/malcontent.wrap      | 1 +
 subprojects/sysprof.wrap         | 1 +
 5 files changed, 5 insertions(+)
---
diff --git a/subprojects/libglib-testing.wrap b/subprojects/libglib-testing.wrap
index 537a94633..ffb33614b 100644
--- a/subprojects/libglib-testing.wrap
+++ b/subprojects/libglib-testing.wrap
@@ -2,3 +2,4 @@
 directory = libglib-testing
 url = https://gitlab.gnome.org/pwithnall/libglib-testing.git
 revision = 0.1.0
+depth = 1
diff --git a/subprojects/libhandy.wrap b/subprojects/libhandy.wrap
index cb6e03183..de0516005 100644
--- a/subprojects/libhandy.wrap
+++ b/subprojects/libhandy.wrap
@@ -2,3 +2,4 @@
 directory=libhandy
 url=https://gitlab.gnome.org/GNOME/libhandy.git
 revision=0.90.0
+depth=1
diff --git a/subprojects/libxmlb.wrap b/subprojects/libxmlb.wrap
index ea04cf532..b2cd0ac71 100644
--- a/subprojects/libxmlb.wrap
+++ b/subprojects/libxmlb.wrap
@@ -2,3 +2,4 @@
 directory = libxmlb
 url = https://github.com/hughsie/libxmlb.git
 revision = master
+depth = 1
diff --git a/subprojects/malcontent.wrap b/subprojects/malcontent.wrap
index 730bf4f85..e41381af9 100644
--- a/subprojects/malcontent.wrap
+++ b/subprojects/malcontent.wrap
@@ -2,3 +2,4 @@
 directory=malcontent
 url=https://gitlab.freedesktop.org/pwithnall/malcontent.git
 revision=ab75b35d91a32aae6179f42a8037a8ef28e2f3c5
+depth=1
diff --git a/subprojects/sysprof.wrap b/subprojects/sysprof.wrap
index 8ee1f9736..6a807b1be 100644
--- a/subprojects/sysprof.wrap
+++ b/subprojects/sysprof.wrap
@@ -2,3 +2,4 @@
 directory=sysprof
 url=https://gitlab.gnome.org/GNOME/sysprof.git
 revision=555ec04e322ec979c84a7a21d09a5afd9c02f672
+depth=1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]