Create the core tree and DONBOX_PATH #15
Labels
No labels
approved
bug
changes-requested
ci
decision
declined
discuss
docs
feature
meta
now
packaging
refactor
release
repo/core
repo/krystal
repo/plugins
repo/themes
status/backlog
status/in-progress
status/next
status/review
ux
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
joshquinlan/donbox#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New layout (bin, lib, default, shell, plugins, themes, migrations, install, test); the session exports DONBOX_PATH; nothing derives paths from HOME.
Done on branch
coreas 4e6aa80.bin/, lib/, default/, install/ and test/ exist only where a real
file lands.
bin/donboxtakes DONBOX_PATH from the environmentand, when it is unset, resolves it from its own resolved
location (symlinks followed) and exports it.
The session gets the variable from
~/.config/environment.d/50-donbox.conf, written byinstall/environment, which resolves the checkout from its ownlocation and rewrites the file only when it has changed. A
systemd user environment generator was the first attempt and
was dropped: systemd has no per-user search path for those, so
it would have needed root to install.
default/systemd/user/donbox-session.targetverifies cleanunder
systemd-analyze --user verify.test/shellandtest/shell.d/base-test.share carried over, with the XDGtrees pointed at a sandbox so no suite can reach the real ones,
and
test/shell.d/path-test.shcovers the resolution.Integrated on master (
f9cbe76): tree, DONBOX_PATH resolved by the router and exported through ~/.config/environment.d/50-donbox.conf by install/environment, donbox-session.target, sandboxed test runner.