Applies to goVault v1.1.0-RC.2 tool govault
BACKGROUND
The govault update subcommand takes a modified JSON (Virtual structure) file and updates the filesystem on disk accordingly by creating any new directories in the Virtual (JSON) structure that are not present in the real filesystem.
DRAWBACKS
Currently v1.1.0-RC.2 does that one-way update but does not flag any superfluous (sub)directories that are present on the filesystem that are an eyesore on your neat JSON file. Usually the idea is that the actual filesystem conforms to the Virtual structure you specified because you want replicability without compromise.
ENHANCEMENT
It would be nice that the update subcommand also do this:
- Flag directories in the real filesystem that are *not defined in the JSON structure file
- Perhaps add a
--non-strict flag to relax the detection by not flagging it. By default it would flag it.
- It must not -under any circumstance- delete directories that are flagged, that would be the responsibility of the user.
Applies to
goVault v1.1.0-RC.2toolgovaultBACKGROUND
The
govault updatesubcommand takes a modified JSON (Virtual structure) file and updates the filesystem on disk accordingly by creating any new directories in the Virtual (JSON) structure that are not present in the real filesystem.DRAWBACKS
Currently
v1.1.0-RC.2does that one-way update but does not flag any superfluous (sub)directories that are present on the filesystem that are an eyesore on your neat JSON file. Usually the idea is that the actual filesystem conforms to the Virtual structure you specified because you want replicability without compromise.ENHANCEMENT
It would be nice that the
updatesubcommand also do this:--non-strictflag to relax the detection by not flagging it. By default it would flag it.