r4 backup <channel> should download json, just as the app interface allows
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In order to make the "cross-app experience more isomorphic", it would be nice if r4 backup <channel> could download the json backup of a channel (or at least a user's if logged in).
With the new /settings/import/backup
Currently r4 dl <channel> creates the folders <channel>/tracks/, so somehow either:
r4 dlwould also download a backup (would work for anon users?)r4 backupwould check/create the<channel>/backup-date.jsonfolder & file?
Questions/Issues:
dlandbackupcommands don't have the same "timeline", while backup is almost instant (json), dl could takes while (files); therefore a backup.json file could very well "not be in sync" with what the tracks are? Not sure it is an issue, better always have a fresh dl (at the right place, with correct naming), whatever the command that is run?- maybe we can have backup (just for json), and dl (calls backup and dl files)?
Contributor guide
No contributing guide indexed for this repository
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
Start by reading the implementations of the r4 backup and r4 dl commands, then compare their behavior with /settings/import/backup. Resolve whether backup should remain JSON-only or whether dl should invoke it, including naming, directory creation, synchronization, and anonymous-user behavior; done means the chosen command produces the documented backup and track layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100