diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-25 11:56:29 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-25 11:56:29 -1000 |
| commit | ec8a9c0ea46dec7d26caa763e3adefcaf3fc7552 (patch) | |
| tree | 1f91bbc7ec87314189a441c53b7c3b25f1817db0 /scripts/resolve-bug | |
| parent | 83beddfab9584ae4b64a782c978236472b6d5745 (diff) | |
Fix bugs and add bug management scripts
Bug fixes:
- #36: Hide recurring tasks until due day (add IsRecurring to Task/Atom)
- Trello cards missing: change filter=visible to filter=open
- Build fix: add missing fmt import in atom.go
Infrastructure:
- Add scripts/bugs and scripts/resolve-bug for DB bug tracking
- Remove issues/ directory (bugs now tracked in DB)
- Add timeline_logic_test.go
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/resolve-bug')
| -rwxr-xr-x | scripts/resolve-bug | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/resolve-bug b/scripts/resolve-bug new file mode 100755 index 0000000..a3f0979 --- /dev/null +++ b/scripts/resolve-bug @@ -0,0 +1,23 @@ +#!/bin/bash +# Resolve (delete) a bug by ID + +if [ -z "$1" ]; then + echo "Usage: resolve-bug <bug_id>" + exit 1 +fi + +BUG_ID="$1" + +# Show the bug being resolved +echo "Resolving bug #$BUG_ID:" +ssh titanium "sqlite3 -column /site/doot.terst.org/data/dashboard.db \"SELECT description FROM bugs WHERE id = $BUG_ID\"" + +# Delete the bug +ssh titanium "sqlite3 /site/doot.terst.org/data/dashboard.db \"DELETE FROM bugs WHERE id = $BUG_ID\"" + +if [ $? -eq 0 ]; then + echo "Bug #$BUG_ID resolved." +else + echo "Failed to resolve bug #$BUG_ID" + exit 1 +fi |
