Skip to content

chore: prepare repo for open source MIT release - #1

Merged
Emadab merged 4 commits into
mainfrom
oss/mit-license-prep
Jul 2, 2026
Merged

chore: prepare repo for open source MIT release#1
Emadab merged 4 commits into
mainfrom
oss/mit-license-prep

Conversation

@Emadab

@Emadab Emadab commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace Tantivy (AGPL-3.0, incompatible with MIT) with SQLite FTS5 in synapse-search, preserving the NoteIndex public API and existing test coverage, plus a new injection-safety test.
  • Simplify license from "MIT OR Apache-2.0" to plain MIT; add LICENSE.
  • Fix Cargo.toml/package.json/CONTRIBUTING.md repository URLs to github.com/Emadab/Synapse.
  • Add SECURITY.md, CODE_OF_CONDUCT.md, issue/PR templates.
  • README: badges, Install section, Anki trademark disclaimer.

Test plan

  • cargo test --workspace
  • cargo clippy --workspace -- -D warnings
  • cargo fmt --check
  • pnpm lint && pnpm fmt:check && pnpm test && pnpm build
  • CI green on this PR

Replace Tantivy (AGPL-3.0) with SQLite FTS5 in synapse-search to clear
the license conflict, simplify to plain MIT, add LICENSE/SECURITY.md/
CODE_OF_CONDUCT.md/issue+PR templates, fix repo URL to Emadab/Synapse,
and add an Anki trademark disclaimer to the README.
@Emadab
Emadab force-pushed the oss/mit-license-prep branch from 72503d6 to 0b8eb49 Compare July 2, 2026 08:35
Emadab added 3 commits July 2, 2026 12:17
quick-xml < 0.41.0 has a quadratic-time duplicate-attribute check,
pulled in transitively through tauri-utils -> plist 1.9.0, which pins
quick-xml = "^0.39.2". plist is only used by Tauri for macOS
Info.plist bundling; Synapse never parses untrusted XML/plist at
runtime, so the DoS isn't reachable. No fixed plist release exists yet.
rustsec/audit-check doesn't read audit.toml automatically -- it only
respects advisory ids passed via its own `ignore` input. Keep
audit.toml too, for local `cargo audit` runs.
Same transitive quick-xml dependency, same non-applicability as
RUSTSEC-2026-0194, published to the advisory db moments after that
first ignore was added.
@Emadab
Emadab merged commit 89b4b0a into main Jul 2, 2026
3 checks passed
@Emadab
Emadab deleted the oss/mit-license-prep branch July 2, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant