aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* DATA.PGP: use WITH-STANDARD-IO-SYNTAXSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* store record of FASLs as Lisp dataSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.PGP: use SAFE-READ-FROM-STRINGSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop two unnecessary package name qualificationsSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* delete old FASLs for uploaded Lisp systemsSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFPACKAGE-CONSFIG: fix copying what we will modifySean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DEFPACKAGE-CONSFIGSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add ETC-DEFAULT:SETSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFPROP{SPEC,LIST}: include &AUX variables in :HOSTATTRS and :DESCSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* reflowSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* USER:HAS-ENABLED-PASSWORD: make INITIAL-PASSWORD a keyword argumentSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add USER:HAS-ENABLED-PASSWORDSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* don't recommend RUN over MRUN in generalSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* USER:HAS-ACCOUNT: use MRUNSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* USER::USER-EXISTS: use MRUNSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* USER:HAS-ACCOUNT: note that uses getent(1)Sean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CONSFIGURATOR.PROPERTY.HOSTNAMESean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:CONTAINS-CONF-TABSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-CONF-SPACE: add some quotation marksSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFINE-DOTTED-PROPERTY-MACRO: avoid evaluating default value formsSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFINE-DOTTED-PROPERTY-MACRO: fix & document handling of &OPTIONALSean Whitton2021-05-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-CONF-SPACE: accept any whitespace after the keySean Whitton2021-05-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CONSFIGURATOR.PROPERTY.CONTAINERSean Whitton2021-05-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:WITHOUT-STARTING-SERVICES: fix call to ESEQPROPSSean Whitton2021-05-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TODOs about non-portable uses of su(1)Sean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* ensure we fail if COMPILE-FILE* failsSean Whitton2021-05-23
| | | | | | | Possibly the load might succeed but the compilation fail, and the user should be informed. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* LOCALE:SELECTED-FOR: avoid always reporting a change & use MRUNSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* convert CONNECTION slots to connattrs & fix finding homedirsSean Whitton2021-05-23
| | | | | | | | | | | | HOME does not take into account /etc/passwd inside the chroot, even when starting a login shell with, e.g., "chroot /chroot sh -lc 'echo $HOME'" -- we would need something which emulates login(1), like su(1), but the -c argument to su(1) is not portable. getent(1) is not POSIX. So use tilde expansion. Additionally, avoid having UPLOAD-ALL-PREREQUISITE-DATA store values for the remote UID, remote homedir etc. from *before* the chroot/setuid operation. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* note that getent(1) is not strictly POSIX-compatibleSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA-CKSUM: fix argument when calling cksum(1)Sean Whitton2021-05-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:{DATA,SECRET}-UPLOADED: use CONTAINING-DIRECTORY-EXISTSSean Whitton2021-05-20
| | | | | | This handles the case of a relative path to a file right inside HOME. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DATA-UPLOADED, FILE:SECRET-UPLOADED: use MAYBE-WRITEFILE-DATASean Whitton2021-05-20
| | | | | | This avoids writing the file every deploy, even when unchanged. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:CONTAINING-DIRECTORY-EXISTSSean Whitton2021-05-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out MAYBE-WRITEFILE-STRINGSean Whitton2021-05-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* PATHNAME-FILE: return nil when PATHNAME-NAME returns nilSean Whitton2021-05-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-LINES: avoid writing file if lines already presentSean Whitton2021-05-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* reflowSean Whitton2021-05-17
| | | | | | Pure code motion. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* recompile remaining as soon as we've recompiled somethingSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* output the compile and/or load output when debug level at least 3Sean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* actually print the compile and/or load output on errorSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* separately upload, compile and load each ASDF systemSean Whitton2021-05-17
| | | | | | | | | | This avoids recompiling unchanged systems on every deploy, which makes for a decent performance boost, especially on systems with less processing power. Drop the idea of relying on distribution packages on the remote side -- we want to use the same version of the source as is running in the root Lisp. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CONTINUE-DEPLOY*-PROGRAM: avoid exporting unexported symbolsSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.ASDF: stop setting output translationsSean Whitton2021-05-17
| | | | | | | Our custom output translation was becoming part of the global ASDF configuration, changing where certain .fasl files were being saved. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* require debug level 4 for output for every RUN & MRUNSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INFORMAT when don't upload data as remote cache has a >= versionSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use UIOP rather than dpkg(1) to compare prerequisite data versionsSean Whitton2021-05-17
| | | | | | For both performance and portability reasons. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* make CACHED-DATA into a connattr and push to it more consistentlySean Whitton2021-05-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix --no-userinit sbcl(1) optionSean Whitton2021-05-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DATA-UPLOADED, FILE:SECRET-UPLOADED: ensure directory existsSean Whitton2021-05-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:WITHOUT-STARTING-SERVICES: use UNWIND-PROTECT-IN-PARENTSean Whitton2021-05-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>