returning `Connection`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the definitions and callers of remote_repl and connect_repl, then inspect how _repl_client_connection and the ReplMaker prompt are used. Decide the consistent return contract and verify that callers can retain and close a Connection, including the multiple-connection case.
Written by the indexing model from the issue text.
Description
Currently remote_repl returns a connection and writes to the global _repl_client_connection.
And connect_repl doesn't return a connection but also writes to the global _repl_client_connection.
I find this behavior inconsistent. Is it necessary that connect_repl returns the ReplMaker prompt ?
In any case, I think it would be nice to also return the Connection.
This way the client can always have a way of closing the connection. (without having to access the global _repl_client_connection)
Aside from that, this could also enable handling multiple connections.
- Dominant language
- Julia
- Stars
- 148
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaWeb/RemoteREPL.jl
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JuliaWeb/RemoteREPL.jl#82 ·
-
good first issue
Difficulty 3/5 1-2 days Newbie friendliness 45/100
JuliaWeb/RemoteREPL.jl#80 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
JuliaWeb/RemoteREPL.jl#69 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JuliaWeb/RemoteREPL.jl#67 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
JuliaWeb/RemoteREPL.jl#66 ·
All issues in JuliaWeb/RemoteREPL.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FluxML/Metalhead.jl#407 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
SciML/ModelingToolkit.jl#5371 ·
Maintainers usually reply within 2 days