Opened 15 years ago

Closed 15 years ago

#439 closed enhancement (fixed)

Interface with remote programs allowing for as many hops as needed

Reported by: pdehaye Owned by: pdehaye
Priority: minor Milestone: sage-2.8.3
Component: interfaces Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Attachments (1)

5771.patch (41.9 KB) - added by pdehaye 15 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 15 years ago by pdehaye

  • Milestone set to sage-2.8.2

comment:2 Changed 15 years ago by pdehaye

  • Milestone sage-2.8.2 deleted

comment:3 Changed 15 years ago by pdehaye

  • Status changed from new to assigned

Changed 15 years ago by pdehaye

comment:4 Changed 15 years ago by pdehaye

Just posted a patch. Issues that still need to be resolved:

  • could do better when converting with _sage_() remote objects
  • the _remote_tmpfile is defaulted to "/tmp", I am not sure that's a good idea, and if we shouldn't just return an error if (server_tmpdir is None) and not (server is None)

comment:5 Changed 15 years ago by pdehaye

also, removed expect.tmp as this was confusing: there ought to be two different temporary files in expect.py. one would be _local_tmpfile and interact with sage/python and the other one _remote_tmpfile and interact with the remote CAS session. allowing for something named tmp in expect.py is confusing as people who program more interfaces don t tend to think of the distinction needed when doing things remotely, and end up using the same file for both (without scp'ing one to the other if is_remote())

comment:6 Changed 15 years ago by pdehaye

  • Summary changed from Interace with remote programs allowing for as many hops as needed to Interface with remote programs allowing for as many hops as needed

Trac #160, which will be included before this, might need to be revisited.

comment:7 Changed 15 years ago by mabshoff

  • Milestone set to sage-2.8.3

comment:8 Changed 15 years ago by was

  • Resolution set to fixed
  • Status changed from assigned to closed

Paul has implemented this, sent me a patch, and I've applied it.

Note: See TracTickets for help on using tickets.