Repository navigation
feat: list --json outputs jCal (RFC 7265) - #83
Merged
Merged
Conversation
Template output is awkward to feed to scripts and AI agents. The icalendar library can serialise to jCal, the standard JSON form of iCalendar, so `list --json` reuses the `--ics` path with that serialiser. An empty selection gives an empty calendar rather than no output. This requires icalendar 7.0.0. That path now builds a fresh calendar holding each VTIMEZONE once, rather than appending everything into the first object's cached instance, so `--ics` no longer repeats timezones either. #82 Prompt: latest issue wants output in json, that's a fair request, please fix Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
Ruff (I001) wants a blank line between the stdlib and the first-party imports in the new list --json tests, which broke CI on #83 Prompt: The CI fails Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
setuptools-scm's default describe picks the nearest tag containing a digit, so a local non-release tag (a date-stamped backup, say) could become the version and break builds with "Can't parse version from tag". Restrict describe to release tags. The legacy 0.11.0 tag, with no "v", is ignored from now on. Prompt: For some of my python-libraries, the [local backup] tag can break local hatch-vcs builds, because hatch-vcs tries to read it as a version number. This has been fixed somewhere but not everywhere. Please check [and] fix it wherever it's relevant Assisted-By: Claude Opus 5.5 Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #82
Commit message:
🤖 Generated with Claude Code