From 9d6e2c1d8b41343f23e91f0391e74ee5549708c4 Mon Sep 17 00:00:00 2001 From: Billy Olsen Date: Wed, 23 Feb 2022 20:20:28 -0700 Subject: [PATCH] Update snapcraft builds for dbcook's db The update to use dbcook's component database adds a git submodule. The submodule configuration needs to use an https transport rather than an ssh transport for users not logged in through git (snapcraft builds aren't; they're in a clean room). Additionally, the snapcraft.yaml file needs to be told the source type is git in order to automatically udpate an pull in submodules. Signed-off-by: Billy Olsen --- .gitmodules | 2 +- snap/snapcraft.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index e222db9db..3edccafc3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "swing/resources-src/datafiles/components"] path = swing/resources-src/datafiles/components - url = git@github.com:dbcook/openrocket-database.git + url = https://github.com/dbcook/openrocket-database.git diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9ac35394a..aca598150 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -47,6 +47,7 @@ parts: openrocket: plugin: ant source: . + source-type: git ant-build-targets: - clean - check