An operator can choose where Ninlil keeps its data directory #219
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
lantea-one/ninlil#219
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?
Why
The data directory is fixed to the folder next to the executable (
Program.cs:169).What changes
src/dotnet/src/Ninlil.Web/Program.cs:169: read the data directory from a setting before it is used (lines 169-239, 427, 436). The default stays<exe folder>/data. Register the setting as a standalone configuration path inOptionsEnvironmentVariableRegistry.cs, update ENVIRONMENT.md (row and totals), and update the README.md "The data directory" table (README.md:766-776).Acceptance
src/dotnet/tests/Ninlil.Web.Tests, a second host (factory.CreateSecondHost) with the setting pointing to a temp folder writescluster-node-id.txtthere.dotnet test src/dotnet/tests/Ninlil.Web.Tests.Source
Program.cs:169; README.md:775.