1 image: registry.gitlab.com/fdroid/ci-images:server-latest
5 - mkdir -p /usr/lib/python3.4/site-packages/
6 # workaround https://github.com/pypa/setuptools/issues/937
7 - pip3 install setuptools==33.1.1
12 # Test that the parsing of the .txt format didn't change. The metadata
13 # field 'Author Web Site' was added after 0.7.0, so that can't be part
18 - cp dump_internal_metadata_format.py dump.py # since this isn't in old commits
19 - export GITCOMMIT=`git describe`
20 - git checkout 0.7.0 # or any old commit of your choosing
22 - sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py
23 - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
28 - git checkout $GITCOMMIT
31 - "sed -i -e '/AuthorWebSite/d'
32 -e '/Description: No description available/d'
33 -e \"/Description: ''/d\"
35 metadata/dump_*/*.yaml"
36 - diff -uw metadata/dump_*