Add codespace setup for companion repositories#310
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Codespace/devcontainer automation to bring Phlex companion repositories (design docs, examples, coding guidelines, Spack recipes) into the same /workspaces environment as the main phlex repo, and documents the resulting layout for developers and Copilot agents.
Changes:
- Adds an
onCreateCommandthat clones companion repos into/workspaces. - Introduces a multi-root VS Code workspace spanning
phlexplus companion repos. - Documents the repository ecosystem and Codespace directory layout in Copilot instructions.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/copilot-instructions.md | Documents companion repos and the /workspaces/* layout for Codespaces/devcontainers. |
| .devcontainer/setup-repos.sh | New script to shallow-clone companion repositories into /workspaces. |
| .devcontainer/devcontainer.json | Runs the setup script via onCreateCommand during container creation. |
| .devcontainer/codespace.code-workspace | Adds a multi-root workspace that opens all repos together and sets shared tooling settings. |
Comments suppressed due to low confidence (2)
.devcontainer/setup-repos.sh:32
- This file ends with a trailing blank line. Repo text-formatting rules require the final line be non-empty and the file to end with exactly one newline (no extra blank lines at EOF). Remove the extra blank line at the end.
clone_if_absent phlex-spack-recipes
.devcontainer/codespace.code-workspace:120
- This workspace file ends with a trailing blank line. Repo text-formatting rules require the final line be non-empty and the file to end with exactly one newline (no extra blank lines at EOF). Remove the extra blank line at the end.
}
|
Review the full CodeQL report for details. |
556589e to
aa6ace8
Compare
Per #310 (comment) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…delines, spack-recipes) Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>
… paths Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>
Per #310 (comment) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7003113 to
cc9f2f1
Compare
…++23 standard, clarify repo descriptions Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>
I don't have access to the code scanning alerts API for this repository. The changes in this PR are configuration files (JSON, Markdown, shell script) which CodeQL doesn't analyze — the local CodeQL check confirms no applicable code changes were detected. If there are alerts in the report, they're likely pre-existing or from other branches. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
setup-repos.shscript to clone companion repos on codespace creationonCreateCommandtodevcontainer.jsonto run setup scriptcodespace.code-workspacewith all five reposcopilot-instructions.mdwith repository ecosystem and codespace layout docsrm -rfwith existence check💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.