Code Monkey home page Code Monkey logo

Comments (7)

kevincar avatar kevincar commented on June 23, 2024 3

One more beneficial modification that may be related to this issue could be to create a setting that allows CrowdAnki to export large decks that contain many subdecks into directories and corresponding subdirectories, as opposed to one large JSON file for the entire deck. Perhaps even a single JSON file for each card and its associated notes.

This could also allow for more fine-tuned control over individual commits. While CrowdAnki will export all the current changes made to the exported deck, the user would be able to hand select which changes are ready to be pushed out to the rest of the collaborating team, by only adding the desired card/notes/decks to the stage for commit.

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024

Hey, thanks, this shouldn't be hard to try (if python json module supports something like that). I find it a bit weird. Do you and your collaborator use same platform/line endings?

from crowdanki.

Supratentorial avatar Supratentorial commented on June 23, 2024

I haven't checked but we both use VS code on Windows. Adding the manual line breaks resolved the conflicts for me.

from crowdanki.

Supratentorial avatar Supratentorial commented on June 23, 2024

I'm still having huge issues with merge conflicts even with the added line breaks. Are the crowdanki_uuid supposed to match between decks?

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024

Not sure I understand the last question properly. What do you mean by between decks?

crowdanki_uuid is supposed to be a unique identifier of an object. It's created on the first export of the deck for all relevant objects

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024

another report: https://www.reddit.com/r/Anki/comments/bgr5uu/crowdanki_useless_for_collaboration_workflow_tool/

https://stackoverflow.com/questions/33122014/git-conflicts-with-json-files

from crowdanki.

Supratentorial avatar Supratentorial commented on June 23, 2024

I also thought that splitting the cards out into individual json files may resolve the issue, but I'm not sure how this will affect the performance of Git.

I think the use case of collaborative decks is not an uncommon one. I feel the only real long term solution to this is for an update to AnkiWeb.

from crowdanki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.