Skip to content

Refactor repo structure #238

@zhangh43

Description

@zhangh43

Task Description

This task aims to reorganize the repo topology, rename binaries/configs, and consolidate scripts into a consistent layout aligned with EloqData’s product structure.

🗂️ 1. Directory Structure
After (EloqDoc-style):

src/                → core source code (C++/storage/engine)
scripts/            → build, packaging, test utilities, including site_scons
tests/              → all test assets (unit, integration, js)
tools/              → developer tools and admin utilities
scons/            → build system modules
docs/               → developer and user docs
concourse/
etc/

Move all Python helper scripts from buildscripts/ → scripts/
Move JavaScript tests from jstests/ → tests/js/
Move Python tests from pytests/ → tests/py/
Move site_scons/ → scons/

Check and remove unused hidden file.
.pydocstyle, .pylintrc, .eslintignore etc.

⚙️ 2. Binary and Config Renaming
Rename mongod to eloqdoc, mongod.conf to eloqdoc.conf, mongo(sh) to eloqdoc-cli

🧩 3. Rename default path
For example, rename default log directories and data paths (/var/lib/mongo → /var/lib/eloqdoc).

🧪 4. Testing & Validation

Verify configuration file parsing and startup with eloqdoc.conf.

Please make sure regression ci and release ci generate the correct binary and config name.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions