aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* convert "upload to root Lisp" error into a warningSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* don't permit registering data sources in remote Lisp imagesSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework fork(2) connectionsSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :CHROOT.FORK: check for Lisp-type connection and rootSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID: check for Lisp-type connection and rootSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :AS connection type uses :SU not :SUDOSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* create "Local caches" and "Remote caches" sectionsSean Whitton2021-03-27
| | | | | | Pure code motion. 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>
* export DATA-PATHNAME and REMOTE-DATA-PATHNAMESean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* export GET-{REMOTE,LOCAL}-CACHED-PREREQUISITE-DATASean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add a DEFGENERIC for CONNECTION-CLEAR-DATA-CACHESean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* resolve relative pathnames passed to TRY-REGISTER-DATA-SOURCESean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use some accessors instead of SLOT-VALUESean Whitton2021-03-27
| | | | | | No functional change. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* RECONNECT: avoid copying all prerequisite dataSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* %GET-DATA: add some debug outputSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use PATHNAME-FILE instead of PATHNAME-NAMESean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* export CONNECTION-CLEAR-DATA-CACHE & reorder exportsSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* avoid using an :AROUND method for default implementationSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move definition of constant down to where it's usedSean Whitton2021-03-27
| | | | | | Pure code motion. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework %GET-DATA & UPLOAD-ALL-PREREQUISITE-DATA to cache string dataSean 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>
* drop support for passing a host to UPLOAD-ALL-PREREQUISITE-DATASean Whitton2021-03-26
| | | | | | This wasn't being used anywhere. 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>
* add TODO about establishing SKIP-PROPERTY restart more than onceSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add property/gnupg to consfigurator.asdSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use MUFFLE-WARNINGS functionSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use trivial-backtrace to get a backtrace for forked process failuresSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TODO regarding variable captureSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TODO regarding backtraces from forked processesSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix call to TESTSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* GIT:SNAPSHOT-EXTRACTED: use WITH-REMOTE-CURRENT-DIRECTORYSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix setting HOME in :SETUIDSean 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>
* document working directory conventionsSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Revert ":SUDO connection type: reset the working directory"Sean Whitton2021-03-25
| | | | | | | | This reverts commit 03faea5bac3337a23d821078984c12bdbedeb022. We are now handling this in RUN, MRUN, READFILE & WRITEFILE. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID connection type: set HOMESean 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>
* comment about WITH-REMOTE-TEMPORARY-DIRECTORYSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix call to ESCAPE-SH-TOKENSean Whitton2021-03-24
| | | | 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>
* export GNUPG:PUBLIC-KEY-IMPORTEDSean 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>
* use the snapshot name as name for toplevel dir in DATA:GIT-SNAPSHOTSean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move copying to the inside of {union,replace}-propspec-into-hostSean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* make PROPERTIES argument to DEPLOY{S,}-THESE* requiredSean Whitton2021-03-24
| | | | | | There is no point in calling either function without it. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* make dedicated RECONNECTS property rather than using DEPLOYS-THESESean Whitton2021-03-24
| | | | | | This is easier to read. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* attempt to implement :AS connection type and AS combinatorSean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>