Skip to content

Support syncing multiple days (backfill missed days) #24

Description

@kacheo

Problem

devlog sync only imports commits/PRs for a single day (today by default, or --date). If sync isn't run on a given day, that day's git/GitHub activity is never captured, and there's no built-in way to backfill it in one shot.

Proposal

Add a date-range mode to sync so multiple days — including previously missed ones — can be synced at once. Mirror the ergonomics show already has:

  • --from / --until flags for an explicit range
  • a week shorthand

Under the hood this can loop over each day in the range and reuse the existing single-day sync path.

Considerations

  • PRs are re-fetched per repo per day, so a multi-day sync multiplies GitHub API calls — worth noting or gating.

Today, individual days can already be backfilled one at a time via devlog --date YYYY-MM-DD sync; this issue tracks making multi-day sync a first-class feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions