nextcloud / nextcloud/maps

add a re-scan contacts occ command

Open
#484 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature: 👥 contacts
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.