Stvad / CrowdAnki

Plugin for Anki SRS designed to facilitate cooperation on creation of notes and decks.
MIT License
520 stars 44 forks source link

Feature sugestion: Exclude decks from snapshots #209

Open Pinchoboo opened 5 months ago

Pinchoboo commented 5 months ago

Because of my large anki collection I would like to only snapshot decks that I use for collaboration. When I set the root deck to just be the "Colab" deck all other decks will still be snapshotted, freezing anki for 2 to 3 minutes. image

Ideally there should be a checkbox to exclude the default root decks from the snapshots. If there is interest in this feature I would not mind trying to implement it myself.

wyohm commented 5 months ago

Why not just export only the decks you want to collaborate on?

Pinchoboo commented 5 months ago

I would like to use the automated snapshots feature. For now I have been using the export deck functionality.

wyohm commented 5 months ago

In that case, automated export deck might make more sense as a feature request. It would give you ability to only export certain decks, while allowing your collaborators the granularity to choose only the decks they're interested in.

aplaice commented 5 months ago

"Snapshot root decks" controls whether sub-decks are snapshotted as separate git repos or as part of the repo of the parent deck (by default every sub-deck has its own snapshot git repo), not which decks are snapshotted, and this behaviour should be kept.

Having an additional option for only allowing snapshotting certain decks, could make sense, though. (A list of: "Snapshot include decks"? "Snapshot exclude decks"? (in either case, presumably the listed decks and all their children would be affected).)


In that case, automated export deck might make more sense as a feature request.

In a sense, snapshotting is automated exporting, though. :)