
Regarding Debian packaging this was a rather quiet month. I uploaded version 1.24.0-1 of foot and version 2.8.0-1 of git-quick-stats. I took the opportunity and started migrating my packages to the new version 5 watch file format, which I think is much more readable than the previous format.
I also uploaded version 0.1.1-1 of
libscfg to NEW. libscfg
is a C
implementation of the scfg configuration
file format and it is a dependency of recent version of
kanshi. kanshi
is a tool
similar to autorandr which allows you define output profiles and kanshi
switches to the correct output profile on hotplug events. Once libscfg
is in
unstable I can finally update kanshi
to the latest version.
A lot of time this month in finalizing a redesign of the output rendering of
carl. carl
is a small rust program I wrote
that provides a calendar view similar to cal
, but it comes with colors and
ical file integration. That means that you can not only display a simple
calendar, but also colorize/highlight dates based on various attributes or
based on events on that day. In the initial versions of carl
the output
rendering was simply hardcoded into the app.
This was a bit cumbersome to maintain and not configurable for users. I am
using templating languages on a daily basis, so I decided I would reimplement
the output generation of carl
to use templates. I chose the
minijinja Rust library which is
“based on the syntax and behavior of the Jinja2 template engine for Python”.
There are others out there, like tera, but
minijinja seems to be more active in development currently. I worked on this
implementation on and off for the last year and finally had the time to finish
it up and write some additional tests for the outputs. It is easier to maintain
templates than Rust code that uses write!()
to format the output. I also
implemented a configuration option for users to override the templates.
Additional to the output refactoring I also fixed couple of bugs and finally released v0.4.0 of carl.
In my dayjob I released version 0.53 of apis-core-rdf which contains the place lookup field which I implemented in August. A couple of weeks later we released version 0.54 which comes with a middleware to show pass on messages from the Django messages framework via response header to HTMX to trigger message popups. This implementation is based on the blog post Using the Django messages framework with HTMX. Version 0.55 was the last release in September. It contained preparations for refactoring the import logic as well as a couple of UX improvements.
debian foss acdh django python rust carl