<feed xmlns='http://www.w3.org/2005/Atom'>
<title>krino.git/gui/internal/ui/plan.go, branch main</title>
<subtitle>rule-based file sorter in Go, shows the plan before touching anything, applies only the files you choose, and can undo any run, with s-expression rules and a GTK 4 window</subtitle>
<id>https://git.labunix.xyz/krino.git/atom?h=main</id>
<link rel='self' href='https://git.labunix.xyz/krino.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/'/>
<updated>2026-09-17T12:11:52Z</updated>
<entry>
<title>the window cannot pull the lock out from under a running apply</title>
<updated>2026-09-17T12:11:52Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T12:11:52Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=ed86f44a926fd1f0d438cbe5e2e10ad5b063db55'/>
<id>urn:sha1:ed86f44a926fd1f0d438cbe5e2e10ad5b063db55</id>
<content type='text'>
Close releases the directory lock and closes the log. The window could
reach it while an apply was still running - saving rules, saving
settings, adding a directory, or closing the window - and the engine
then went on moving files with the log shut underneath: a file moved
that no krino undo can see, the rest of the plan silently abandoned,
and the directory unlocked while krino was still working in it.

PlanTab and UndoTab refuse to close while their apply is in flight
(model.ErrApplying), the window's close request and reloadEngine honour
the refusal instead of ignoring it, and the tabs and Settings are greyed
out for the duration so a button that cannot work says so by being
unavailable rather than by an error afterwards.

The test starts an apply, calls Close from another goroutine while it
is in flight, and requires the refusal.
</content>
</entry>
<entry>
<title>the module path is git.labunix.xyz/krino</title>
<updated>2026-09-17T10:54:06Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T10:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=1884d56b0d399e9cdb80016a9c166b0120989933'/>
<id>urn:sha1:1884d56b0d399e9cdb80016a9c166b0120989933</id>
<content type='text'>
So that go install can find it. cgit serves no go-import meta tag, so
nginx answers a ?go-get=1 request for /NAME with one pointing at
https://git.labunix.xyz/NAME.git; the alternative was carrying a .git
suffix through every import line forever.

One sed over the imports, both go.mod files, and the dependency gate's
whitelist. Nothing else depends on the path. go install works from the
next tag, the first release whose go.mod carries it.
</content>
</entry>
<entry>
<title>comments that explain the code, not how it was written</title>
<updated>2026-09-17T10:11:42Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T10:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=bddbd74e4a73e8e32bcf648efd1cac5655f6d0cd'/>
<id>urn:sha1:bddbd74e4a73e8e32bcf648efd1cac5655f6d0cd</id>
<content type='text'>
About 340 comments cited the development process: task and plan
numbers, fix waves, rulings, reviewers, and the author in the third
person with a date. None of that exists outside the work itself, so to
a reader it pointed at nothing. Each one now states the engineering
reason it was standing in front of; where a comment was provenance and
nothing else, it is gone.

References to docs/design.md and docs/gui-design.md by section stay:
both ship with the repository. The design documents lose their
amendment diaries - CHANGELOG.md is that record - and the GUI's says
plainly that the window has gone further than the document.

Only comments changed. Every .go file was parsed and its code printed
with comments stripped, before and after: the two hashes are identical
across all 175 files.
</content>
</entry>
<entry>
<title>gui: the path keeps its telling end, and the checklist grows three items</title>
<updated>2026-09-17T09:49:35Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T09:49:35Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=3ff1363446e238a8d7a9fdeb533763fb3f9ec307'/>
<id>urn:sha1:3ff1363446e238a8d7a9fdeb533763fb3f9ec307</id>
<content type='text'>
Squeezed, the toolbar's path label read "/t... ds". It now elides the
start, since the end of a path is the part that says which directory
this is, and will not shrink below about sixteen characters; the
tooltip still holds it in full.

The checklist gains the reordered bar, the About block, and the
sandbox trap that had every file skipped: krino's own (min-age 2m)
ignores a file written in the last two minutes.
</content>
</entry>
<entry>
<title>gui: the toolbar in the order things happen, and an About block</title>
<updated>2026-09-17T09:44:09Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T09:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=629ec29e33506a9bf96f552dcc2e6b6cd0560916'/>
<id>urn:sha1:629ec29e33506a9bf96f552dcc2e6b6cd0560916</id>
<content type='text'>
The Plan bar now reads left to right as the work does: which
directory, how it should be listed, what of it, where it is on disk -
then Scan, and only then what to do with what came back. Scan carries
the theme's accent, being the button that starts everything.

Settings ends with About: the program and the version it was built
as, what it is in a sentence, the licence, and who to write to. The
text is model.About so it is tested; ui.Version is stamped by main.

leak-check knows krino's own contact address, so the address check
stays useful without a per-clone setting.
</content>
</entry>
<entry>
<title>gui: an exclude is not a rule - the form no longer assumes one</title>
<updated>2026-09-17T09:27:00Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T09:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=0e56395aaa46359974a5eb21acaab32b2ea02a0f'/>
<id>urn:sha1:0e56395aaa46359974a5eb21acaab32b2ea02a0f</id>
<content type='text'>
Selecting the exclude row in Forms panicked: newFormEditor read the
form's rule for its when, name, action and stop, and an exclude has
only the when. The editor now takes the conditions from whichever of
the two the form holds and leaves out the fields an exclude has not
got. Checklist item 49 covers it.

Also the 0.0.11 changelog and README, and header floors wide enough
that the age heading is not clipped.
</content>
</entry>
<entry>
<title>gui: conditions as a nested tree, and a way to add a directory</title>
<updated>2026-09-17T08:56:19Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T08:56:19Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=48d1781fed3f9ea5cfd2b270bd92fd2826605636'/>
<id>urn:sha1:48d1781fed3f9ea5cfd2b270bd92fd2826605636</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gui: name the other copy of a duplicate, and offer to keep this one instead</title>
<updated>2026-09-17T08:15:45Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T08:15:45Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=a2cb20851499e9c00bd3bf642680a9ce3148cae8'/>
<id>urn:sha1:a2cb20851499e9c00bd3bf642680a9ce3148cae8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gui: sort the plan by name, size, age, action or rule</title>
<updated>2026-09-17T08:05:55Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T08:05:55Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=47b6776c2cb9b017ad95acb5aae8e34b8776fc7c'/>
<id>urn:sha1:47b6776c2cb9b017ad95acb5aae8e34b8776fc7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gui: size and age columns, column toggles, readable colours, a laid-out explanation</title>
<updated>2026-09-17T07:40:24Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T07:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=0e067e693609589d46f5aa6e161b95cc905987cc'/>
<id>urn:sha1:0e067e693609589d46f5aa6e161b95cc905987cc</id>
<content type='text'>
</content>
</entry>
</feed>
