Repository navigation
Simplify the repository layout [#320] - #323
Conversation
Move the headers to include/webfront/ (included as <webfront/...>), the
browser sources to js/core and js/developer, the tests to test/{unit,web,
fuzz,cmake}, and the documentation, CI and container files to docs/,
.github/ and .devcontainer/. Remove the historical prototype and the
unused compressed header. Add the RepositoryLayout CTest case.
The generated-provider include changed, so the developer distribution is
bumped to 0.4.1; its publication is a separate maintainer step.
|
Important Review skippedToo many files! This PR contains 402 files, which is 302 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configuration
⛔ Files ignored due to path filters: 2
📒 Files selected for processing: 402
You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🔵 Needs a closer look
It is a very large, breaking repository-wide reorganization whose correctness depends on full cross-platform build/CTest verification and a post-merge release-tag publication that cannot be confirmed here.
1 open issue
What changed in this PR
This PR implements phase 0 of epic #303: a repository-layout simplification that is a prerequisite for later work. It is a large, almost entirely mechanical reorganization that relocates files and rewrites include/reference paths, deletes a dead webfront/ prototype, and bumps the developer distribution to 0.4.1 (because the generated provider now includes <webfront/system/FileSystem.hpp>).
Changes:
- Move library headers to
include/webfront/(included as<webfront/...>) and remove the old generic spellings (breaking change, recorded in the CHANGELOG); delete the historicalwebfront/prototype andinclude/WebFront220128.hpp.gz. - Relocate browser assets/tooling (
assets/+tools/→js/core+js/developer), tests (webtest/→test/web,fuzz/→test/fuzz, unit tests→test/unit, CMake test scripts→test/cmake), and misc docs/config todocs/,.github/,.devcontainer/,cmake/mddlog/; add a newRepositoryLayoutCTest pinning the tracked root. - Update all CMake, workflow,
.codescene, devcontainer, JS tooling, AGENTS/README/ADR path references, and publish developer distribution 0.4.1 (new SHA-512, pendingdeveloper-v0.4.1tag).
| File | Description |
|---|---|
test/cmake/CheckRepositoryLayout.cmake |
New guard test pinning the repo root list and header-only include/webfront/ |
CMakeLists.txt / cmake/*Support.cmake, cmake/MddlogIntegration.cmake |
Module paths and subdirs updated to new js/core, docs, test/cmake, cmake/mddlog locations |
test/unit/*.cpp, test/web/*.cpp, test/fuzz/*.cpp |
Include rewrites to <webfront/...> and corrected relative paths (../unit, ../fixtures, extra .parent_path()) |
include/webfront/** |
Headers relocated; internal cross-dir includes switched to <webfront/...> where needed |
js/core/**, js/developer/** |
Browser assets/tooling moved; relative imports (../../../third_party, ../environment/...) and doc strings updated |
test/fuzz/README.md |
Corpus/run-command paths updated for the move (contains a path error — see comment) |
js/developer/tools/distribution.json, include/webfront/system/DeveloperReleaseData.hpp, docs/CHANGELOG.md |
Developer distribution bumped to 0.4.1 with new integrity hash |
docs/adr/*, README.md, .github/*, .codescene/*, .devcontainer/* |
Documentation, CI, and config path references realigned to the new tree |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #323 +/- ##
========================================
Coverage 97.99% 97.99%
========================================
Files 100 100
Lines 8588 8588
Branches 676 676
========================================
Hits 8416 8416
Misses 172 172 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

Part of epic #303 (phase 0, prerequisite).
Changes
include/webfront/; include them as<webfront/WebFront.hpp>,<webfront/http/...>. No redirect headers are kept: the old generic spellings are removed (breaking, noted in the CHANGELOG).include/WebFront220128.hpp.gzand the historicalwebfront/prototype are deleted.assets/andtools/becomejs/core(bridge, fallback, bootstrap, embedding modules) andjs/developer(environment, components, tools, vendor);webtest/becomestest/web,fuzz/test/fuzz, unit teststest/unit, CMake test scripts and sub-projectstest/cmake.CHANGELOG.md,Doxyfile.in,Doxygen.cmakego todocs/;CONTRIBUTING.md,codecov.ymlto.github/;Dockerfileto.devcontainer/;logging/Logger.cpptocmake/mddlog/; the emptyCTestConfig.cmakeis removed. Moves usegit mv.RepositoryLayoutpins the tracked root (third_party/is the temporary exception until Supprimer le dossier third_party/ : aucune source tierce vendorisée #319) and checks thatinclude/webfrontholds headers only..gitattributes,.codescene, devcontainer, JS tools, AGENTS.md, README and ADRs.Developer distribution 0.4.1
The generated provider now includes
<webfront/system/FileSystem.hpp>, which changes the environment archive. Published 0.4.0 is immutable, sodistribution.jsonandDeveloperReleaseData.hppmove to 0.4.1 (new SHA-512). Thedeveloper-v0.4.1tag must be published after merge; until then the default bootstrap URL is not yet live.Not done
No
LICENSEfile is added (the license choice is the maintainer's).Verification (local)
ctest -L web-integration: 14/14 (generated providers compile with the new include path).node --testdeveloper checks green after--refresh-bootstrap.