pimutils / pimutils/vdirsyncer
using vdirsyncer in bash script
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 185
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 1
Description
- version 0.16.7
- Nextcloud 14
- Python 3.7 (macports)
- Mac OS 10.13.6
- config irrelevant
log=/tmp/vds$$.log
vdirsyncer sync 2>&1 > $log
does not redirect output to a log. I'd like to use the error lines to fetch the relevant entries with curl and do a diff. This simple task is not possible since vdirsyncer uses some other input/output mechanism. How can vdirsyncer be operated to stick to stdin, stdout and stderr?
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
Reproduce the issue with the provided vdirsyncer sync command and its redirection to /tmp/vds$$.log under the reported Python and macOS versions. Trace how the sync command emits output and determine whether normal output and errors reach stdout and stderr; done means shell redirection captures the relevant output for later processing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100