aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 16:11:16 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 16:11:16 -0500
commite179a1022319ec77d936f1cee21c471ac34f4d53 (patch)
tree224736a2f3b18e8823b8af50e30edc2ee747a62a /todo.org
parent1fc6925f9328ce7ce909aad0acf619d618eddcc2 (diff)
downloaddotemacs-e179a1022319ec77d936f1cee21c471ac34f4d53.tar.gz
dotemacs-e179a1022319ec77d936f1cee21c471ac34f4d53.zip
feat(setup): scripts/setup-telega.sh prepares the docker environment for telega
Verifies docker is installed and the daemon is reachable, then either pulls a public image (when `TELEGA_DOCKER_IMAGE` is set) or announces the in-Emacs build path (`M-x telega-server-build`) for the user to run once. Telegram auth (phone + verification code) is interactive on first `M-x telega` and not scripted here. Same shape as setup-email.sh: helpers are sourceable for bats, `main` runs only under direct execution. 7 bats tests stub `docker` and `command` so the suite never talks to the real daemon.
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org21
1 files changed, 13 insertions, 8 deletions
diff --git a/todo.org b/todo.org
index 77a0fe0e..78eb448b 100644
--- a/todo.org
+++ b/todo.org
@@ -39,20 +39,25 @@ Tags are additive. For example, a small wrong-behavior fix can be
* Emacs Open Work
-** TODO [#A] Add Telegram Messaging
+** DONE [#A] Add Telegram Messaging
https://github.com/zevlg/telega.el
Make sure there is a setup script to run, so that the docker container can be installed post emacs dotfiles repository clone on a fresh install
also, let's add an icon to the dashboard for this. perhaps this is the beginning of the third row? If so, add a child task to review and balance the dashboard icons
-Progress so far:
-- =modules/telega-config.el= shipped with =telega-use-docker t= and the
- =C-; G= launcher binding (=C-; t= and =C-; m t= were both taken).
+Shipped this session:
+- =modules/telega-config.el= -- =use-package telega= with
+ =telega-use-docker t=; launcher on =C-; G= (=C-; t= and =C-; m t=
+ were both taken).
- Dashboard Row 3 added with the Telegram icon; dashboard-mode-map =g=
key launches =telega=.
-- TDLib docker setup script (=scripts/setup-telega.sh=) still TODO --
- see child task below.
-
-*** TODO [#B] Add =scripts/setup-telega.sh= for TDLib docker container :feature:
+- =scripts/setup-telega.sh= -- verifies docker presence + daemon
+ reachability; pulls =$TELEGA_DOCKER_IMAGE= when set, otherwise
+ announces =M-x telega-server-build= for the in-Emacs build path.
+ 7 bats tests in =tests/test-setup-telega.bats= (docker stubbed).
+- Auth (phone + verification code) is interactive on first =M-x telega=
+ -- not scripted.
+
+*** DONE [#B] Add =scripts/setup-telega.sh= for TDLib docker container :feature:
Pull or build the telega TDLib container so a fresh-clone install can
run telega without a system-wide TDLib build. Mirror the
=scripts/setup-email.sh= pattern: =main()= wrapped in a