Skip to content

Added tool for verifying vgrid format#490

Open
Martin-Rehr wants to merge 1 commit intonextfrom
add/verify-vgrid-format
Open

Added tool for verifying vgrid format#490
Martin-Rehr wants to merge 1 commit intonextfrom
add/verify-vgrid-format

Conversation

@Martin-Rehr
Copy link
Contributor

@Martin-Rehr Martin-Rehr commented Mar 16, 2026

Helper script bin/verifyvgridformat.py to detect vgrids using the old legacy format and suggest migration commands.

Walks the vgrid_home directory tree looking for vgrids identified by the presence of an owners file. Optionally scoped to a single named vgrid via the -n flag.

Format checks each discovered vgrid, it checks whether the files are stored in the legacy format (a plain directory directly under vgrid_files_home) or the current format (a symlink structure pointing into vgrid_files_writable). It also validates that symlinks for sub-vgrids aren't dead.

When verbose mode is enabled (-v), the script outputs the shell commands necessary to migrate legacy vgrids to the current format.

@Martin-Rehr Martin-Rehr requested a review from a team March 16, 2026 16:43
@Martin-Rehr Martin-Rehr self-assigned this Mar 16, 2026
@Martin-Rehr Martin-Rehr added the enhancement New feature or request label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant