2024-09-25 18:47:32 +00:00
|
|
|
-- This is a simulation of random preferred content expressions.
|
2024-09-25 18:49:48 +00:00
|
|
|
-- git-annex sim run this in a loop to explore if an expression can fail to
|
|
|
|
-- stabilize
|
2024-09-24 16:01:54 +00:00
|
|
|
init foo
|
|
|
|
init bar
|
|
|
|
connect foo <-> bar
|
|
|
|
addmulti 10 .x 100.0kB 10.0MB foo
|
|
|
|
addmulti 10 .y 100.0kB 10.0MB foo
|
|
|
|
randomwanted bar largerthan=1MB include=*.x anything present
|
|
|
|
randomwanted foo largerthan=1MB include=*.x anything present
|
2024-09-25 18:47:32 +00:00
|
|
|
-- 40 is the maximum possible steps, in case bar wants to get all 20 files,
|
|
|
|
-- and foo wants to drop them all
|
2024-09-24 16:01:54 +00:00
|
|
|
stepstable 40
|