From 56d3d1f84c4e631fb9e8e380cdc65bceefa3c10c Mon Sep 17 00:00:00 2001 From: vindarel Date: Sat, 18 Nov 2023 15:51:40 +0100 Subject: [PATCH] rm fof and moira libraries because of their dependency on Osicat which depends on its libosicat.so, which makes it more difficult to deploy executables. This dependency might be fixed upstream, check out the linked issues. --- README.md | 3 ++- ciel.asd | 14 ++++++++++++-- docs/dependencies.md | 6 ++++-- docs/libraries.md | 7 +++++-- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e731325..a71b593 100644 --- a/README.md +++ b/README.md @@ -223,7 +223,8 @@ So, save you some typing with a shell alias: ## Scripting -NOTE: this is brand new! Expect limitations and changes. +> [!NOTE] +> this is brand new! Expect limitations and changes. Get the `ciel` binary and call it with your .lisp script: diff --git a/ciel.asd b/ciel.asd index 90b75a8..b35d52d 100644 --- a/ciel.asd +++ b/ciel.asd @@ -20,12 +20,22 @@ :access :alexandria :arrow-macros - :fof ;; file-object-finder + + ;; Those are two dependencies that we like, + ;; but that depend on osicat, hence complicate deployment of binaries. + ;; check with (ql:who-depends-on "osicat") + ;; Maybe create a sub-system with them. + ;; + ;; :fof ;; concise file-object finder. + ;; :moira ;; monitor and restart background threads. + ;; + ;; see + ;; https://gitlab.com/ambrevar/fof/-/issues/6 + ;; https://github.com/ruricolist/moira/issues/1 ;; threads :bordeaux-threads :trivial-monitored-thread - :moira :lparallel :cl-cron diff --git a/docs/dependencies.md b/docs/dependencies.md index b7e836f..a837dcf 100644 --- a/docs/dependencies.md +++ b/docs/dependencies.md @@ -26,7 +26,8 @@ variables and and function return values. - easy-routes: Yet another routes handling utility on top of Hunchentoot - fiveam: A simple regression testing framework - fn: Some macros for lambda brevity -- fof: File-object finder. Enable rapid file search, inspection and manipulation. + + - for: An extensible iteration macro library. - fset: A functional set-theoretic collections library. See: http://www.ergy.com/FSet.html @@ -42,7 +43,8 @@ See: http://www.ergy.com/FSet.html - nodgui: Tck-Tk graphical user interfaces. nodgui is a fork of Ltk with a built-in theme and more widgets. - metabang-bind: Bind is a macro that generalizes multiple-value-bind, let, let*, destructuring-bind, structure and slot accessors, and a whole lot more. - modf: A SETF like macro for functional programming -- moira: Monitor and restart background threads. + + - named-readtables: Library that creates a namespace for readtables akin to the namespace of packages. - parse-float: Parse floating point values in strings. diff --git a/docs/libraries.md b/docs/libraries.md index 3465750..7124237 100644 --- a/docs/libraries.md +++ b/docs/libraries.md @@ -487,7 +487,7 @@ filesystem:truenamize filesystem:with-current-directory ``` -We include the [FOF (File-object finder)](https://gitlab.com/ambrevar/fof/) library, which is very useful to: +We'd like to mention the [FOF (File-object finder)](https://gitlab.com/ambrevar/fof/) library, which is very useful to: - search for files, recursively or not, and filter with our predicates, - inspect the file objects with the regular `inspect` or `describe` @@ -512,6 +512,8 @@ In practice, it mostly supersedes: Note that FOF is not meant to manipulate arbitrary paths of non-existing files. Consider using [ppath](https://github.com/fourier/ppath) instead. +> Note: `fof` isn't shipped by default in CIEL anymore since 2023, Nov 18th, you should `quickload`. While still useful, it complicates a little bit the deployment of executables because of its dependency on Osicat, which depends on its own `libosicat.so` shared library. + Quick examples: ~~~lisp @@ -773,7 +775,8 @@ We ship: [Lparallel](https://lparallel.org/) -[Moira](https://github.com/ruricolist/moira) (monitor and restart background threads) + + [trivial-monitored-thread](http://quickdocs.org/trivial-monitored-thread/)