starting new job...
→ running command: cd "/etc/byggsteg/job-clone//lucidplan/trunk" && git reset --hard && git pull
HEAD is now at 05790e3 feat: Modernize Maak automation
From https://codeberg.org/jjba23/lucidplan
05790e3..8c1188c trunk -> origin/trunk
* [new tag] v1.8.1 -> v1.8.1
* [new tag] v1.8.2 -> v1.8.2
Updating 05790e3..8c1188c
Fast-forward
maak.scm | 193 ++++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 110 insertions(+), 83 deletions(-)
→ running command: cd /etc/byggsteg/job-clone/lucidplan/trunk && uname -a
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/lucidplan/trunk && git log --name-status HEAD^..HEAD
commit 8c1188c4f920db292d98dcd984d73b45583c707b
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sat Oct 24 16:37:08 2026 +0200
chore: Release v1.8.2
Modernize maak.scm to the Maak v0.12.2 DSL: run and typed helpers instead of
$ shell strings, plus git, archive, container, nix, net and Guix wrappers,
capture, task-error, ~, and #:env/#:sudo?/#:expand? decorators. Bump the
version by 0.0.1.
M maak.scm
→ running command: cd /etc/byggsteg/job-clone/lucidplan/trunk && maak test
scanning directories for unit tests...
scanning present working directory for unit tests...
shuffled the files with seed 464131441 (replay with VERITAS_SEED=464131441)
found unit tests: (ticket-triage-spec.scm ticket-thread-spec.scm ticket-estimate-spec.scm)
running unit tests from file: ticket-triage-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 464131441 (replay with VERITAS_SEED=464131441)
+----------------------------------------------+
[📑 suite] the list a project's tickets move through
[🧪 test] a project with none uses the instance's
[⚙️ assert] a project that says nothing falls back to the instance
✅ got: ((todo To-do anchor ⚓ open) (work-in-progress Work in Progress gear-fine ⚙️ open) (in-review In Review list-magnifying-glass 🔍 open) (done Done check ✅ done) (rejected Rejected x ❌ rejected))
[🧪 test] a project with a list of its own uses it
[⚙️ assert] the project's own list is the one read
✅ got: (todo shipped)
[🧪 test] a project that could not be read is not an error
[⚙️ assert] no project at all falls back to the instance
✅ got: ((todo To-do anchor ⚓ open) (work-in-progress Work in Progress gear-fine ⚙️ open) (in-review In Review list-magnifying-glass 🔍 open) (done Done check ✅ done) (rejected Rejected x ❌ rejected))
+----------------------------------------------+
[📑 suite] the order a list is asked for in
[🧪 test] a keyword nobody offers falls back to the last edited first
[⚙️ assert] an unknown order is the default one
✅ got: ((updated-at desc))
[⚙️ assert] and so is no order at all
✅ got: ((updated-at desc))
[🧪 test] a keyword the pages offer becomes an ORDER BY
[⚙️ assert] the title, A to Z
✅ got: ((title asc))
[⚙️ assert] the priority, highest first
✅ got: ((priority desc))
+----------------------------------------------+
[📑 suite] an inline change from the ticket's own page
[🧪 test] a field a ticket has no ladder for is refused
[⚙️ assert] the priority is not changed this way
✅ got: #f
[🧪 test] a status the project moves through is accepted
[⚙️ assert] the change is the column and its new value
✅ got: ((ticket-status . done))
[🧪 test] a type is checked against the types a ticket has
[⚙️ assert] a type on the ladder is accepted
✅ got: ((ticket-type . bug))
[⚙️ assert] a type nothing offers is refused
✅ got: #f
[⚙️ assert] the types are the ones the schema holds
✅ got: (task bug story spike time-box)
[🧪 test] a status the project does not move through is refused
[⚙️ assert] a status invented by hand changes nothing
✅ got: #f
[🧪 test] with no project list the instance's own is the ladder
[⚙️ assert] the first status of the instance's list is accepted
✅ got: #t
+----------------------------------------------+
[📑 suite] the assignee a form submitted
[🧪 test] an id that was offered is answered
[⚙️ assert] a known id is taken as it was submitted
✅ got: user-1
[🧪 test] no assignee is the absence of one, not an unknown user
[⚙️ assert] an empty submission leaves the ticket as it was
✅ got: #f
[🧪 test] an id that was not offered is refused
[⚙️ assert] an id no menu offered is not an assignee
✅ got: #f
[⚙️ assert] a value that is not text is not an assignee
✅ got: #f
+----------------------------------------------+
[📑 suite] a status that is not on the list
[🧪 test] is still a ticket somebody is working on
[⚙️ assert] an unknown status is bucketed as open
✅ got: open
[🧪 test] reads as itself when there is no label for it
[⚙️ assert] the value stands in for the label
✅ got: polishing
[⚙️ assert] there is no spec for it
✅ got: #f
[🧪 test] is not in any bucket's list
[⚙️ assert] the done bucket holds the statuses that are done
✅ got: (done)
+----------------------------------------------+
[📑 suite] statuses written by hand
[🧪 test] text that names nothing is not a list of statuses
[⚙️ assert] an empty block answers #f
✅ got: #f
[⚙️ assert] a block of notes alone answers #f
✅ got: #f
[🧪 test] a note and a blank line are skipped rather than read as statuses
[⚙️ assert] the comment is not a status
✅ got: #f
[⚙️ assert] no status was invented by the blank line
✅ got: 3
[🧪 test] the bucket is read
[⚙️ assert] a status in the done bucket says so
✅ got: done
[⚙️ assert] a status in the rejected bucket says so
✅ got: rejected
[🧪 test] each field of an entry is read
[⚙️ assert] the label is read
✅ got: To-do
[⚙️ assert] the icon is read
✅ got: anchor
[⚙️ assert] the glyph is read
✅ got: ⚓
[🧪 test] a field left out takes the default the rest of the code reads
[⚙️ assert] a bucket nothing knows is read as open
✅ got: open
[🧪 test] the values are read in the order they were written
[⚙️ assert] the read-back values keep their order
✅ got: (todo done rejected)
ℹ️ info - ran 6 tasks in: 0 seconds, 21292 microseconds
running unit tests from file: ticket-thread-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 464131441 (replay with VERITAS_SEED=464131441)
+----------------------------------------------+
[📑 suite] how big a file is, said in one line
[🧪 test] a size nobody knows is not a size
[⚙️ assert] no size answers nothing
✅ got:
[🧪 test] bytes are said as bytes
[⚙️ assert] a small file is counted in bytes
✅ got: 512 B
[⚙️ assert] an empty file is counted too
✅ got: 0 B
[🧪 test] larger files are said in the unit a reader expects
[⚙️ assert] a couple of kilobytes
✅ got: 2.0 KB
[⚙️ assert] a couple of megabytes
✅ got: 2.0 MB
+----------------------------------------------+
[📑 suite] how a download is named
[🧪 test] a path in the submitted name never reaches the header
[⚙️ assert] the plain form is cut to the last name
✅ got: hosts
[🧪 test] the disposition is a type and its parameters
[⚙️ assert] the type is the attachment disposition
✅ got: attachment
[🧪 test] both the plain and the encoded name are carried
[⚙️ assert] the disposition carries the two names
✅ got: (attachment (filename . my report.pdf) (filename* . UTF-8''my%20report.pdf))
+----------------------------------------------+
[📑 suite] the type a file is served as
[🧪 test] anything a header cannot carry becomes the generic type
[⚙️ assert] a line break would split the header
✅ got: application/octet-stream
[⚙️ assert] a quoted type is not a type
✅ got: application/octet-stream
[⚙️ assert] no type at all is the generic one
✅ got: application/octet-stream
[⚙️ assert] an empty type is the generic one
✅ got: application/octet-stream
[🧪 test] a media type is kept
[⚙️ assert] a type a header can carry survives
✅ got: text/plain
[⚙️ assert] a type the application made up survives
✅ got: application/vnd.oasis.opendocument.text
+----------------------------------------------+
[📑 suite] the name a file is served under
[🧪 test] what a header cannot carry is replaced
[⚙️ assert] quotes and backslashes do not survive
✅ got: my _report_.pdf
[⚙️ assert] a line break is replaced
✅ got: line_break.txt
[🧪 test] an empty name is still a name
[⚙️ assert] nothing submitted answers the generic
✅ got: attachment
[⚙️ assert] a name of nothing but space answers it too
✅ got: attachment
[⚙️ assert] no name at all answers it too
✅ got: attachment
[🧪 test] a name that is just a name is kept
[⚙️ assert] a plain name survives
✅ got: report.pdf
[🧪 test] only the last component of a submitted path is kept
[⚙️ assert] a path is cut to its last component
✅ got: passwd
[⚙️ assert] a separator a path could be written with does not survive
✅ got: #f
[🧪 test] a name is cut to a length a header can carry
[⚙️ assert] a very long name is shortened
✅ got: #t
+----------------------------------------------+
[📑 suite] the thread a ticket's comments make
[🧪 test] a thread that was written wrong still terminates
[⚙️ assert] a cycle is answered at the depth reached
✅ got: 2
[⚙️ assert] a missing parent is answered at the root
✅ got: 0
[🧪 test] an id read back from the database names the same comment
[⚙️ assert] a numeric parent names the same comment
✅ got: 1
[🧪 test] a comment nothing answers has no children
[⚙️ assert] the last word is the last word
✅ got: ()
[🧪 test] a reply is drawn under what it answers
[⚙️ assert] the answer to the first word
✅ got: (c2)
[⚙️ assert] nothing answers the answer but one
✅ got: (c3)
[🧪 test] the depth a comment is indented by is how far down it is
[⚙️ assert] a comment on the ticket is not indented
✅ got: 0
[⚙️ assert] a reply is indented once
✅ got: 1
[⚙️ assert] a reply to a reply is indented twice
✅ got: 2
[🧪 test] the comments on the ticket itself are the ones it hangs from
[⚙️ assert] the roots are the comments with no parent
✅ got: (c1 c4)
ℹ️ info - ran 5 tasks in: 0 seconds, 28789 microseconds
running unit tests from file: ticket-estimate-spec.scm, entrypoint: spec
ℹ️ info - shuffled with seed 464131441 (replay with VERITAS_SEED=464131441)
+----------------------------------------------+
[📑 suite] the changes a write to a ticket is recorded with
[🧪 test] every tracked field has the name a reader knows it by
[⚙️ assert] the seven tracked fields are named
✅ got: ((title title) (description description) (ticket-status status) (ticket-type type) (priority priority) (estimate-points story points) (estimate-size size))
[🧪 test] a field that moved is recorded with its two values
[⚙️ assert] the title, the label and both values
✅ got: ((title title a ticket another ticket))
[🧪 test] an estimate that was never made is not a change
[⚙️ assert] no estimate answers no change
✅ got: ()
[🧪 test] an estimate that was cleared is a change
[⚙️ assert] the estimate it had is recorded
✅ got: (3 )
[🧪 test] the two ways of saying nothing are the same state
[⚙️ assert] a missing value and an empty text agree
✅ got:
[⚙️ assert] and both are recorded as the empty text
✅ got:
[⚙️ assert] a number is recorded as its text
✅ got: 21
[🧪 test] a column the tracker does not watch is not a change
[⚙️ assert] the stamp is not a tracked field
✅ got: #f
[🧪 test] a ticket submitted back unchanged is not an edit
[⚙️ assert] nothing moved, so nothing is recorded
✅ got: ()
[🧪 test] several fields that moved are recorded one row each
[⚙️ assert] both estimates moved
✅ got: 2
+----------------------------------------------+
[📑 suite] an estimate changed from the ticket's own page
[🧪 test] a story point the menu offered is accepted
[⚙️ assert] the change is the column and its value
✅ got: ((estimate-points . 8))
[🧪 test] clearing an estimate is a change the menu offers
[⚙️ assert] the empty row changes the ticket
✅ got: ((estimate-points . ))
[🧪 test] a size the menu offered is accepted
[⚙️ assert] the change is the column and its value
✅ got: ((estimate-size . m))
[⚙️ assert] clearing a size is offered too
✅ got: ((estimate-size . ))
[🧪 test] a story point nobody offered is refused
[⚙️ assert] a value off the ladder changes nothing
✅ got: #f
[⚙️ assert] words change nothing
✅ got: #f
[🧪 test] a size nobody offered is refused
[⚙️ assert] a size off the ladder changes nothing
✅ got: #f
+----------------------------------------------+
[📑 suite] a ticket's t-shirt size
[🧪 test] a size on the ladder is taken as it is stored
[⚙️ assert] a size the menu offered is accepted
✅ got: l
[⚙️ assert] a size typed in capitals means the same
✅ got: xl
[⚙️ assert] space around it is not part of it
✅ got: m;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling test/veritas/unit/ticket-triage-spec.scm
;;; compiling lib/lucidplan/domain.scm
;;; compiling lib/lucidplan/config.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/config.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/domain.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/ticket-triage-spec.scm.go
;;; compiling test/veritas/unit/ticket-thread-spec.scm
;;; compiling lib/lucidplan/domain/ticket-comment.scm
;;; compiling lib/lucidplan/domain/repo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/domain/repo.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/domain/ticket-comment.scm.go
;;; compiling lib/lucidplan/attachments.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/lib/lucidplan/attachments.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/ticket-thread-spec.scm.go
;;; compiling test/veritas/unit/ticket-estimate-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/lucidplan/trunk/test/veritas/unit/ticket-estimate-spec.scm.go
[🧪 test] no size is no estimate
[⚙️ assert] an empty form is no size
✅ got: #f
[⚙️ assert] a value that is not text is no size
✅ got: #f
[🧪 test] a size nobody offers is refused
[⚙️ assert] a size off the ladder is refused
✅ got: #f
[⚙️ assert] the ladder is the shipped sequence
✅ got: (xs s m l xl xxl)
[🧪 test] each size is shown to a reader in capitals
[⚙️ assert] the smallest is shown in capitals
✅ got: XS
[⚙️ assert] the middle of the ladder
✅ got: M
[⚙️ assert] the largest is shown in capitals
✅ got: XXL
[⚙️ assert] a size nobody knows is shown as itself
✅ got: huge
+----------------------------------------------+
[📑 suite] a ticket's story-point estimate
[🧪 test] an estimate nobody made is no estimate, not zero
[⚙️ assert] an empty form is no estimate
✅ got: #f
[⚙️ assert] a blank form is no estimate
✅ got: #f
[⚙️ assert] no value at all is no estimate
✅ got: #f
[🧪 test] a number the team does not estimate with is refused
[⚙️ assert] a value off the ladder is refused
✅ got: #f
[⚙️ assert] a negative estimate is refused
✅ got: #f
[⚙️ assert] words are refused
✅ got: #f
[⚙️ assert] something that is not text is refused
✅ got: #f
[🧪 test] a number on the team's ladder is taken as that number
[⚙️ assert] a value the menu offered is accepted
✅ got: 5
[⚙️ assert] a number arrives as a number as well
✅ got: 13
[⚙️ assert] space around it is not part of it
✅ got: 3
[⚙️ assert] zero is an estimate somebody made
✅ got: 0
[🧪 test] the ladder is the one the menus and the endpoints share
[⚙️ assert] the points are the shipped sequence
✅ got: (0 1 2 3 5 8 13 21 34)
ℹ️ info - ran 4 tasks in: 0 seconds, 31152 microseconds
finished running tests
--------------------------------------------------------------
Maak 0.12.2: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/lucidplan/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Run the test suite with veritas.
The tests live under `test/veritas/': `unit/' for the ones that run on every
change, and `benchmark/' for the ones that measure rather than assert, which
veritas keeps apart because they answer a different question and take a
different amount of time. The application's own directories are on the load
path, so a test names the module it tests the way the application does.
Executing: env VERITAS_TEST_TYPE=unit VERITAS_RUN_BENCHMARKS=true guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile --fresh-auto-compile -L . -L lib -L test -c '(begin (setlocale LC_ALL "C.UTF-8") (use-modules (veritas runner)) (run-tests))'
;;; note: source file /etc/byggsteg/job-clone/lucidplan/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/lucidplan/trunk/maak.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/lucidplan/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/lucidplan/trunk/maak.scm.go
→ running command: cd /etc/byggsteg/job-clone/lucidplan/trunk && sudo herd enable lucidplan-daemon || true && sudo herd restart lucidplan-daemon || true
Enabled service lucidplan-daemon.
Service lucidplan-daemon has been started.
→ running command: cd /etc/byggsteg/job-clone/lucidplan/trunk && sudo maak deploy
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see ‘org-html-htmlize-output-type’)
finished publishing Lucidplan manual
--------------------------------------------------------------
Maak 0.12.2: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/lucidplan/trunk/maak.scm
Executing Maak tasks: deploy
--------------------------------------------------------------
=> Running Maak task: deploy
Deploy the project's documentation.
Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- emacs -Q --batch --eval '(progn (require (quote ox-html)) (setq org-html-prefer-user-labels t) (find-file "./README.org") (org-html-export-to-html) (message "finished publishing Lucidplan manual"))'
Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- emacs -Q --batch --eval '(progn (require (quote ox-html)) (setq org-html-prefer-user-labels t) (find-file "./README.org") (org-html-export-to-html) (message "finished publishing Lucidplan manual"))'
removed '/srv/http/jointhefreeworld.org/manuals/lucidplan/index.html'
renamed 'README.html' -> '/srv/http/jointhefreeworld.org/manuals/lucidplan/index.html'