PROP OUT: keep Location Assets mounted on the ProP Mac; SHARE NOT MOUNTED; hold remounts
- remote-access/mac-keep-mounted.sh: a user LaunchAgent that keeps a share mounted (every minute and at login; Keychain login; unmount + remount only when the share hangs), installed on NA ProP for Chronicles' Location Assets - PROP OUT says SHARE NOT MOUNTED instead of NOT IN <weekend> when the share is gone; its hold (and auto-fix) starts the agent and waits for the share Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -623,6 +623,12 @@ class TestLineupCrossBundle(unittest.TestCase):
|
||||
self.assertEqual(folder, "~/Shared drives/Location Assets/261025")
|
||||
self.assertEqual(msgs(rd.eval_prop_bundle(rc, [["WORSHIP BUNDLE.probundle", WEDNESDAY - 86400 * 10]], WEDNESDAY, folder)), [])
|
||||
self.assertEqual(msgs(rd.eval_prop_bundle(rc, [], WEDNESDAY, folder)), ["NOT IN 261025"])
|
||||
# the share the folder is on is not mounted on the ProP Mac (2026-10-22): said so, not "NOT IN"
|
||||
gone = {"files": [], "share": "/Volumes/Location Assets", "mounted": False}
|
||||
self.assertEqual(msgs(rd.eval_prop_bundle(rc, gone, WEDNESDAY, folder)), ["SHARE NOT MOUNTED"])
|
||||
there = {"files": [["WORSHIP BUNDLE.probundle", WEDNESDAY]], "share": "/Volumes/Location Assets", "mounted": True}
|
||||
self.assertEqual(msgs(rd.eval_prop_bundle(rc, there, WEDNESDAY, folder)), [])
|
||||
compile(rd.MOUNT_SCRIPT % json.dumps({"label": "x", "share": "/Volumes/X"}), "remote", "exec")
|
||||
|
||||
def test_prop_bundle_this_week(self):
|
||||
since = rd.week_start(WEDNESDAY)
|
||||
|
||||
Reference in New Issue
Block a user