mitogen-hq / mitogen

Distributed self-replicating programs in Python
https://mitogen.networkgenomics.com/
BSD 3-Clause "New" or "Revised" License
2.34k stars 199 forks source link

Question about documentation #701

Open netsamir opened 4 years ago

netsamir commented 4 years ago

Hi,

In the documentation, it says that Mitogen can be used with Fabric:

the goal is to provide a robust and efficient low-level API on which tools like Salt, Ansible, or Fabric can be built, and while the API is quite friendly and comparable to Fabric, ultimately it is not intended for direct use by consumer software. """

I am having a hard time to find an example of example of Fabric and Mitogen together.

Have you got an example of how to use Mitogen with Fabric ?

Regards,

anarcat commented 4 years ago

Have you got an example of how to use Mitogen with Fabric ?

There is, as far as I know, no such example. In https://github.com/fabric/fabric/issues/237, the Fabric author evaluated a few options to implemented server-side Python execution, including Mitogen, but none have been implemented yet.

PS: this issue would be easier to find if it was called something else, for example "usage with Fabric?" or something with "fabric" in the name. ;)

netsamir commented 4 years ago

It would be nice to have a starting point to implement it with fabric. Thanks