Skip to content

Restructure Whole Repo & Remove All Electron Related Parts#2560

Merged
AmmarAbouZor merged 10 commits into
esrlabs:masterfrom
AmmarAbouZor:remove-electron-and-restructure
May 23, 2026
Merged

Restructure Whole Repo & Remove All Electron Related Parts#2560
AmmarAbouZor merged 10 commits into
esrlabs:masterfrom
AmmarAbouZor:remove-electron-and-restructure

Conversation

@AmmarAbouZor
Copy link
Copy Markdown
Member

@AmmarAbouZor AmmarAbouZor commented May 22, 2026

This PR includes:

  • Removed the legacy Electron/TS app and old build tooling.
  • Moved the repo to a native Rust workspace under crates/.
  • One workspace Cargo.toml where dependencies is specified for all crates/
  • Replaced dev/release entrypoints with root justfile.

New structure

.
├── Cargo.toml                  # root Rust workspace
├── justfile                    # validate/run/release entrypoint
├── crates/
│   ├── chipmunk-app/           # native egui app + assets
│   ├── chipmunk-cli/           # CLI
│   ├── core/                   # session/indexing/parsing/runtime crates
│   │   ├── session/
│   │   ├── processor/
│   │   ├── sources/
│   │   ├── parsers/
│   │   ├── plugins_host/
│   │   ├── dlt-tools/
│   │   ├── someip-tools/
│   │   ├── text_grep/
│   │   ├── indexer_base/
│   │   └── merging/
│   ├── stypes/                 # shared types
│   ├── plugins_api/            # plugin SDK + WIT
│   └── bufread/dir_checksum/file-tools/shell-tools/
├── plugins/                    # examples/templates, outside workspace validation
├── development/
│   ├── resources/              # shared samples
│   └── scripts/                # release/replay scripts
└── docs/                       # paths updated

Notes

  • Most of the diff is move/delete noise.
  • Removed application/, cli/development-cli, old Ruby scripts, Docker helper, and Node/Yarn CI paths.
  • CI now validates the Rust workspace through just validate; release artifacts are produced in target/dist.
  • Application documentation and readme files are out of scope of this PR and will be provided separately

* Remove all electron legacy application parts
* Remove development cli tool as it's not needed anymore
* Remove development ruby scripts as they are not needed anymore as well
* Remove electron related code from stypes
Move the Rust crates into a single root Cargo workspace under `crates/`,
with the GUI app as the default member. Rename the GUI package to
`chipmunk-app` while keeping the `chipmunk` binary name.

Move core crates under `crates/core/`, shared/helper crates under `crates/`,
and the plugin API crate to `crates/plugins_api`. Keep plugin examples and
templates outside the main workspace and independently buildable.

Update internal Cargo paths, plugin WIT paths, release packaging paths, docs,
and CI references for the new layout. Release artifacts now go to
`target/dist/`.

Remove the obsolete precompiled updater and consolidate workspace lockfiles
into the root `Cargo.lock`.
* Centralize external dependency specs in root workspace dependencies and
  switch crate manifests to use the workspace.
* Group regular dependencies with internal crates and external crates.
* Update actions for linting PRs and master using just commands and
  removing the obsolete instruction from the electron era
* Replace python commands on windows with just commands
* Main release workflow is out of scope
Remove obsolete gitignore entries from electron era keeping rust entires
only + Unify git ignore for crates
Rewrite instruction after changing the repo whole structure & Removing
electron based
@AmmarAbouZor AmmarAbouZor requested a review from itsmesamster May 22, 2026 15:45
@AmmarAbouZor
Copy link
Copy Markdown
Member Author

@itsmesamster : Can you please review the GitHub actions' files.
I've changed the validation checks for PR and linting master and added small update for release alpha workflow. However, I haven't touched the main release workflow as we will rewrite that anyway

@AmmarAbouZor AmmarAbouZor requested a review from marcmo May 22, 2026 15:49
@AmmarAbouZor AmmarAbouZor merged commit 0547897 into esrlabs:master May 23, 2026
1 check passed
@AmmarAbouZor AmmarAbouZor deleted the remove-electron-and-restructure branch May 23, 2026 15:51
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.

1 participant