add a re-scan contacts occ command
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 598
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
very few of my contacts are able to produce good lookup results.
it would be easier to debug if i could kick off a vcard rescan immediately (instead of waiting for a cron job)
i see there are commands to re-scan photos and tracks, so this seems like an established pattern that would be nice to extend.
i might be interested in giving this a shot myself if someone can provide some guidance.
would the approach be to just clear the address_geo database and then trigger some initial carddav lookup function?
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 existing OCC commands that re-scan photos and tracks, then trace how the contacts/vCard lookup currently runs from its cron-triggered entry point. Check how the address_geo database is used before deciding what the command should invoke. Done means an OCC command can immediately re-scan contacts and produce updated lookup results without waiting for cron.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100