aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* propagate :NO-CHANGE out of fork subdeploymentsSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add descriptions to DEPLOYS, DEPLOYS-THESE, RECONNECTSSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* don't pass string as :DEFAULTS argument to ENSURE-PATHNAMESean 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>
* fix default value of *CONSFIGURATOR-DEBUG-LEVEL*Sean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename CONTAINS-FOO-CONF -> CONTAINS-CONF-FOOSean 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>
* Revert "add workaround for CL-HEREDOC-SYSTEM package"Sean Whitton2021-04-01
| | | | | | | | This reverts commit 3a635a8810fca3fb46e1ab3e7bca6ee502f9acf7. The bug has been fixed in upstream CL-HEREDOC. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace some (REQUIRE "sb-posix") calls with conditional dependencySean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:CONTAINS-EQUALS-CONF & rename property for conf-space filesSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add SSHD:INSTALLED, SSHD:CONFIGUREDSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some properties for setting keys & values in configuration filesSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:MAP-FILE-LINES: cope with non-existent fileSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APPLY-AND-PRINT: propagate :NO-CHANGESean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* property/file.lisp: use WITH-CHANGE-IF-CHANGES-FILE{,-CONTENT}Sean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DIRECTORY-EXISTS: assume no changeSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DOES-NOT-EXIST: add a :CHECK subroutineSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: add descriptionSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:RUNNING: assume no change madeSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* GNUPG:PUBLIC-KEY-IMPORTED: use WITH-CHANGE-IF-CHANGES-FILESean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add WITH-CHANGE-IF-CHANGES-FILE{,-CONTENT}Sean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* AS combinator: special case where USER is "root"Sean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* 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>
* 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>