aboutsummaryrefslogtreecommitdiff
path: root/src/data
Commit message (Collapse)AuthorAge
* DATA.FILES-TREE: say that there is no encoding of special charactersSean Whitton2022-07-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.FILES-TREE: be slightly more explicit about path concatenationSean Whitton2022-07-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* import PARSE-UNIX-NAMESTRING and DIRECTORY-PATHNAME-PSean Whitton2022-05-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* introduce the pass(1) data sourceDavid Bremner2022-05-05
| | | | | | | IDEN1 is mapped to a containing directory beneath a user defined pass(1) store, and IDEN2 completes the path to a gpg encrypted file. Signed-off-by: David Bremner <david@tethera.net>
* refactor use of gnupg in CONSFIGURATOR.DATA.PGPDavid Bremner2022-05-05
| | | | | | | | | | Add a new low level function GPG, and a function GPG-FILE-AS-STRING intended for use in the pgp data source and the future pass(1) data source. Both of these functions support a new parameter *DATA-SOURCE-GNUPGHOME*, which allows the user (or test suite) to control where key material is stored for accessing data sources. Signed-off-by: David Bremner <david@tethera.net>
* add package CONSFIGURATOR.DATA.UTILDavid Bremner2022-05-05
| | | | | | | | | | | | | | This package is intended to provide a home for utility functions used by multiple data sources. Initially move a local function from CONSFIGURATOR.DATA.FILES-TREE, and slightly generalize it to support an extension or TYPE argument. Note that the goal of LITERAL-DATA-PATHNAME is to map (IDEN1 IDEN2) to existing paths in a user-maintained file hierarchy. This is quite different from DATA-PATHNAME, which escapes various characters to map to a safe internal filename, effectively flattening a directory hierarchy into a single level. Signed-off-by: David Bremner <david@tethera.net>
* DATA.LOCAL-FILE: use :LOCATION not :FILE for keyword argumentSean Whitton2022-04-02
| | | | | | For consistency with some other data sources. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace ESCAPE-SH-TOKEN and ESCAPE-SH-COMMAND with new SH-ESCAPESean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.FILES-TREE docstring: state that IDEN1 can be a nested subdirSean Whitton2021-12-15
| | | | | | | The existing text does not imply that IDEN1 has to be right under LOCATION, but let's make it explicit. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.FILES-TREE docstring: minor formatting and wording changesSean Whitton2021-12-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :FILES-TREE data sourceDavid Bremner2021-12-15
| | | | | | | This allows the user to conveniently maintain a set of files in their consfig tree (or elsewhere) for deployment as data. Signed-off-by: David Bremner <david@tethera.net>
* DATA.LOCAL-FILE: fix IN-PACKAGE formSean Whitton2021-09-29
| | | | | Reported-by: David Bremner <david@tethera.net> Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use UIOP:XDG-CACHE-HOMESean Whitton2021-08-31
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* upload Lisp systems as tarballs, not concatenated sourceSean Whitton2021-08-22
| | | | | | This should enable depending on Lisp systems which use the CFFI Groveller. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :LOCAL-FILE data sourceSean Whitton2021-06-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.PGP: use WITH-STANDARD-IO-SYNTAXSean 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>
* 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>
* 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>
* DATA.SSH-ASKPASS: fix return value of first closureSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DATA.SSH-ASKPASS and use it to simplify the quick start guideSean Whitton2021-04-30
| | | | 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>
* add DATA.GPGPUBKEYSSean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DATA.GIT-SNAPSHOTSean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* simplify definition of MISSING-DATA-SOURCESean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* untabifySean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename :DEBIAN-SBCL -> :SBCL & use a property to install sbclSean Whitton2021-03-22
| | | | | | | Unconditionally calling apt was actually the only Debian-specific thing about the connection type. 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>
* DATA.PGP: set DATA-VERSION slotSean Whitton2021-02-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.ASDF: set :VERSION field in FILE-DATA objectSean Whitton2021-02-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* set :IDEN1 and :IDEN2 when initialising DATA objectsSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.PGP: fix cache flushingSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.PGP: wrap extracted data in correct objectSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* touch(1) is not sufficient to first start using DATA.PGPSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* update iden1 valuesSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* have PGP data source signal MISSING-DATA-SOURCESean Whitton2021-02-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* have asdf check function actually return a versionSean Whitton2021-02-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement simple pgp prerequisite data storeSean Whitton2021-02-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* ideas about trying to avoid uploading deps available from DebianSean Whitton2021-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace call to removed functionSean Whitton2021-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* update DATA.ASDF for new data classesSean Whitton2021-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix commit of accidental M-cSean Whitton2021-02-18
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* import some names from uiopSean Whitton2021-02-18
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* normalise file headers and some commentsSean Whitton2021-02-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix a loop, some function calls and a declarationSean Whitton2021-02-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* specify MIME type for concatenated systemsSean Whitton2021-02-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move code into an src/ subdirSean Whitton2021-02-16
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>