MongoDB driver for the Linux app
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with linux/docs/adding-drivers.md, especially section 7, and the MongoDB entry in linux/ROADMAP.md; inspect the existing Linux driver crates and app transport to understand the integration points. The work includes trust store handling, SSH and SRV connections, document editing, query safety, operation cancellation, conformance tests, a replica set fixture, and driver documentation. Done means the listed connection modes, collection browsing, paging, and field editing work, and the driver checklist is complete.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The Linux app has no MongoDB driver (linux/README.md, Status), while the macOS app opens MongoDB connections through its plugin.
linux/ROADMAP.md, Backlog, More engines lists MongoDB with the client, mongodb 3.x with default features off and rustls-tls-aws-lc, and one condition: "It must use the system trust store first: it fills its roots from webpki-roots unless ca_file_path is set, so it needs native roots upstream or ca_file_path set to the platform bundle."
Like Redis, MongoDB does not speak SQL, and the driver contract assumes SQL through SqlDialect and SqlGrammar (linux/docs/adding-drivers.md, section 7).
Proposed solution
- Meet the trust store condition first: native roots in the mongodb crate upstream, or
ca_file_pathpointed at the system bundle, so a server certificate is checked against the same roots as the other engines (ADR 0009). - A
crates/drivers/mongodbcrate reached through the app's transport. Through an SSH tunnel, connect to the one host withdirectConnection, since replica set members advertise names the tunnel does not reach. - Decide how documents fit the grid and the editor, and record it in
linux/docs/adding-drivers.md:- the sidebar lists databases and collections;
- a collection opens as a grid of top-level fields, with nested documents and arrays shown as JSON and edited as JSON, checked before saving, as JSON cells are today;
- the editor runs
findandaggregatestyle queries with their own grammar, and the history check skips any that carry credentials.
- Read-only connections refuse writes before they are sent, including
aggregatewith$outor$merge. - Stop a running operation with
killOpor by closing the cursor, as the contract requires. - The conformance suites that apply, a Docker fixture with a replica set, and a page in
linux/docs/drivers/.
Done means: a MongoDB connection, direct, through an SSH tunnel or with mongodb+srv://, lists collections, pages documents and edits a field, and the adding-drivers.md checklist is complete.
Alternatives considered
No response
Platform
Linux
Related database type
MongoDB
- Lingua principale
- Swift
- Stelle
- 6.2k
- Fork
- 412
- Merge medio
- 3h 56m
- PR unite (30g)
- 669
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TableProApp/TablePro
-
Linux: Remember Password fails silently when there is no default keyringForse già presa @datlechin l’ha presa oggi. Apertabug platform-linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TableProApp/TablePro#4098 ·
I maintainer di solito rispondono entro 1 giorno
-
bug platform-linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
TableProApp/TablePro#4101 ·
I maintainer di solito rispondono entro 1 giorno
-
bug platform-linux
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
TableProApp/TablePro#4099 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement platform-macos
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
TableProApp/TablePro#4071 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement platform-macos
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
TableProApp/TablePro#4070 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TableProApp/TablePro
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
OneBusAway/vehicle-positions#260 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
eliasstravik/herdr-projects#789 · 1 commento ·
-
follow-up needs-triage S3: minor
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
manaflow-ai/cmux#38032 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
arkavo-org/ArkavoKit#70 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vorssaint/vorssaint-utils#3933 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni