Skip to content

feat(tasks): add recur aliases and RRULE support for task repeats#408

Open
salmonumbrella wants to merge 1 commit intosteipete:mainfrom
salmonumbrella:fix/issue-401-true-recurring
Open

feat(tasks): add recur aliases and RRULE support for task repeats#408
salmonumbrella wants to merge 1 commit intosteipete:mainfrom
salmonumbrella:fix/issue-401-true-recurring

Conversation

@salmonumbrella
Copy link
Contributor

@salmonumbrella salmonumbrella commented Mar 4, 2026

Summary

  • add --recur and --recur-rrule flags to gog tasks add as aliases to repeat materialization
  • parse RRULE input with strict support for FREQ + optional INTERVAL and reject unsupported/duplicate keys
  • extend repeat scheduling to honor RRULE INTERVAL
  • keep existing --repeat flow intact and add explicit validation messaging that true server-side recurring metadata is not exposed by the public Tasks API
  • add/expand tests for new flags, RRULE parsing, and validation edges
  • document materialization behavior in README tasks examples

Testing

  • go test ./internal/cmd -run 'TestParseRepeatRRule|TestTasksValidationErrors|TestTasksAddCmd_RecurRRuleIntervalCreatesMultiple|TestTasksAddCmd_RecurAliasCreatesMultiple' -count=1
  • ./.tools/golangci-lint run --allow-parallel-runners
  • make test

Refs #401

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