Skip to content

chore: rename project for devcontainer#326

Merged
plexoos merged 1 commit into
mainfrom
rename-proj-devcontainer
May 13, 2026
Merged

chore: rename project for devcontainer#326
plexoos merged 1 commit into
mainfrom
rename-proj-devcontainer

Conversation

@plexoos
Copy link
Copy Markdown
Member

@plexoos plexoos commented May 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 11, 2026 19:55
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3adf6689f4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CMakeLists.txt
endif()

project(eic-opticks VERSION 0.5.0 LANGUAGES CXX CUDA)
project(simphony VERSION 0.5.0 LANGUAGES CXX CUDA)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep exported CMake package name backward-compatible

Renaming the top-level project to simphony changes all exported package artifacts (${PROJECT_NAME}Config.cmake, ${PROJECT_NAME}:: namespace, and install include roots) because the install/export logic is parameterized by PROJECT_NAME in this same file. Existing consumers in this repo still depend on find_package(eic-opticks) and eic-opticks::... targets (for example examples/*/CMakeLists.txt and dd4hepplugins/CMakeLists.txt standalone mode), so those builds will fail to configure against a newly installed package from this commit.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@ggalgoczi will take care of this later. The repository/package rename is meant to carry through to the installed CMake package as well, so I do want the exported artifacts to move from eic-opticks to simphony (simphonyConfig.cmake, simphony::..., and the install include root).

Comment thread Dockerfile
ENV OPTICKS_HOME=/workspaces/eic-opticks
ENV OPTICKS_BUILD=/opt/eic-opticks/build
ENV OPTICKS_PREFIX=/opt/simphony
ENV OPTICKS_HOME=/workspaces/simphony
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve default workspace path compatibility in container

Changing OPTICKS_HOME to /workspaces/simphony breaks scripts that still default to the old repo path, so commands that rely on defaults now resolve missing files in the dev container. For example, examples/MC_Truth/run.sh defaults REPO=/workspaces/eic-opticks and derives GDML/macro paths from it, which no longer matches this image’s workspace root after this change.

Useful? React with 👍 / 👎.

@plexoos plexoos assigned plexoos and unassigned plexoos May 11, 2026
Copy link
Copy Markdown
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.

Pull request overview

Updates devcontainer-related naming and default install/workspace paths to align with the repository name “simphony”, including updating the CMake project name.

Changes:

  • Renamed the CMake project from eic-opticks to simphony.
  • Updated Docker image environment defaults (OPTICKS_PREFIX, OPTICKS_HOME, OPTICKS_BUILD) to /opt/simphony and /workspaces/simphony.
  • Renamed devcontainer metadata and updated GHCR base image references from eic-opticks to simphony.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
Dockerfile Updates default OPTICKS paths to simphony locations for devcontainer builds.
CMakeLists.txt Renames the CMake project to simphony (affects exported package/namespace and install layout).
.devcontainer/devcontainer.json Renames devcontainer and updates cacheFrom image reference.
.devcontainer/codespace/devcontainer.json Renames Codespace devcontainer and updates base image reference.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CMakeLists.txt
endif()

project(eic-opticks VERSION 0.5.0 LANGUAGES CXX CUDA)
project(simphony VERSION 0.5.0 LANGUAGES CXX CUDA)
Comment thread Dockerfile
Comment on lines +67 to +69
ENV OPTICKS_PREFIX=/opt/simphony
ENV OPTICKS_HOME=/workspaces/simphony
ENV OPTICKS_BUILD=/opt/simphony/build
@plexoos plexoos force-pushed the rename-proj-devcontainer branch from 3adf668 to 81970d5 Compare May 13, 2026 16:32
@plexoos
Copy link
Copy Markdown
Member Author

plexoos commented May 13, 2026

The updated devcontainer is needed to unblock development during the rename transition before we cut a tag. The noted issues are valid, and will be addressed in follow-up PRs.

@plexoos plexoos merged commit f1cc96c into main May 13, 2026
13 checks passed
@plexoos plexoos deleted the rename-proj-devcontainer branch May 13, 2026 16:57
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