@mdhughes something I've done a bit which might be bad is use the asdf system directory from (asdf:system-source-directory :my-system) to also keep ephemeral data in (git ignored). I should probably figure that xdg stuff out one day.
Conversation
Notices
-
Embed this notice
screwlisp (screwtape@mastodon.sdf.org)'s status on Tuesday, 21-Jan-2025 10:41:09 JST screwlisp
-
Embed this notice
Paul SomeoneElse (pkw@snac.d34d.net)'s status on Tuesday, 21-Jan-2025 11:44:40 JST Paul SomeoneElse
The two i find really useful are:
(asdf:system-relative-pathname "dead-air" "_data/config.lisp")
Which will put it relative to the dead-air.asd file in your project.
OR to put it in your home directory:
(format nil "~a/.record_del.db" (uiop:getenv "HOME"))
Either of these should work on any OS type.
CC: @mdhughes@appdot.net
-
Embed this notice