fix(web/panettone): Put snapshot in the right place
For some reason cl-prevalence tries to put the snapshot in the *parent directory* of the directory that's passed to make-prevalence-system. This is icky, but this should work around it Fixes: #2 Fixes: #3 Fixes: #4 Change-Id: I8300246275887653586108cd7b3b033df3bca203 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1401 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi>
This commit is contained in:
parent
bd3c19320a
commit
d8a0bd9e75
1 changed files with 5 additions and 1 deletions
|
@ -158,7 +158,11 @@ updated issue"
|
|||
(defun initialize-persistence (data-dir)
|
||||
"Initialize the Panettone persistence system, storing data in DATA-DIR"
|
||||
(ensure-directories-exist data-dir)
|
||||
(setq *p-system* (cl-prevalence:make-prevalence-system data-dir))
|
||||
(setq *p-system*
|
||||
(cl-prevalence:make-prevalence-system
|
||||
(concatenate 'string
|
||||
data-dir
|
||||
"/snapshot.xml")))
|
||||
|
||||
|
||||
(when (null (list-issues *p-system*))
|
||||
|
|
Loading…
Reference in a new issue