skip git checkout if NoSourceSince is set

This commit is contained in:
Michael Pöhn 2019-07-03 21:08:53 +02:00
parent c164adc1a2
commit 178b2625c5
2 changed files with 37 additions and 1 deletions

View file

@ -17,7 +17,7 @@ lint:
appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.txt,\1,p' appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.txt,\1,p'
-e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`; -e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`;
export CHANGED="$CHANGED $appid"; 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; done;
./tools/audit-gradle.py $CHANGED; ./tools/audit-gradle.py $CHANGED;
fi fi

View file

@ -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