pyinfra-dev / pyinfra

pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.
https://pyinfra.com
MIT License
3.85k stars 374 forks source link

Remove `Windows*` prefix from windows facts (v2) #669

Closed Fizzadar closed 2 years ago

Fizzadar commented 2 years ago

Once the legacy magic host.fact.X is no longer in use, the windows prefixes are unncessary, ie can become:

from pyinfra.facts.windows import Date
from pyinfra.facts.windows_files import File

Such that only the module name has to be different.

Fizzadar commented 2 years ago

Released in v2