Code Monkey home page Code Monkey logo

Comments (7)

friebetill avatar friebetill commented on June 23, 2024 1

I have written a port for Anki 2.1.0. friebetill/CrowdAnki
There were not many changes necessary and at first glance everything works quite well.

I don't know if a pull request is appropriate, because the port is not compatible with Anki 2.0.

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024 1

yep, you're right :)

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024

Hi, thank you for the feedback.
It's not API incompatibility, but python version incompatibility.
As 2.0 is stable version now, I prefer for plugin to be compatible with it.
But it should be possible to make it cross-version compatible :) I'll look into it.

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024

I haven't looked into it for a while, but I think it's totally possible to make changes compatible.
I've briefly looked into the changes you've made and have a few comments:

  • Running 2to3 conversion on the whole codebase is excessive. I wrote that code as Python3 initially and I think the only things that need to be fixed are a few imports and some unicode specific things
  • It's especially true for thirdparty things - a lot of them are there because they are backports from python3 i.e. pathlib is natively present in P3 and most of the thirdparty things are consequence of using pathlib. I think the only thing beside it is uuid lib. So the only thing you need here to make things compatible is some try/except and aliasing on imports
  • You removed support for AnkiHub registration for some reason
  • The import fixes seems to be excessive too, the code was meant to be P2/P3 compatible and the new synthax is P3 only.

from crowdanki.

Stvad avatar Stvad commented on June 23, 2024

Thanks for looking into it though! I'd be happy to accept PR that maintains compatibility. Please see my comments above and feel free to create PR to discuss things in more details codewise.

from crowdanki.

evolverine avatar evolverine commented on June 23, 2024

Thanks for working on this, guys. Will be very useful when it's out. Good luck!

from crowdanki.

avidrucker avatar avidrucker commented on June 23, 2024

Is this closable now?

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.