Closed roberth closed 3 years ago
CI / mypy-ratchet (pull_request)
Ok, I've improved typing precision by quite a bit, but nixops.args
is hopeless. It doesn't seem like we can avoid explicit Any
s whenever we add add_argument
s. They're just part of its signature and they're counted even if we don't make use of the Any
-typed params. It's not a real problem.
In fact this PR now improves typing precision.
cc @adisbladis, would you mind reviewing this?
This is sorely needed and has been up for review for nearly 3 months.
With remote state and locking, concurrent use of
nixops
commands has become impossible. This is bad when, for example, you want tonixops ssh
while anixops deploy
is running.This PR solves a couple of locking related problems by
nixops ssh
unlock before the session starts, so read-write operations can resume while presumably-interactive sessions existnixops ssh --now
which uses whatever state it can get but does not lock at allMore details are in the commit messages.