RomM saves in a named volume (R-1097); no false known-login line on eight apps (R-1102, D10 = A)
gates / gates (push) Successful in 5s
gates / gates (push) Successful in 5s
RomM writes saves to /romm/assets, which sat in the image's anonymous /romm volume: no app backup took it (measured on demo-hp). romm_assets is now a named volume (compose + both steps files); gate image-volumes keeps it. default_creds removed from grafana, gokapi, kimai, code-server, nzbget, nextcloud, transmission, prowlarr (HU + EN): the box said 'starts with a known, shared password' about logins it generated. Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
5630979717
commit
326f8465ac
17 files changed
+248
-33
No files matched your search
@@ -69,8 +69,10 @@ class CatalogGatesFastTest(unittest.TestCase):
|
||||
# 15 since 2026-10-14: unclean-boot-images (R-1007) — fast, no history, so the hook AND CI.
|
||||
# 16 since 2026-10-15: guide-version — advisory (exit 0 always), fast, no history: the hook AND CI.
|
||||
# 17 since 2026-10-16: login-kind (controller 0.320.0) — fast, no history: the hook AND CI.
|
||||
self.assertEqual(len(mod.GATES), 17)
|
||||
# 18 since 2026-10-16: image-volumes (R-1097) — fast, no history: the hook AND CI.
|
||||
self.assertEqual(len(mod.GATES), 18)
|
||||
self.assertIn("login-kind", [g[0] for g in mod.GATES if g[3] and not g[4]])
|
||||
self.assertIn("image-volumes", [g[0] for g in mod.GATES if g[3] and not g[4]])
|
||||
self.assertIn("guide-version", [g[0] for g in mod.GATES if g[3] and not g[4]])
|
||||
self.assertIn("unclean-boot-images", [g[0] for g in mod.GATES if g[3] and not g[4]])
|
||||
self.assertIn("data-key", [g[0] for g in mod.GATES if g[3] and not g[4]])
|
||||
@@ -156,5 +158,22 @@ class SummaryTellsRefusedFromUndecided(unittest.TestCase):
|
||||
self.assertIn("CONVICTED: image-pins", out)
|
||||
|
||||
|
||||
class D10NoFalseKnownLogin(unittest.TestCase):
|
||||
"""D10 = A (operator 2026-10-16, R-1102): these eight apps have no known, shared default login — the box
|
||||
generated the password or the household typed it (or makes it on the first visit). With `app_info.default_creds`
|
||||
and no `after_install`, the controller says „starts with a known, shared password" about them, which is false.
|
||||
The line is read by indentation (no PyYAML on CI): ` default_creds:` under app_info, ` default_creds:`
|
||||
in the English block."""
|
||||
|
||||
EIGHT = ("grafana", "gokapi", "kimai", "code-server", "nzbget", "nextcloud", "transmission", "prowlarr")
|
||||
|
||||
def test_the_eight_carry_no_default_creds(self):
|
||||
root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
for app in self.EIGHT:
|
||||
with open(os.path.join(root, "templates", app, ".felhom.yml"), encoding="utf-8") as f:
|
||||
hits = [l for l in f if l.lstrip().startswith("default_creds:") and not l.lstrip().startswith("#")]
|
||||
self.assertEqual(hits, [], "%s carries default_creds again: %r" % (app, hits))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main(verbosity=2)
|
||||
Reference in new issue
Block a user