chiark / gitweb /
gitlab-ci: ignore blank Description in metadata_v0 test
authorHans-Christoph Steiner <hans@eds.org>
Tue, 20 Jun 2017 16:15:03 +0000 (18:15 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 20 Jun 2017 16:15:12 +0000 (18:15 +0200)
We'll eventually be moving to having the internal representation use a
'' or None when there is no Description, so no use in fixing this.

.gitlab-ci.yml

index a04c539c4fef9c15a2f6df9cf6a2807408932d19..7d4fc950e107086b6c4f2dc8a938bc2add5aae60 100644 (file)
@@ -27,5 +27,8 @@ metadata_v0:
     - git checkout master
     - cd fdroiddata
     - ../tests/dump.py
-    - sed -i "/AuthorWebSite/d" metadata/dump_*/*.yaml
+    - sed -i -e "/AuthorWebSite/d"
+             -e "/Description: No description available/d"
+             -e "/Description: ''/d"
+             metadata/dump_*/*.yaml
     - diff -uw metadata/dump_*