Prepare verified Sargo packages and independent boot recovery

This commit is contained in:
OverSu 2026-10-03 22:33:47 +02:00
commit 978542bc87
14 changed files with 665 additions and 8 deletions

View file

@ -8,13 +8,13 @@ pub=importlib.util.module_from_spec(spec);spec.loader.exec_module(pub)
class Publication(unittest.TestCase):
def test_internal_documents_and_credentials_are_excluded(self):
for name in ['docs/CHANTIER.md','docs/ROADMAP.json','tundra/docs/STATUS.md',
'README-internal.md','gaia/README.md','changelog.json',
'README-internal.md','gaia/README.md','CHANGELOG.md','CHANGELOG.en.md',
'tundra/out/example/client-key','tundra/logs/device/storage-layout.json',
'android/keys/preview.keystore','android/dist/preview.apk',
'profiles/example/cookies.sqlite','logs/publication/forgejo-token']:
with self.subTest(name=name):self.assertIsNone(pub.target_name(name))
def test_sources_readmes_and_license_notices_survive(self):
for name in ['README.md','README.fr.md','host/shell.js','tundra/boot/native-root.sh',
'gaia/LICENSE','NOTICE','docs/media/vulpes-logo.png']:
'gaia/LICENSE','NOTICE','changelog.json','docs/media/vulpes-logo.png']:
self.assertEqual(pub.target_name(name),name)
self.assertEqual(pub.target_name('gaia/vendor/LICENSE.md'),'gaia/vendor/LICENSE')