store backup: --to refuses an existing folder
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Start by reading the motif store backup --to <dir> destination validation and the behavior described in #462/#465. Check how it distinguishes Motif-owned paths and existing folders; done means an existing empty folder is accepted and a non-empty folder is refused with a message that names the blocking case.
Written by the indexing model from the issue text.
Description
Finding: motif store backup --to <dir> refuses a destination folder that already exists.
Seen in the Tamil lane (Motif fe2299b4a). Backups before each runtime switch go to a per-day folder, and a re-run the same day, or a folder the lane created first, is refused. (From #462/#465: the destination must be owned and outside Motif's own folders; an existing empty folder should satisfy that.)
Expected: accept an existing empty folder; refuse a non-empty one with a message naming what is in the way (or allow --force to add a new timestamped subfolder). Say in the refusal code which case applied.
Cost: the lane makes a unique folder name per run and cleans up the failed ones by hand.
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- Avg merge
- 6h 4m
- Merged PRs (30d)
- 156
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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.
More from sillsdev/motif
-
flake
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SubtitleEdit/subtitleedit#17247 ·
Maintainers usually reply within 1 day
-
Restore test cleanup fails on Windows when restored files are read-onlyPossibly taken @JamBalaya56562 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
duplicati/duplicati#8046 · 1 comment ·
Maintainers usually reply within 1 day
-
Bundles Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pyrevitlabs/pyRevit#4285 ·
Maintainers usually reply within 1 day
-
customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days