Skip to content

Releases: eborisch/autorec

Python 3 compat

12 Feb 20:34
46a3dc1
Compare
Choose a tag to compare
Merge pull request #1 from eborisch/python3

Python3 updates

Streaming stores.

12 Feb 19:30
Compare
Choose a tag to compare

This release adds the ability to stream the output of a command to a file on the remote destination. For example:

import os
import subprocess

(r, w) = pipe()
proc = subprocess.Popen(['rsh', 'server', 'cat', fname],
                        stdout=os.fdopen(w, 'wb', 0),
                        stdin=open('/dev/null', 'rb'),
                        stderr=open('fetchlog.err', 'w'),
                        universal_newlines=False)
sendFiles['{0}'.format(r)] = remote_file(fname.split('/')[-1])

will execute (via rsh) 'cat' on 'server' of the path fname, with the output placed into the file-part of fname in the remote destination directory without staging to the local filesystem.

Bugfixes

11 Feb 20:47
Compare
Choose a tag to compare

Bugfixes to ar_lib/ssh.py when run as (testing) script.

Initial release

11 May 14:05
Compare
Choose a tag to compare

Created for ISMRM OSS Tools Session