Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: cargo build --bin anki-sync-server

- name: Test
run: cargo test -p sync-storage-config -p sync-storage-backends -p sync-platform-api
run: cargo test -p sync-storage-backends -p sync-platform-api -p sync-storage-server

docker-smoke-test:
runs-on: ubuntu-latest
Expand Down
144 changes: 0 additions & 144 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ rust-version = "1.80"
members = [
"sync-platform-api",
"sync-storage-backends",
"sync-storage-config",
"sync-storage-server",
"rslib",
"rslib/i18n",
Expand Down Expand Up @@ -55,7 +54,6 @@ anki_proto = { path = "rslib/proto" }
anki_proto_gen = { path = "rslib/proto_gen" }
sync-platform-api = { path = "sync-platform-api" }
sync-storage-backends = { path = "sync-storage-backends" }
sync-storage-config = { path = "sync-storage-config" }
sync-storage-server = { path = "sync-storage-server" }

# pinned
Expand Down
27 changes: 6 additions & 21 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,12 @@ After this refactor:
- Updated workspace `Cargo.toml`: replaced `sync-storage-api` entry with `sync-platform-api`
- Updated all import paths across the workspace (9 files)

**2. Delete `sync-storage-config` crate**

Blocked on `anki-cloud` team landing `sync-platform-cloud` first (it takes ownership of all DB
queries, token decryption, OAuth exchange, and bcrypt auth currently in `sync-storage-config`).

Sequencing:

```
anki-cloud-sync (rename + strip) → TAG
├── anki-cloud (sync-platform-cloud) ┐ parallel
└── anki-cloud-android (sync-platform-android) ┘
anki-cloud-sync (delete sync-storage-config) → TAG
anki-cloud (bump pinned tag)
```

Once `anki-cloud` signals ready:
- Remove `sync-storage-config/` directory
- Remove from workspace `Cargo.toml`
- Remove from `sync-storage-server/Cargo.toml` dependencies
**2. ✅ Delete `sync-storage-config` crate**

`anki-cloud` landed `sync-platform-cloud` (owns DB queries, token decryption, OAuth exchange,
bcrypt auth). Unblocked and completed:
- Removed `sync-storage-config/` directory
- Removed from workspace `Cargo.toml` (member + dep)

**3. ✅ Strip Cloud impls from `sync-storage-server`**

Expand Down
17 changes: 0 additions & 17 deletions sync-storage-config/Cargo.toml

This file was deleted.

Loading
Loading