summaryrefslogtreecommitdiff
path: root/tests/test_calendar_sync_api.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 13:05:33 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 13:05:33 -0500
commit9f79da5538ded8bb15bfd7484b78d27bbe59abc8 (patch)
tree9173f7742beed6da8deb31d0a939177cb5289081 /tests/test_calendar_sync_api.py
parente6ac3f3c54ec992f9297cd0649e37f8b09fe568f (diff)
downloaddotemacs-9f79da5538ded8bb15bfd7484b78d27bbe59abc8.tar.gz
dotemacs-9f79da5538ded8bb15bfd7484b78d27bbe59abc8.zip
fix(linear): load API key for check-setup and pin org file to emacs home
linear-emacs-check-setup read linear-emacs-api-key directly and bailed to "API key is not set" before making any request, so the lazy :before advice on the GraphQL request never fired for it. A fresh session always reported the key missing even though it was in authinfo. I extracted cj/linear--install-key-advice and put the loader on check-setup as well as the request entry point, with a regression test. I also pinned linear-emacs-org-file-path to data/linear.org inside emacs home, next to the calendar-sync output. Left to its default it falls back to org-directory/gtd/linear.org and silently created a stray ~/org tree on the first pull. The init.el require is commented out for now while linear-emacs is reworked. The config will need rework once that lands.
Diffstat (limited to 'tests/test_calendar_sync_api.py')
0 files changed, 0 insertions, 0 deletions