Commit Graph
11 Commits
Author SHA1 Message Date
mathias 3873987c19 Always update connections.env and fix double-toggled connection line
Drop the --legacy flag: set_local_db and toggle_index now run
unconditionally instead of only when -l was passed, since that was the
flag's only effect.

Fix set_dot_env writing the connection/RCC_CONNECTION line twice with
opposing polarity (once from the #docker pass, once from the #cidb
pass), which flipped it to the wrong value. Collapsed the three
separate open/read/write passes into one, toggling both sections and
the connection line in a single scan so the connection line is only
ever touched once.
2026-09-17 15:12:32 +02:00
mathias 72e0c229f3 report which lines changed on up/down
set_local_db, toggle_after_line and set_dot_env now return a
FileChange (path + before/after line pairs) instead of (), and main
prints it after each toggle so 'up'/'down' shows exactly what the
program rewrote in each env file.
2026-09-17 11:00:17 +02:00
mathias 481e3a1dcc implemented proper error handling, added README 2026-06-26 12:30:19 +02:00
Mathias Rothenhaeusler 009079742a added legacy mode 2024-06-02 15:47:54 +02:00
Mathias Rothenhaeusler 1dd669697e improved script 2024-05-21 07:48:52 +02:00
mathias 5044f6a19c added git update index 2024-01-27 19:11:16 +01:00
mathias 1993aca4f2 added set dot env 2024-01-22 19:30:27 +01:00
mathias 708ae57d1f Added Parser 2024-01-21 18:45:34 +01:00
mathias 114a1accde Added Arguments 2024-01-21 12:37:43 +01:00
mathias 4ef959f673 Docker start/stop 2024-01-20 18:21:25 +01:00
mathias 93be1c8352 initial commit 2024-01-20 12:01:41 +01:00