Skip to content

feat: embed built-in scripts in the devnet config - #1

Merged
RetricSu merged 2 commits into
masterfrom
built-in
Feb 24, 2024
Merged

feat: embed built-in scripts in the devnet config#1
RetricSu merged 2 commits into
masterfrom
built-in

Conversation

@RetricSu

Copy link
Copy Markdown
Collaborator

No description provided.

@RetricSu RetricSu changed the title wip: add built-in infomation feat: embed built-in scripts in the devnet config Feb 24, 2024
@RetricSu
RetricSu merged commit 870f251 into master Feb 24, 2024
@RetricSu
RetricSu deleted the built-in branch February 24, 2024 02:24
humble-little-bear added a commit to humble-little-bear/offckb that referenced this pull request Jul 11, 2026
- Replace execSync shell interpolation with spawnSync array args (CRIT ckb-devrel#1)
- Add path validation for tools.rootFolder bounded to dataPath (CRIT ckb-devrel#3)
- Add SHA-256 checksum verification for downloaded binaries (CRIT ckb-devrel#2)
- Use -fsSL flags on curl, add timeouts, use fs.chmodSync, findFileInFolder
- Fix deepMerge mutation by cloning defaultSettings before merge
- Add settings validation for tools.rootFolder, ckbTui.version, proxy types
- Fix status help text typo and use validateNetworkOpt() consistently
- Replace nested ternary with lookup table, propagate exit code
RetricSu pushed a commit that referenced this pull request Jul 11, 2026
* feat(cmd): add status command with ckb-tui v0.1.3

Integrates ckb-tui to provide a terminal UI for monitoring CKB network status from a local node.

Changes:
- Add CKBTui class with automatic binary download/install for v0.1.3
- Add status command with RPC port connectivity check
- Update settings schema with tools.rootFolder and ckbTui.version
- Register status command in CLI with network validation

Closes RET-161

* fix: address review feedback (round 1)

- Replace execSync shell interpolation with spawnSync array args (CRIT #1)
- Add path validation for tools.rootFolder bounded to dataPath (CRIT #3)
- Add SHA-256 checksum verification for downloaded binaries (CRIT #2)
- Use -fsSL flags on curl, add timeouts, use fs.chmodSync, findFileInFolder
- Fix deepMerge mutation by cloning defaultSettings before merge
- Add settings validation for tools.rootFolder, ckbTui.version, proxy types
- Fix status help text typo and use validateNetworkOpt() consistently
- Replace nested ternary with lookup table, propagate exit code

* fix: add non-TTY guard to status command to prevent CI/pipe hangs (round 2)
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