Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Update for anki 23.10 #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

martinetd
Copy link

anki 23.09 will include a protocol change ( ankitects/anki#2647 ) so we need to update the anki base commit and patch.

I've aligned the rusqlite dependency to fix rust build, and while I was it aligned a few more where rust would be building an extra version of the lib for anki.


I was too lazy to build anki master to check if newer client actually syncs with this, but it still works with current anki releases, and the protocol files have been updated so I don't see why it wouldn't work.
I'll test when anki 23.09 is released.

@dobefore
Copy link
Collaborator

Hi,thank you for the work.

Recently I have little time spent on Github ,let alone reviewing PR.

I want to recommend you as one of our ankicommunity members or the owner of this repo.would you like to take it?

@martinetd
Copy link
Author

hi @dobefore ! I have heard you don't have time anymore, thanks for the work up till now.

I don't think I'll do much more than minimum keeping the tree up to date with anki but happy to continue with this; I see anki 23.10 beta 1 was released so I'll test this PR with it soonish.

@martinetd martinetd changed the title Update for anki 23.09 Update for anki 23.10 Sep 24, 2023
@martinetd
Copy link
Author

anki 23.10beta1 didn't work with this patch, I had to rebase further -- which is actually probably better as the patch is now based on a release commit and not some random commit in the main branch.

With this I've confirmed it works on both an older release (2.1.54) and the 23.10beta1, with 23.10beta1 not working with the current anki-sync-server-rs; so this PR should be good to go.

Regarding ankicommunity and/or this repo -- elaborating a bit on my reply from earlier -- I'm maintaining this anki-sync-server-rs' package in nixos, so I'll be happy to keep this repo working as long as all it takes is a simple rebase and minor fixes.
Since anki itself added a standalone server recently though, if the work becomes too big I'll likely work toward converting the nixos support to the built-in server.

With that in mind, I'll be happy to take on maintenance on just this repo (and if so will update the README with a warning as above)

What do you think?

@martinetd
Copy link
Author

Okay, so, sorry to come back on what I just said immediately but someone created a nixos service for anki's built in server (because they read the README here and thought it already wasn't working...), and there really is little point in maintaining both, so we'll likely be dropping this server's service
With that in mind, it doesn't make sense for me to take over maintenance, as I won't be using it.

This patch works (I've been using it for a couple of weeks with no issue), so feel free to merge it if you want to take my word for it (or have time to test yourself), and I'll be happy to do minor adjustments like rebasing it on the real 23.10 release commit, but I no longer feel like I should get any rights on this repo.

Sorry, and thanks again for this project until now!

@dobefore
Copy link
Collaborator

I'm happy that the nixos chooses the official anki sync server because this guarantees the consistency and reduces the work of maintaining the sync server.

And thanks again for the contribution you have made😁

anki 23.10 includes protocol changes (see linked PR, and others) so we
need to update the anki base commit and patch.

I've aligned the rusqlite dependency to fix rust build, and while I was
it aligned a few more where rust would be building an extra version of
the lib for anki.

Link: ankitects/anki#2647
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants