Record of old ISSUES.txt
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 10/100
- Tipo de issue
- Documentación
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- distributed-systems
Línea de trabajo
Este issue es más un registro de archivo que un cambio definido; la única ruta concreta mencionada es execnet/rsync.py, junto con varias ideas más generales sobre gateways y callbacks. Revisa primero los elementos enumerados y el estado actual del proyecto; después, divide cualquier trabajo que siga siendo relevante en issues separados con puntos de entrada, pruebas y criterios de aceptación específicos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Removed the old ISSUES.txt file from the repository (773107e305f6799e29d60), creating this issue to record its contents for review in case we want to create actual issues for any of them.
rsync links from posix to windows
-----------------------------------------
tags: 1.1 feature
bb: http://bitbucket.org/hpk42/py-trunk/issue/35
path: execnet/rsync.py
currently rsyncing bails out with a strange message when trying to rsync
links. should provide better message or even some support for doing it.
http process for mediating client/remote-subprocess execution
------------------------------------------------------------------
tags: 1.2 feature newdist
A client client connects to an http-execserver. An http-execserver
routes incoming "POST /exec" requests to a subprocess and returns a PID.
The PID identifies the subprocess which is used for further communication.
Client http-exec subprocess
makegw("...") -> POST /popen -> Popen() with bootstrap
(bootstrap)
<- PID
c=rexec(...) POST /exec/PID exec source
(source)
c.send(1) POST /exec/PID x = c.receive()
(1) assert x == 1
c.send(2)
z = c.receive() GET /exec/PID
<- (2)
assert z == 2
The client connects via "POST /exec/PID"
and pushes data to the remotely-executing code
in the subprocess.
The client connects via "GET /exec/PID"
and receives data from the remotely-executing code.
The client constructs a Channel() object which triggers
these two connections, presenting a nice send/receive
abstractions.
The code executing in the http-execserver controlled
subprocess is a PopenGateway. It does not know that it
is connected via the http client/server machinery.
The http-execserver proxies data from the subprocess
to the client. If there is no active GET request, the
data is queued.
The http-execserver forwards data from the client to the
subprocess, using the PID. If the subprocess is not
connected, an ERROR code is returned.
Example session:
gw = group.makegateway("http=codespeak.net")
def fun(channel):
return channel.send(channel.receive()+1)
ch = gw.remote_exec(fun)
ch.send(1)
x = ch.receive()
assert x == 2
a channel-IO based gateway
--------------------------------------------------
tags: 1.1 feature newdist
A building block for establishing a permanent hierarchy
of processes is a Gateway that operates on a Channel object.
This way a gateway can be instantiated through another
intermediating gateway which bi-directionallry forwards
Messages through a existing channel.
A code example could look like this:
group.setlocalfactory(port=8888)
gw = group.makegateway("ssh=codespeak.net")
# local ssh-process would be a child of the factory service
# which could have timeouts for killing, or allow resuming.
# for instantiating remote it could also install a multiplexer
# on the remote place such that the same ssh connection is re-used
# for multiple ssh=codespeak.net connections, makes for small latency.
some first simple implementation might look like this::
gw = group.makegateway("socketservice//port=8888")
# we can rely that the subprocess gw can import execnet
ch = gw.remote_exec("""
import execnet.service
execnet.service.gatewaymaker(channel)
""")
ch.send(xspec)
subchannel = ch.receive()
return ChannelGateway(subchannel)
creating virtualenv environments on the fly
-----------------------------------------------
tags: 1.1 wish
there should be a (plugin-provided?) way to create
a virtual environment:
gw = makegateway("ssh=codespeak.net")
newgw = xdeploy.create_venv_gateway(gw, "venvname", depstring)
newgw # lives in home/ dir of remote virtualenv
# maybe have get_temproot default to tmp/ there?
sf = xdeploy.SetupFile("..setup.py")
sf.sdist_remote_install(newgw)
have callback accept errors / errback
-----------------------------------------------
tags: 1.1 wish
If using channel.setcallback() it currently is not
possible to notice the exact errors that might happen
on the other side. Either introduce an "errback"
or (probably better) optionally allow an extra 'error'
parameter to execnet callbacks.
fix rsync between python/jython
-----------------------------------------------
tags: 1.0 bug
rsync does not complete with jython.
- Lenguaje dominante
- Python
- Estrellas
- 102
- Forks
- 47
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pytest-dev/execnet
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
pytest-dev/execnet#429 · 1 comentario ·
-
IPv6 support Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
pytest-dev/execnet#384 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
pytest-dev/execnet#374 · 3 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
pytest-dev/execnet#306 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
pytest-dev/execnet#279 · 1 reacción ·
Todos los issues de pytest-dev/execnet
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
canonical/paas-charm#368 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
tech debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
addition to tracking list Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
StevenBlack/hosts#3256 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
qualcomm/qai-appbuilder#275 ·