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.
Problem
devlog synconly 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
syncso multiple days — including previously missed ones — can be synced at once. Mirror the ergonomicsshowalready has:--from/--untilflags for an explicit rangeweekshorthandUnder the hood this can loop over each day in the range and reuse the existing single-day sync path.
Considerations
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.