3
26
Fork
You've already forked mere
1

rootless-support #78

Merged
jhuntwork merged 2 commits from feat/rootless-support into main 2026年06月04日 01:31:04 +02:00

Add a global --root/-r flag and MERE_ROOT environment variable to set
the root prefix path for all mere operations. This enables fully
rootless package management by pointing the store, profiles, gc-roots,
and config to a user-owned directory tree.

Precedence: --root flag > MERE_ROOT env > default (/)

The internal plumbing (Context.root_path) already supported arbitrary
roots — this change exposes it externally.

Closes #67

Add a global --root/-r flag and MERE_ROOT environment variable to set the root prefix path for all mere operations. This enables fully rootless package management by pointing the store, profiles, gc-roots, and config to a user-owned directory tree. Precedence: --root flag > MERE_ROOT env > default (/) The internal plumbing (Context.root_path) already supported arbitrary roots — this change exposes it externally. Closes #67
@intFromBool returns u1 in Zig 0.16, so adding three u1 values
overflows on the second addition (1 + 1 > u1 max). Widen to u8
with @as before adding.
feat: support rootless operation via --root flag and MERE_ROOT env
All checks were successful
/ test (pull_request) Successful in 4m59s
9e10613cea
Add a global --root/-r flag and MERE_ROOT environment variable to set
the root prefix path for all mere operations. This enables fully
rootless package management by pointing the store, profiles, gc-roots,
and config to a user-owned directory tree.
Precedence: --root flag > MERE_ROOT env > default (/)
The internal plumbing (Context.root_path) already supported arbitrary
roots — this change exposes it externally.
Closes #67 
jhuntwork deleted branch feat/rootless-support 2026年06月04日 01:31:04 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
merelinux/mere!78
Reference in a new issue
merelinux/mere
No description provided.
Delete branch "feat/rootless-support"

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?