Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 7, 2026

Addressed review comment questioning the use of $SPACK_REPO_ROOT for the spack repo set --destination command.

Context

The --destination argument in spack repo set has different semantics than the path argument in spack repo add:

  • spack repo add <path>: registers a repository located at <path>
  • spack repo set --destination <path> <name>: relocates repository <name> to <path>

Resolution

No code changes required. The current implementation correctly uses $SPACK_REPO_ROOT (/opt/spack-repos) for all repositories including builtin, consolidating them in a single location with appropriate group permissions for the spack group.

spack --timestamp repo add --scope site $SPACK_REPO_ROOT/phlex-spack-recipes/spack_repo/phlex
spack --timestamp repo add --scope site $SPACK_REPO_ROOT/fnal_art/spack_repo/fnal_art
spack --timestamp repo set --scope site --destination $SPACK_REPO_ROOT builtin

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Fix feedback on VSCode dev container setup Clarify Spack repository configuration semantics in response to review feedback Jan 7, 2026
Copilot AI requested a review from greenc-FNAL January 7, 2026 20:00
@greenc-FNAL greenc-FNAL marked this pull request as ready for review January 7, 2026 20:01
Copilot AI review requested due to automatic review settings January 7, 2026 20:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@greenc-FNAL greenc-FNAL merged commit da7ab69 into feature/vscode-dev-container Jan 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants