Updating directory names for GNU Octave - #452
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Fixed Makefile
9906502 to
51c40f3
Compare
|
Hi Software Engineering Gov. Circle (@cpaolini, @jbrzensk, @valeriabarra, @joehellmers, @gpagallo) and @jcastillo001 This completes the rename of the MOLE GNU Octave subdirectory. For MOLE v.1.2 the impacted subdirectories by this PR are: |
There was a problem hiding this comment.
🟡 Changes recommended
There are a couple of concrete issues in the updated wiring/utility code (notably mismatched .gitattributes paths and missing invalid-parameter handling) that should be fixed to avoid broken repo metadata and brittle runtime behavior.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR refactors the repository’s Octave-related layout by renaming the prior matlab_octave-named directories to octave and updating code/doc links and build/test wiring to match, aligning with the MOLE v1.2 Octave implementation organization.
Changes:
- Renames Octave source/examples/tests directories to
src/octave,examples/octave, andtests/octave, and updatesaddpath(...)usage accordingly. - Updates CMake/CI/docs references (README, Sphinx, Doxygen notes) to the new Octave paths.
- Adds/relocates a large set of Octave
.mimplementation files and generated Octave API documentation assets.
File summaries
| File | Description |
|---|---|
| .gitattributes | Updates linguist documentation paths (currently mismatched; needs correction). |
| tests/octave/CMakeLists.txt | Registers Octave .m tests (executed via matlab -batch; wording should be clarified). |
| tests/octave/testPoissonAccuracy.m | Adds a Poisson accuracy test (minor documentation/clarity fix suggested). |
| src/octave/interpolFacesToCentersG1DPeriodic.m | Adds periodic interpolator (needs explicit invalid-k handling). |
| src/octave/** | Moves/adds Octave implementation functions under the new directory name. |
| examples/octave/** | Updates examples to reference src/octave and adjusts Octave wording in comments/docs. |
| doc/sphinx/source/** | Updates Sphinx navigation and links to examples/octave and api/octave. |
| .github/workflows/matlab-tests.yml | Updates MATLAB CI test selection to src/octave and tests/octave. |
| README.md / CONTRIBUTING.md | Updates developer docs and commands to new Octave directory naming. |
Review details
- Files reviewed: 179/347 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| examples_octave/* linguist-documentation | ||
| doc_octave/* linguist-documentation |
| # Find all GNU Octave test files (test*.m) | ||
| file(GLOB TEST_SOURCES test*.m) | ||
|
|
||
| # Enable testing | ||
| enable_testing() |
There was a problem hiding this comment.
@jbrzensk,For now it runs the Octave scripts as if they were MATLAB script, given the full compatibility. For consistency, all these tests are going to be under the same directory and reference as GNU Octave tests ONLY. @cpaolini has plans to include the GNU tests runner, and he advised to run both MATLAB test runners and the GNU test runners to demonstrate that all MOLE GNU Octave's scripts are fully compatible with MATLAB.
|
Hi @Tony-Drummond , thank you. I think you mentioned that also some files in the |
|
Hi @valeriabarra , this was included in the email I sent to the Software Engineering Gov. Circle (the name of the files that I identified are in bold) ./julia/MOLE.jl/src/BCs/scalarBC.jl: |
|
Looks like the only change is the gitattributes file, to reference the corret locations. |
Hi, yes, I saw that, but I do not see those references being changed in this PR. Are you considering adding them here or you prefer a separate PR? Thanks |
|
@valeriabarra, I updated the MOLE.jl related files. I just didn't want to interfere with anything else happening inside the MOLE.jl development. |
What type of PR is this? (check all applicable)
Description
Renamed all subdirectories containing the GNU Octave scripts with the implementation of MOLE v1.2, and all tests and examples. Updated internal links to support the auto-documentation mechanisms.
Related Issues & Documents
QA Instructions, Screenshots, Recordings
Keep-open request
keep-open.Reason:
Added/updated tests?
_We encourage you to test all code included with MOLE, including examples.
have not been included
Read Contributing Guide and Code of Conduct
[optional] Are there any post deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?