Repository navigation
Remove node-gui - #2185
Remove node-gui#2185nullPointerEnjoyer wants to merge 4 commits into
Conversation
|
🔍 OpenCodeReview found 2 issue(s) in this PR.
📄
|
| "Mintlayer_Node_linux_${VERSION}_${PKGARCH}.pkg.tar.zst" \ | ||
| "Mintlayer_Node_GUI_linux_${VERSION}_${PKGARCH}.pkg.tar.zst"; do | ||
| if [ -f "$DIST_DIR/$f" ]; then |
There was a problem hiding this comment.
Syntax error: the last item of the for f in ... list lost its word-terminator after removing the GUI artifacts. The \ at the end of the PKGARCH line now continues the word list onto the if line, so bash parses if [ -f ... ]; then as more list items and reports a syntax error (missing do). Remove the trailing backslash so the list closes before if.
Suggestion:
| "Mintlayer_Node_linux_${VERSION}_${PKGARCH}.pkg.tar.zst" \ | |
| "Mintlayer_Node_GUI_linux_${VERSION}_${PKGARCH}.pkg.tar.zst"; do | |
| if [ -f "$DIST_DIR/$f" ]; then | |
| "Mintlayer_Node_linux_${VERSION}_${PKGARCH}.pkg.tar.zst"; do | |
| if [ -f "$DIST_DIR/$f" ]; then |
| [[exemptions.wasm-bindgen-futures]] | ||
| version = "0.4.58" | ||
| criteria = "safe-to-deploy" | ||
| criteria = "safe-to-run" |
There was a problem hiding this comment.
This exemption is downgraded from safe-to-deploy to safe-to-run, but wasm-bindgen-futures 0.4.58 is still an active dependency of reqwest (see Cargo.lock line 5424), and reqwest is a production (deploy) dependency of remaining workspace crates. cargo vet computes deploy criteria over the union of target dependencies, so this downgrade will likely fail cargo vet for deploy targets — or, if vet passes with weakened checks, it means deploy code now ships with an unaudited/less-audited crate. If this change was made just to make vet pass after the node-gui removal, please re-verify the crate's audit status instead of lowering the bar; otherwise keep it safe-to-deploy.
Suggestion:
| [[exemptions.wasm-bindgen-futures]] | |
| version = "0.4.58" | |
| criteria = "safe-to-deploy" | |
| criteria = "safe-to-run" | |
| [[exemptions.wasm-bindgen-futures]] | |
| version = "0.4.58" | |
| criteria = "safe-to-deploy" |
e7b65f2 to
9d8f895
Compare
| [[exemptions.half]] | ||
| version = "2.7.1" | ||
| criteria = "safe-to-deploy" | ||
| criteria = "safe-to-run" |
There was a problem hiding this comment.
This half exemption is now stale: after removing node-gui, the half crate no longer appears in Cargo.lock (verified by search). Keeping an exemption for a crate that is not in the dependency graph can cause cargo vet to warn/fail on unused exemptions and misleads future maintainers into thinking half is still a dependency. It should have been removed entirely (e.g., via cargo vet prune) along with the other node-gui-related exemptions.
Summary
Removes the
node-guidesktop application and everything that ships or builds it. Desktop node management continues in the Nexus wallet; the node daemon, wallet-cli, wallet-rpc-daemon and all other executables are unaffected.Replaces #2184 (opened from the wrong account; closed).
What is removed
node-guiandnode-gui/backendcrates and theiced/iced_aw/iced_fontsworkspace dependencies (plus thefontconfig-parserandiced_glyphonpatches that existed only for the GUI; Cargo.lock shrinks by ~3100 lines)NodeType::NodeGuiand the GUI-conditional defaults innode-lib(Options::from_argsno longer takes a node type; file logging now simply defaults to off)mintlayer-node-guicontrol/spec/PKGBUILD stanzas, desktop entry, icon pipeline, GUI smoke-test modes, and thepostinst-guiscriptrelease_linux.yml, GUI installer/zip inrelease_windows.yml, GUI DMG signing + artifact inrelease_macos.yml, and thebuild-tools/osxsigning/bundle machinery (its only product was the GUI DMG)node-gui-icon/logoassets, GUI entries insupply-chainaudits, and GUI mentions in docs (README, node-daemon docs, wallet README, Trezor support doc, packaging README, docker build docs)What is kept
51-mintlayer.rulesudev rules (wallet-cli and other wallet tools still use them for Ledger/Trezor)trezor/ledgerfeatures and all wallet binaries; the workspace still builds with--features trezor,ledgerVerification
cargo check --workspace --all-targets --features trezor,ledger: clean, zero warningscargo test -p node-lib -p logging: all passcargo clippyon node-lib/logging/node-daemon: no new warningscargo fmt --checkon touched crates: cleangrep -ri node-guiover the tree: only the CHANGELOG entry remainsbash -nrelease_macos.ymlpreviously built and notarized a GUI DMG viasign_and_notarize.sh; that step is removed, the node zip pipeline is untouched