Re:Ultralisp: A fast-moving Common Lisp software distribution
by taeric on Sunday June 16, 2019 @06:59PM
(#20198497)
Is this as easy to do as it sounds? Any chance you have documented any curves along the way?
[ Parent
| on HN ]
Re:Ultralisp: A fast-moving Common Lisp software distribution
by dwringer on Sunday June 16, 2019 @10:01PM
(#20199223)
I have been doing this for a while by following a pattern found here[0]. I typically follow this and copy every asdf package dependency into the working directory of whatever project I'm working on [setting the subdir-search-registry to (list (truename "./asdf-systems/")) and placing the files into a subdirectory of that name] .This way I have the option to make changes in them without affecting anything else on the system depending on the same package. In general this means I use Quicklisp as a (huge) convenience in finding packages when programming interactively in the REPL, but not in deployment. I think this setup is also nice because it is dead simple to drop in copies of asdf packages from the web that aren't found in the Quicklisp library.
[0] https://en.wikibooks.org/wiki/Common_Lisp/External_libraries...
Re:Ultralisp: A fast-moving Common Lisp software distribution
by dreamcompiler on Sunday June 16, 2019 @11:39PM
(#20199694)
I do it like this because the asdf central-registry variable (which I can't write here because of asterisk problems) is supposedly deprecated:
(asdf:initialize-source-registry
(:SOURCE-REGISTRY
(:EXCLUDE "exclusion-string1" "exclusion-string2")
(:TREE #P"/Users/me/Lisp/my-repos/")
(:TREE #P"/Users/me/Lisp/quicklisp-repos/")
(:TREE #P"/Users/me/main-project/src/")
:IGNORE-INHERITED-CONFIGURATION))
Re:Ultralisp: A fast-moving Common Lisp software distribution
by dreamcompiler on Sunday June 16, 2019 @08:50PM
(#20198922)
It's all manual now but not that hard. Buried in Quicklisp are the locations of all its repos. The reason I haven't automated it is I don't know if there's a Github API for "Please fork this URI into my account if that's not already done." (Plus not every repo is on Github, and not every QL repo is a proper repo.) I haven't bothered to look into automating it because I don't use that many QL libraries, so manual operation is fine for me. Happy to work with you if you want to try to automate the process.
Re:Ultralisp: A fast-moving Common Lisp software distribution
by svetlyak40wt on Monday June 17, 2019 @04:48AM
(#20201057)
About 90% libraries from Quicklisp are hosted on the GitHub.