From: Marcus Hoffmann Date: Thu, 31 Aug 2017 18:36:07 +0000 (+0200) Subject: CI: bump fdroid version to test against to 0.8 remove legacy handling X-Git-Tag: 0.9~96^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=baef08725bcb90d6b355b76e13c8f550a6513d16;p=fdroidserver.git CI: bump fdroid version to test against to 0.8 remove legacy handling Bump to latest released version, remove all handling of things that changed in a backward incompatible way before. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e17d7c8..6ce9064e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,34 +6,20 @@ test: - cd tests - ./complete-ci-tests -# Test that the parsing of the .txt format didn't change. The metadata -# fields 'Author Web Site', 'antifeatures=', 'buildozer=', and 'sudo=' -# where added after 0.7.0, so that can't be part of the test. +# Test that the parsing of the .txt format didn't change +# from last released version. metadata_v0: script: - cd tests - - cp dump_internal_metadata_format.py dump.py # since this isn't in old commits - export GITCOMMIT=`git describe` - - git checkout 0.7.0 # or any old commit of your choosing + - git checkout 0.8 # bump after release - cd .. - - sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata - cd fdroiddata - - sed -i -e '/antifeatures=/d' - -e '/buildozer=/d' - -e '/sudo=/d' - metadata/*.txt - - ../tests/dump.py + - ../tests/dump_internal_metadata_format.py - cd .. - git reset --hard - git checkout $GITCOMMIT - cd fdroiddata - - ../tests/dump.py - - "sed -i -e '/AuthorWebSite/d' - -e '/Description: No description available/d' - -e \"/Description: ''/d\" - -e '/antifeatures:/d' - -e '/buildozer:/d' - -e '/sudo:/d' - metadata/dump_*/*.yaml" + - ../tests/dump_internal_metadata_format.py - diff -uw metadata/dump_*