libera/commonlisp - IRC Chatlog
Search
20:11:34
lisp123
I will report back - have a good idea -> (i) evaluate a function in the REPL, if you like the output you see, then have a command that is like (save-test) which staples the command together with the result into a unit test for the future
20:21:51
shka
etimmons: how can i make something like local-projects? i have a bunch of repositories clones that i want to develop together
20:30:40
pjb
then (setf asdf:*central-registry* (append (directory #P"~/something/like/local-project/*/") asdf:*central-registry*))
20:31:38
etimmons
shka: See the "Overriding VCS repos" section in <https://gitlab.common-lisp.net/clpm/clpm/-/blob/main/tutorial/tutorial.org>
20:31:46
shka
i mean, i am sold on the release part, i just wish i knew how to even use clpm during development
20:32:52
etimmons
So I'd love any feedback you have on <https://gitlab.common-lisp.net/clpm/clpm/-/issues/25>
20:34:34
etimmons
that clones the repo for you (if needed) and does whatever behind the scenes stuff necessary to get clpm to use your locally checked out version
20:36:12
shka
well, from my point of view, something like "local projects" directory in the context would be the simplest way to work with
20:36:48
shka
so for instance i could have vellum context, and vellum, vellum-plot, vellum-postmodern, vellum-csv clones in one directory
20:38:03
etimmons
I also plan for the next release to have some sort of "vendoring" support (installing deps directly to the project folder)
20:39:21
etimmons
For now, though, I believe you could use pjb's central-registry snippet to get something similar
20:40:17
etimmons
so you can have everything needed to run your code in one folder that can be plopped on a server, Docker container, etc. and used without needing CLPM present
20:40:22
shka
i mean, context knows the origins of all systems, so it seems to be a matter of simply having a cache?
20:41:28
shka
and in that case, they don't need to be in one place, but simply a way to have a command to copy everything into directory once in a while
20:42:16
etimmons
Yeah, that's basically what it would do. clpm would still cache everything in its own folders. But when you install with a special flag it would copy everything into the same folder as your project
20:45:12
etimmons
interesting. I'm definitely onboard with making the destination directory flexible. Hadn't considered copying the project itself though!
20:45:34
shka
i mean, project directory is just a source code, it is not a deployment container or whatever
20:58:51
shka
and that would construct new, anonymus context, install dependencies, deploy, remove the context
3:54:38
pillton
For those that were following the layering discussion yesterday, a recent patch to stealth-mixin added the function, stealth-mixin:add-mixin, which adds a class to another class' superclass list. This is one way to define a "layer" and add it to an existing class.
3:54:38
Colleen
pillton: mfiano said 12 hours, 46 minutes ago: You might find this thesis interesting; a more thorough explanation of the SDfF propagation network technique, which also uses the layering technique: https://www.cs.tufts.edu/~nr/cs257/archive/alexey-radul/phd-thesis.pdf
3:55:35
pillton
mfiano: Thanks. That thesis is referenced in the Software Design for Flexibility book. I had already downloaded it to read.