feat: WSL distro enhancements — MOTD, CLI, auto-update, smaller tarball#11
Closed
Awaiswilll wants to merge 6 commits into
Closed
feat: WSL distro enhancements — MOTD, CLI, auto-update, smaller tarball#11Awaiswilll wants to merge 6 commits into
Awaiswilll wants to merge 6 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete WSL distro enhancement: custom MOTD, dweb CLI, auto-update mechanism, and smaller tarball.
Changes
New: MOTD Banner (
/etc/profile.d/dweb-motd.sh)wsl -d dweblogindwebcommandsNew: dweb CLI (
/usr/bin/dweb)dweb status— detailed server + system statusdweb start|stop|restart— manage the serverdweb logs [-f]— view server logsdweb ping— quick health checkdweb update— check for newer GitHub releasesNew: Auto-update (
/opt/dweb/tools/dweb-update.sh)dweb updateSmaller tarball
Build script (
build-wsl-distro.sh)packaging/wsl/overlay/Testing
wsl --import dweb C:\dweb-wsl dweb-wsl-rootfs.tar.gz --version 2wsl -d dweb— should show MOTD bannerdweb status— should show server infodweb ping— should return{"status":"ok"}dweb update— should check GitHub releasesCloses #4, #5