aboutsummaryrefslogtreecommitdiff
path: root/src/connection.lisp
Commit message (Collapse)AuthorAge
...
* RESET-REMOTE-HOME: reset other pertinent varsSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and export GET-USERSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* WRITEFILE: avoid silently failing when regexp doesn't matchSean Whitton2021-04-01
| | | | | | This is what RE:REGISTER-GROUP-BIND was doing. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* WRITEFILE: use REMOTE-EXISTS-PSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* WRITEFILE: use RUN because stdout is what our regexp can parseSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add WITH-LOCAL-CONNECTIONSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define and export CONTINUE-CONNECTION and CONNECTION-PARENTSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework uploading data to be in terms of CONNECTION-UPLOADSean Whitton2021-03-27
| | | | | | | | | | 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>
* add missing PROGN in WITH-REMOTE-CURRENT-DIRECTORYSean Whitton2021-03-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix call to TESTSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and call RESET-REMOTE-HOMESean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* set the current working directory as a slot in *CONNECTION*Sean Whitton2021-03-25
| | | | | | This way it affects only the innermost connection object. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* reformatSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* PWD uses CONNECTION-RUN not MRUNSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement WITH-REMOTE-CURRENT-DIRECTORYSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some missing fresh lines at debug level 3Sean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add GIT:SNAPSHOT-EXTRACTEDSean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* untabifySean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add a :REPORT to RUN-FAILEDSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add facility for more regular progress and debug printingSean Whitton2021-03-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and use :CONSFIGURATOR named readtableSean Whitton2021-03-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use MRUN in TESTSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* WRITEFILE: handle pathnames passed as argumentsSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename *REMOTE-LISP* to *SUPPRESS-LOADING-SYSTEMS*Sean Whitton2021-03-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add slot for remote-uid to connection classDavid Bremner2021-03-13
| | | | | | | Intended to cache the result of shelling out to figure out the effective uid. Signed-off-by: David Bremner <david@tethera.net>
* when RUN/MRUN get :PRINC, ensure print even if command failsSean Whitton2021-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :DOCUMENTATION for CACHED-DATA slotSean Whitton2021-03-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* the mode qua argument is numeric not octalSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* REMOVE -> DELETESean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* simplify WRITEFILE file attribute preservationSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CONNECTION-WRITEFILE: deal in modes rather than umasksSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix capitalisationSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MKTEMP: use keyword args, add :DIRECTORY argument, call sh umaskSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MKTEMP needs to check for presence of output, not just zero exitSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move some definitions aroundSean Whitton2021-03-06
| | | | | | Pure code motion. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :PRINC argument to RUN & MRUNSean Whitton2021-03-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix RUN & MRUN's handling of :ENVSean Whitton2021-03-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* RUN and MRUN can now take lists of argumentsSean Whitton2021-03-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* eliminate global value for *CONNECTION*Sean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* tidy up entering and reentering Consfigurator's primary loopSean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* store record of remote cache in field of *CONNECTION*Sean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use ZEROPSean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :CHROOT-FORK connection typeSean Whitton2021-02-27
| | | | | | | Thanks to Mark Wooding for help with handling the streams, dealing with the debugger in the child, and the FORMAT rune for the child status. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix missing &ALLOW-OTHER-KEYS in default PREPROCESS-CONNECTION-ARGSSean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix :SHELL-WRAP's CONNECTION-WRITEFILESean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* attempt to implement umask support for CONNECTION-WRITEFILESean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* simplify control flow by specialising on INPUT in CONNECTION-RUNSean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* capitalise symbol namesSean Whitton2021-02-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* make it easy just to get the exit code out of RUN and MRUNSean Whitton2021-02-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* introduce MRUNSean Whitton2021-02-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>