aboutsummaryrefslogtreecommitdiff
path: root/src/host.lisp
Commit message (Collapse)AuthorAge
* http -> https for fsf.org and gnu.org URIsSean Whitton2023-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add PUSH-HOSTATTR, don't use &rest in PUSH-HOSTATTRS & fix docstringSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename basic propapp accessorsSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFAULT-DEPLOYMENT: leave unbound when not suppliedSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename DEFINE-PRINT-OBJECT-FOR-STRUCTLIKE & REINIT-STRUCTLIKESean Whitton2022-03-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add HAS-HOSTATTRSSean Whitton2021-11-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* REPLACE-PROPSPEC-INTO-HOST: union the lists of ASDF systemsSean Whitton2021-07-06
| | | | | | Also see 646585a7a79f3ff6b8f5fc413b87f0903f3c2151. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MAKE-PROPSPEC: propagate *CONSFIG* even when propspec expression nilSean Whitton2021-07-06
| | | | | | | | | | | | | | | Previously, MAKE-PROPSPEC would store nil for the SYSTEMS slot in the case where the PROPSPEC argument was nil. The idea behind this was that if there are no properties to apply, then there is no need to load any ASDF systems. However, the SYSTEMS slot is how a HOST value containing the propspec records the systems required not just to apply its properties, but also what's required to instantiate all of its hostattrs. For example, when some of these hostattrs are CLOS objects, the classes of those objects must be loaded. So don't set SYSTEMS to nil just because the propspec expression is nil. Also see edbba484918f6de83680a5b29e561fba981e05e9. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* REPLACE-PROPSPEC-INTO-HOST: drop :DATA hostattrsSean Whitton2021-06-23
| | | | | | | | This means that when using DEPLOY-THESE and similar, there won't be errors about missing prerequisite data that is needed only for properties we're not actually applying. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define *PREPROCESSING-HOST* earlierSean Whitton2021-06-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out ENSURE-HOST & call it in hostattrs accessorsSean Whitton2021-05-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* hostattrs accessors: call PREPROCESS-HOST in some situationsSean Whitton2021-05-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* ensure implicitly defined hosts have a hostname & add HOSTNAME:ISSean Whitton2021-05-29
| | | | | | | | | | | | | Previously, the hosts representing chroots defined inline using dotted propapp notation did not have any hostname in their hostattrs, but many properties assume that every HOST object has a hostname. HOSTNAME:IS can be used to override the default value we provide in MAKE-CHILD-HOST. This approach avoids adding a hostname parameter to properties like CHROOT:OS-BOOTSTRAPPED, which would be less convenient because many chroots do not need a hostname different from their parent's. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define UNION-PROPSPEC-INTO-HOST for null second argumentSean Whitton2021-04-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define & use DEFINE-PRINT-OBJECT-FOR-STRUCTLIKESean Whitton2021-04-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add WITH-THESE-OPEN-VOLUMES macro property combinatorSean Whitton2021-04-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add HOSTDEPLOY, HOSTDEPLOY-THESESean Whitton2021-04-05
| | | | 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>
* untabifySean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add default for :PROPSPEC argument to MAKE-HOSTSean Whitton2021-03-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and export WITH-PRESERVE-HOSTATTRSSean Whitton2021-03-20
| | | | 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>
* add a way for chroots, containers etc. to get at parent hostattrsSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* pull MAKE-PROPSPEC out of PROPS & set SYSTEMS from *HOST*Sean Whitton2021-03-19
| | | | | | | | We want a property application specification expression to be what goes into DEFPROPSPEC because then we can set the systems slot based on the host to which the property is applied, rather than looking at *CONSFIG*. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFHOST does not need to call %REPLACE-PROPSPEC-INTO-HOSTSean Whitton2021-03-18
| | | | | | Doing so was also causing preprocessing to happen too early. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix %REPLACE-PROPSPEC-INTO-HOST to actually preserve hostattrsSean Whitton2021-03-18
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* call :PREPROCESS and :HOSTATTRS subroutines laterSean Whitton2021-03-15
| | | | | | | Avoids us trying to eval propspecs at DEFHOST time, which can get us into ASDF loading loops. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* attempt to implement revised propspecs specSean Whitton2021-03-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use AND rather than WHEN calling for return valueSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add MAKE-HOSTSean Whitton2021-03-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix printing embedded hosts and propspecsSean Whitton2021-03-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define three destructive operations on hosts & propspecs earlierSean Whitton2021-03-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace DEFHOSTDEPLOYSean Whitton2021-03-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework executing :HOSTATTRS subroutinesSean Whitton2021-03-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some accessorsSean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define PRINT-OBJECT methods sufficient to readably print *HOST*Sean Whitton2021-02-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix argument order in call to PUSHSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* split up core.lisp and get rid of .util/.core package distinctionSean Whitton2021-02-20
Main benefit is I can recompile individual DEFPACKAGE forms in package.lisp without having to recompile that whole file. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>