Rename force to initial for account sync
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Is your feature request related to a problem? Please describe.
Christoph and I discussed the wording of --force in the account sync command:
occ -vvv mail:account:sync 6 --force
My expectation would be that --force updates everything in the account. What it actually does is run an initial sync only for all mailboxes that have "sync in background" enabled.
Describe the solution you'd like
- Rename --force to --initial to better reflect its behavior of running an initial sync only for mailboxes with "sync in background" enabled.
- Add a new option --all that actually syncs every mailbox in the account.
Describe alternatives you've considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the account sync command and the option definitions for --force, then trace how it selects mailboxes with "sync in background" enabled. Done means --initial reflects the existing behavior and a separate --all option syncs every mailbox in the account, with the command's tests updated if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100