Skip to content

Section name in config error messages - #809

Merged
tobixen merged 1 commit into
masterfrom
section-name-in-errors
Oct 20, 2026
Merged

tobixen merged 1 commit into
masterfrom
section-name-in-errors

Conversation

@tobixen

@tobixen tobixen commented Oct 20, 2026

Copy link
Copy Markdown
Member

Commit message:

feat: section name in config error messages

extract_conn_params_from_section() named every section "section" in
its errors, so plann reported a failing password_command as "of section
section".  It takes the real name as section_name now, and the
test-server lookup passes it too.

Prompt: Isn't the search-path decided by calendaring-config?  Fix the finding #6. [the review finding that caldav's config errors say "of section section"]

Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>

plann's open PR PyCalendar/plann#81 passes the section name. The TODO entry for this, on #808 branch, is obsolete once this is merged.

extract_conn_params_from_section() named every section "section" in
its errors, so plann reported a failing password_command as "of section
section".  It takes the real name as section_name now, and the
test-server lookup passes it too.

Prompt: Isn't the search-path decided by calendaring-config?  Fix the finding #6. [the review finding that caldav's config errors say "of section section"]

Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen force-pushed the section-name-in-errors branch from 4fcc31a to 3c4b2c4 Compare October 20, 2026 07:48
@tobixen
tobixen merged commit 3c4b2c4 into master Oct 20, 2026
17 checks passed
tobixen added a commit that referenced this pull request Oct 20, 2026
#809 gave
extract_conn_params_from_section() its section_name, and plann passes
it in PyCalendar/plann#81, so nothing is left
of the entry.

Prompt: [fix issues found during the review process of merging #808]

Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant