nextcloud / nextcloud/maps

Add option to restrict scan to certain folder (recursively)

Open
#270 8 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

The maps:scan-photos command actually runs through all the user files which is definitely not wanted when you have not only photos in your userspace. An option to restrict the scan to a certain folder ist needed. This is true for maps:scan-tracks also (because .gpx is not unique to .gpx Tracks, but also to GuitarPro files for example).

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 implementations of the maps:scan-photos and maps:scan-tracks commands and read how each currently selects user files. Define the folder option and verify that it limits both scans recursively without treating unrelated files elsewhere in the user space as inputs.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.