[gnome-software/mwleeds/gnome-pwa-list-submodule] subprojects: Make gnome-pwa-list a submodule
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/mwleeds/gnome-pwa-list-submodule] subprojects: Make gnome-pwa-list a submodule
- Date: Mon, 13 Jun 2022 10:49:22 +0000 (UTC)
commit 6e356de6a51ea79f95bc6fd96774c8615d0ae775
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Thu Jun 2 12:44:14 2022 -0700
subprojects: Make gnome-pwa-list a submodule
This way gnome-software can be built from a tarball or from git without
network access at build time, as discussed here:
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1616#note_1470108
As discussed on !1387, we keep the `.wrap` file so that Meson knows how
to download the module if someone gets hold of the gnome-software
sources without using `git clone` or downloading a tarball which
includes subprojects. It also means that maintainers don’t have to
remember to pass `--include-subprojects` to `meson dist`.
.gitignore | 1 -
.gitmodules | 3 +++
subprojects/gnome-pwa-list | 1 +
subprojects/gnome-pwa-list.wrap | 1 +
4 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index 7e92e010c..f103d5fea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
subprojects/appstream/
subprojects/gi-docgen.wrap
subprojects/gi-docgen/
-subprojects/gnome-pwa-list/
subprojects/graphene.wrap
subprojects/graphene/
subprojects/gtk/
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 000000000..634ee646d
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "subprojects/gnome-pwa-list"]
+ path = subprojects/gnome-pwa-list
+ url = https://gitlab.gnome.org/mwleeds/gnome-pwa-list.git
diff --git a/subprojects/gnome-pwa-list b/subprojects/gnome-pwa-list
new file mode 160000
index 000000000..48ac9f7ed
--- /dev/null
+++ b/subprojects/gnome-pwa-list
@@ -0,0 +1 @@
+Subproject commit 48ac9f7ed6a639eab7648f3e3b19105694eaf306
diff --git a/subprojects/gnome-pwa-list.wrap b/subprojects/gnome-pwa-list.wrap
index 5f31b4bf6..d679a3562 100644
--- a/subprojects/gnome-pwa-list.wrap
+++ b/subprojects/gnome-pwa-list.wrap
@@ -1,5 +1,6 @@
[wrap-git]
directory = gnome-pwa-list
url = https://gitlab.gnome.org/mwleeds/gnome-pwa-list.git
+# Note: The git submodule for this wrap should be updated when updating this
revision = 48ac9f7ed6a639eab7648f3e3b19105694eaf306
depth = 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]