Repository navigation
Conversation
… a fresh demo The release workflow was manual-only and would have failed anyway: it published a Homebrew formula to a padovanl/homebrew-termdock repo that doesn't exist, using a HOMEBREW_TAP_GITHUB_TOKEN secret that doesn't either — and that step failing takes the whole run with it, including the artifacts that had already built. The tap is gone; a release should not depend on a second repository that isn't there. It's a comment in .goreleaser.yml explaining how to put it back. Pushing a vX.Y.Z tag now publishes a release. scripts/release.sh is the supported way to create one: it refuses anything but master, a dirty tree, a branch out of step with the remote or a version that already exists, runs the tests, and asks before pushing. That matches the flow — work on develop, pull request into master, tag master. Releases now carry .deb, .rpm and .apk alongside the tarballs, for linux amd64 and arm64, so installing is "apt install ./termdock_*.deb" rather than "put this binary somewhere on your PATH". No config file is shipped, deliberately. termdock reads its config from $TERMDOCK_CONFIG, else $XDG_CONFIG_HOME, else ~/.config — there is no system-wide path, so anything installed under /etc would never be read. It's per-user configuration besides, and a package installing as root has no business picking whose home directory gets one; as a dpkg conffile it would also mean being asked, on every upgrade, whether to keep the copy you edited. So the packages ship a commented example under /usr/share/doc/termdock/, and the real file is written by termdock when asked — Ctrl-B C then S, or ":set -p <key> <value>". CI grew a gofmt check, the race detector, and a snapshot package build, so a packaging mistake surfaces on the pull request rather than after the tag is pushed. It runs on develop as well as master. A third workflow publishes site/ to padovanl.github.io/termdock — needs Pages enabled once by hand with "GitHub Actions" as the source. The demo GIF is re-recorded against the current build: real git output, the pane overview, the settings screen, a theme changed live, scrollback search, the popup and the jump picker, then detaching and reattaching. Smaller than the one it replaces despite covering more. One real fix fell out of recording it. Every overlay's title — which is where its instructions live — was drawn in a hardcoded grey, the one element in the box that ignored the theme: 2.3:1 against the Dracula palette, below any readable threshold, and worse still on one-dark and nord. It uses the status bar's own foreground now, 8.6:1 on the same palette. The rule under the query stays faint, being a divider rather than writing.
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.
… a fresh demo
The release workflow was manual-only and would have failed anyway: it published a Homebrew formula to a padovanl/homebrew-termdock repo that doesn't exist, using a HOMEBREW_TAP_GITHUB_TOKEN secret that doesn't either — and that step failing takes the whole run with it, including the artifacts that had already built. The tap is gone; a release should not depend on a second repository that isn't there. It's a comment in .goreleaser.yml explaining how to put it back.
Pushing a vX.Y.Z tag now publishes a release. scripts/release.sh is the supported way to create one: it refuses anything but master, a dirty tree, a branch out of step with the remote or a version that already exists, runs the tests, and asks before pushing. That matches the flow — work on develop, pull request into master, tag master.
Releases now carry .deb, .rpm and .apk alongside the tarballs, for linux amd64 and arm64, so installing is "apt install ./termdock_*.deb" rather than "put this binary somewhere on your PATH".
No config file is shipped, deliberately. termdock reads its config from $TERMDOCK_CONFIG, else $XDG_CONFIG_HOME, else ~/.config — there is no system-wide path, so anything installed under /etc would never be read. It's per-user configuration besides, and a package installing as root has no business picking whose home directory gets one; as a dpkg conffile it would also mean being asked, on every upgrade, whether to keep the copy you edited. So the packages ship a commented example under /usr/share/doc/termdock/, and the real file is written by termdock when asked — Ctrl-B C then S, or ":set -p ".
CI grew a gofmt check, the race detector, and a snapshot package build, so a packaging mistake surfaces on the pull request rather than after the tag is pushed. It runs on develop as well as master.
A third workflow publishes site/ to padovanl.github.io/termdock — needs Pages enabled once by hand with "GitHub Actions" as the source.
The demo GIF is re-recorded against the current build: real git output, the pane overview, the settings screen, a theme changed live, scrollback search, the popup and the jump picker, then detaching and reattaching. Smaller than the one it replaces despite covering more.
One real fix fell out of recording it. Every overlay's title — which is where its instructions live — was drawn in a hardcoded grey, the one element in the box that ignored the theme: 2.3:1 against the Dracula palette, below any readable threshold, and worse still on one-dark and nord. It uses the status bar's own foreground now, 8.6:1 on the same palette. The rule under the query stays faint, being a divider rather than writing.