diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-26 14:48:37 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-27 14:29:20 -0700 |
commit | b25ded67d9e9147922f827e8ca0620a79e0d2140 (patch) | |
tree | 228c4c2e3e30a022163de0f3f2c261401dd7a60b /src/connection.lisp | |
parent | 856d654f7cff0e2be1feea155303486b18cc8e3f (diff) | |
download | consfigurator-b25ded67d9e9147922f827e8ca0620a79e0d2140.tar.gz |
rework uploading data to be in terms of CONNECTION-UPLOAD
Incremental updates of items of prerequisite data was not implemented, so the
previous meaning of CONNECTION-UPLOAD was not achieving much. This simplifies
the core implementation, should still allow connection types to implement the
method to provide optimisations, and provides a way to implement copying items
of prerequisite data into chroots.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection.lisp')
-rw-r--r-- | src/connection.lisp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/connection.lisp b/src/connection.lisp index b1c81c1..6e322ba 100644 --- a/src/connection.lisp +++ b/src/connection.lisp @@ -147,15 +147,6 @@ if they need to handle streams and strings differently.")) (let ((*connection* (slot-value connection 'parent))) (call-next-method))) -(defgeneric connection-upload (connection from to) - (:documentation "Subroutine to upload files to the host. - -Only used for uploading prerequisite data, only across the first hop of a -connection, and only to caches. The point of this function is to allow -specifying a more efficient alternative to CONNECTION-WRITEFILE when data is -in a file on disc rather than in memory, and we are uploading directly from -the root Lisp's machine. For example, using rsync(1) over SSH.")) - (defgeneric connection-teardown (connection) (:documentation "Subroutine to disconnect from the host.")) |