From 6a9da7efa5176c2c6543ac7934f2a5b86ad1a189 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 12 Mar 2022 09:01:41 +0100 Subject: [PATCH] bundles/arch-with-gui: add workaround for broken `bw test` --- bundles/arch-with-gui/items.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/arch-with-gui/items.py b/bundles/arch-with-gui/items.py index 18e04a9..2ae5c92 100644 --- a/bundles/arch-with-gui/items.py +++ b/bundles/arch-with-gui/items.py @@ -66,6 +66,12 @@ for filename in listdir(join(repo.path, 'data', 'arch-with-gui', 'files', 'fonts continue if filename.endswith('.vault'): + # XXX remove this once we have a new bundlewrap release + # https://github.com/bundlewrap/bundlewrap/commit/2429b153dd1ca6781cf3812e2dec9c2b646a546b + from os import environ + if environ.get('BW_VAULT_DUMMY_MODE', '0') == '1': + continue + font_name = filename[:-6] attrs = { 'content': repo.vault.decrypt_file_as_base64(join('arch-with-gui', 'files', 'fonts', filename)),