Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Anki deck #42

Closed
2 tasks done
badlydrawnrob opened this issue Mar 15, 2019 · 1 comment
Closed
2 tasks done

Updating Anki deck #42

badlydrawnrob opened this issue Mar 15, 2019 · 1 comment

Comments

@badlydrawnrob
Copy link
Owner

badlydrawnrob commented Mar 15, 2019

When importing the new deck:

  • Merge Note Types toggled on is the option you want to update all cards
  • Toggle Merge Note Types off if you want to play it safe
  • Increment the **major**.minor.patch for breaking changes.

If the Note Type schema has changed (you've moved fields, changed the name of fields, etc, existing cards — and Merge Note Types is off — your old cards won't be affected.

For a very dry overview of Anki storing values in the database, this post is very informative. I'm still unclear on how it does/doesn't merge Note Types however.1

  • Updating without breaking current cards
  • Making sure new (or edited) Note Types don't break existing Note Types.

Steps taken

  1. Added a customised deck, with field names changed
  2. Add the original deck with Merge notetypes disabled
    • Update notes and Update notetypes set to "if newer"

Adding an Anki deck (with Note Types)

Screenshot 2023-12-01 at 23 33 10

Options for importing the anki-major.minor.patch.apkg — it does allow non-breaking changes but new changes won't be included if so. If the updates are minor, it shouldn't affect things too badly.

Merging Note Types?

Screenshot 2023-12-04 at 15 48 08

Footnotes

  1. Does it use hashes to compare different note types? The Note ID?

@badlydrawnrob badlydrawnrob changed the title Installing and custom theme Updating Anki deck and building custom themes Dec 3, 2023
@badlydrawnrob badlydrawnrob changed the title Updating Anki deck and building custom themes Updating Anki deck Dec 4, 2023
@badlydrawnrob badlydrawnrob mentioned this issue Dec 4, 2023
3 tasks
@badlydrawnrob badlydrawnrob added the difficulty: easy This is an easy edit label Dec 25, 2023
@badlydrawnrob
Copy link
Owner Author

Closing this issue as done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant