prevent action or step from simulating running on a special remote
authorJoey Hess <joeyh@joeyh.name>
Tue, 24 Sep 2024 14:07:09 +0000 (10:07 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 24 Sep 2024 14:15:56 +0000 (10:15 -0400)
commitee3d6502bb587b1884aeb9ff59d33cf7e05b6b6f
tree536f04c78ba2ca34aee5555e21ab213980d42997
parent7cc43126954c8d9d5e917f4ef1d6612dd9f0af82
prevent action or step from simulating running on a special remote

Without any connections, the step command will not try to do any actions
on a special remote.

But even without any connections, it's still possible for a drop action
explicitly run "on" the special remote to do, when numcopies = 0 or
there is a trusted repo. So guard all actions against running on a
special remote too.
Annex/Sim.hs