pimutils / pimutils/vdirsyncer

Add batch/non-interactive/force mode

Open
#425 15 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cat: ui planning type: enhancement
Dominant language
Python
Stars
1.9k
Forks
185
Avg merge
11h 49m
Merged PRs (30d)
1

Description

Currently, when syncing a pair, vdirsyncer asks for confirmation prior creating a new collection in a storage.

It would be nice to have a command line argument like --batch or --force, which assures that vdirsyncer will never expect any input. If input is really really required, it should fail.

A use case would be a cron job, which mirrors a remote source to a local one (e.g. offline contacts).

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 tracing the command-line argument parsing and the sync path that asks for confirmation before creating a collection. Determine how batch or force mode should suppress input and how required input should fail; done means a non-interactive sync can run unattended for the stated cron-job use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.