From 178b2625c53b0a229ac16cbfc2b2f7398356e50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=B6hn?= Date: Wed, 3 Jul 2019 21:08:53 +0200 Subject: [PATCH] skip git checkout if NoSourceSince is set --- .gitlab-ci.yml | 2 +- metadata/com.nomadlabs.labcoat.deeplinks.yml | 36 ++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 metadata/com.nomadlabs.labcoat.deeplinks.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 912afb95ba..9faaad244f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ lint: appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.txt,\1,p' -e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`; export CHANGED="$CHANGED $appid"; - grep -q "^Repo *Type\W *git$" $f && git -C build clone `sed -n "s,^Repo *:,,p" $f` $appid; + grep -q "^Repo *Type\W *git$" $f && tail -1 $f | grep -qv '^NoSourceSince' && git -C build clone `sed -n "s,^Repo *:,,p" $f` $appid; done; ./tools/audit-gradle.py $CHANGED; fi diff --git a/metadata/com.nomadlabs.labcoat.deeplinks.yml b/metadata/com.nomadlabs.labcoat.deeplinks.yml new file mode 100644 index 0000000000..45c86ad5d2 --- /dev/null +++ b/metadata/com.nomadlabs.labcoat.deeplinks.yml @@ -0,0 +1,36 @@ +Categories: + - Development +License: Apache-2.0 +SourceCode: https://gitlab.com/nomadlabs/deeplinks +IssueTracker: https://gitlab.com/nomadlabs/deeplinks/issues + +AutoName: Deep Links for LabCoat +Summary: Open links to self-hosted GitLab instances in LabCoat +Description: |- + Deep Links for LabCoat is a utility app that does one thing and only one + thing: it allows you to open links to non-gitlab.com GitLab instances - + for example, gitlab.gnome.org - in the ''LabCoat for GitLab'' app. + + '''Known issues:''' + + LabCoat opens but link does not load - Make sure you are signed in to an + account on the Gitlab instance you are trying to access. LabCoat is + unable to display anything from a Gitlab instance without a valid + personal access token - even if the url you are trying to access is public + on the web. + +RepoType: git +Repo: https://gitlab.com/nomadlabs/deeplinks.git + +Builds: + - versionName: '1.0' + versionCode: 1 + commit: v1.0 + subdir: app + gradle: + - yes + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: '1.0' +CurrentVersionCode: 1