Skip to content

build: vendor DADK v0.6.1 and install it from tools/dadk - #2472

Merged
fslongjin merged 2 commits into
DragonOS-Community:masterfrom
fslongjin:feat-import-dadk
Nov 27, 2026
Merged

fslongjin merged 2 commits into
DragonOS-Community:masterfrom
fslongjin:feat-import-dadk

Conversation

@fslongjin

Copy link
Copy Markdown
Member

Summary

  • Vendor DADK v0.6.1 under tools/dadk (upstream commit 3c2246f2bb91ba9585652db99b11b8df74e07d8d) and keep it as its own Cargo workspace.
  • Install DADK from that tree in bootstrap.sh, user/Makefile, and the dev image instead of cargo install --git. An already sufficient install is left unchanged.
  • Add a path-filtered DADK build/test workflow, and point the Rust app template at the in-tree config sample.

Test plan

  • With DADK 0.6.1 already installed, make -C user install_dadk prints the installed version and does not run cargo install
  • With DADK missing, install uses cargo install --path against tools/dadk/dadk and dadk -V reports 0.6.1
  • cargo metadata --manifest-path tools/Cargo.toml --locked --no-deps lists only logmonitor
  • Confirm existing CI images stay on the current dev image tag

Made with Cursor

Vendor https://github.com/DragonOS-Community/DADK at 3c2246f2bb91ba9585652db99b11b8df74e07d8d so later installs can use this tree instead of a separate repository.

Co-authored-by: Cursor <cursoragent@cursor.com>
Share installation and version checks between bootstrap, developer images, and Make. Exercise the vendored install and workspace tests in CI.

Signed-off-by: longjin <longjin@dragonos.org>
@fslongjin
fslongjin merged commit 66b1b47 into DragonOS-Community:master Nov 27, 2026
20 checks passed
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