refactor!: rename project from eic-opticks to simphony#298
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7b8ef8baec
ℹ️ 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".
There was a problem hiding this comment.
Pull request overview
Updates project documentation to reflect the rename from eic-opticks to simphony/Simphony, including repository URLs and container image references, so new users follow the renamed project identity consistently.
Changes:
- Rename project references in the root README (clone/build, Docker/Singularity examples, and narrative text).
- Rename project reference in
examples/README.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| examples/README.md | Updates example prerequisites text to refer to Simphony installation. |
| README.md | Updates repo/image names and narrative references from eic-opticks to simphony/Simphony across usage sections. |
Comments suppressed due to low confidence (1)
README.md:90
- README instructs users to run
sbatch scripts/submit.sh, butscripts/submit.shin the repo still referenceseic-opticks(job name, image name, and/src/eic-optickspath). Either updatescripts/submit.shas part of this rename, or adjust the README to tell users to edit the script placeholders/paths accordingly.
To submit a test run of `simphony` on Perlmutter, use the following example. Make sure to update
any placeholder values as needed.
sbatch scripts/submit.sh
</details>
---
💡 <a href="/BNLNPPS/eic-opticks/new/main?filename=.github/instructions/*.instructions.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href="https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn how to get started</a>.
| Assuming Simphony is properly installed on the system, compile and run this | ||
| example by simply doing from this directory: |
There was a problem hiding this comment.
This example README now says “Assuming Simphony is properly installed…”, but the accompanying build setup still uses find_package(eic-opticks REQUIRED) and links eic-opticks::... targets (see examples/CMakeLists.txt). Either update this README to reference the actual CMake package name users must have installed, or rename the exported CMake package/targets to match “Simphony” so the instructions are accurate.
| Assuming Simphony is properly installed on the system, compile and run this | |
| example by simply doing from this directory: | |
| Assuming the `eic-opticks` CMake package is properly installed on the system, | |
| compile and run this example by simply doing from this directory: |
| docker run --rm -it -v $HOME:/esi -v $HOME/simphony:/workspaces/simphony -e DISPLAY=$DISPLAY -e HOME=/esi --net=host ghcr.io/bnlnpps/simphony:develop | ||
|
|
||
| docker run ghcr.io/bnlnpps/eic-opticks bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' | ||
| docker run ghcr.io/bnlnpps/simphony bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' |
There was a problem hiding this comment.
This docker run example uses ghcr.io/bnlnpps/simphony without an explicit tag, while the other examples in this section use :develop. Consider using a consistent tag (e.g. :develop or :latest) so readers don’t accidentally run a different image than intended.
| docker run ghcr.io/bnlnpps/simphony bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' | |
| docker run ghcr.io/bnlnpps/simphony:develop bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' |
| docker build -t simphony:perf-dev --target=develop | ||
| docker run --rm -t -v /tmp/out:/tmp/out simphony:perf-dev run-performance -o /tmp/out/dev | ||
|
|
||
| docker build -t eic-opticks:perf-rel --target=release | ||
| docker run --rm -t -v /tmp/out:/tmp/out eic-opticks:perf-rel run-performance -o /tmp/out/rel | ||
| docker build -t simphony:perf-rel --target=release | ||
| docker run --rm -t -v /tmp/out:/tmp/out simphony:perf-rel run-performance -o /tmp/out/rel |
There was a problem hiding this comment.
These docker build commands are missing the required build context argument (e.g. .). As written, docker build -t ... --target=... will fail; please add the context path (and optionally -f Dockerfile if needed).
|
@ggalgoczi If you have anything to contribute to this PR please do so asap |
|
Thank you for this PR, I agree this is very important. I have the following comments, questions:
|
ggalgoczi
left a comment
There was a problem hiding this comment.
Please see my review comments in previous comment on the thread
18f1a4f to
d575abe
Compare
Feel free to update anything you think is missing.
I’d prefer automatically generated CHANGELOG updates. At the moment, I’m not sure we want to duplicate what is already shown on the release page: https://github.com/BNLNPPS/simphony/releases
Either approach is fine with me.
Yes, agreed. |
Rename project-facing identifiers and references from eic-opticks to simphony across build, container, examples, scripts, and DD4hep plugin docs. - CMake: project name and downstream package usage switched to simphony - Examples: update find_package/target namespaces and include paths - Devcontainer: rename container names and GHCR base image references - Dockerfile: update OPTICKS_* install/home/build paths to /opt/simphony and /workspaces/simphony - Scripts/docs: rename job/image/path and user-facing text references BREAKING CHANGE: CMake consumers must migrate from find_package(eic-opticks) and eic-opticks::* targets/includes to find_package(simphony) and simphony::*.
Rename remaining DD4hep plugin identifiers to ddsimphony and update standalone examples, include paths, scripts, and docs to use simphony.
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
eic-optickstosimphonyacross docs, scripts, examples, CMake package usage, and installed include paths.find_package(simphony)andsimphony::...targets.ddeicopticks/libddeicopticks.sotoddsimphony/libddsimphony.so.Breaking Changes
find_package(simphony)instead offind_package(eic-opticks).simphony::namespace.simphony/....libddsimphony.so.