pyinfra v1.3 Release Notes
Release Date: 2020-12-09 // over 3 years ago-
๐ Theme of this release is improving error handling and end user experience. Highlights:
- ๐ Make most global arguments dynamic - support different
chdir
,sudo
, etc for different hosts within the same operation call - ๐ Rework line number ordering to support any nested function calls and/or imports
- ๐ Improve error handling for unexpected internal (pyinfra) and external (user code) errors
- Detect and error when an operation calls another using global arguments
- Properly fail when fact commands don't execute correctly vs. a given command not being present on the host, using
requires_command
fact attribute
โก๏ธ Operation & fact updates:
- โ Add
git.worktree
operation (@remybar) - โ Add
git.bare_repo
operation (@stchris) - โ Add
user_mode
argument tosystemd.service
operation (@jprltsnz) - ๐ Use
hostnamectl
where available forserver.hostname
operation - ๐ Use
uname -a
forhostname
fact - โ Add
user
fact
Other bits:
- Enable using
use_sudo_password
withoutsudo=True
- ๐ Move testing & documentation processes to GitHub actions
- ๐ Run tests on Windows & MacOS
- ๐ Make most global arguments dynamic - support different