uonedb-qt team mailing list archive
-
uonedb-qt team
-
Mailing list archive
-
Message #00020
[Blueprint u1db-qt] U1Db Qt Version
Blueprint changed by Christian Dywan:
Whiteboard changed:
Dependencies:
libqt5sql5-sqlite
libqt5core5
libqt5qml5
libqt5quick5
qtdeclarative5-test-plugin
✔ Done ✅ Work-In-Progress <assignee> ☐ Not Started
Must Have:
+ ✔ Database implement QAbstractItemModel (work like XmlListModel)
+ ✅ <christian> Query implement QAbstractItemModel (work like XmlListModel)
+ ✔ Document expose “contents” variant/ honor ‘create’
+ ✔ “string error” on Database (matching C++ code errors)
+ ✔ SQlite putting documents in the database
+ ✔ store/ get/ list documents
+ ✔ store indexes (a) lookup if an index exists b) create/ update new index)
+ ✅ <christian> lookup documents by index
+ ☐ edit documents
+ ✅ <christian> remove documents/ bool includeDeleted
+ ✔ store dbschema.sql in qrc
+ ✔ QML API unit tests
+ ✔ expose document to QML [“content”:[notetext:””]]→myDoc.content.notetext
+ ☐ Review API to ensure it aligns with API Design Guidelines (e.g. "Six Characteristics of Good APIs")
+ ✔ Create a basic example (i.e. Hello World)
+ ✔ Create a basic example to demonstrate simple use with ListViews and delegates
+ ✅ <kevin> Create an intermediate example to demonstrate a more real world use case (document browsing in the database)
+ ✅ <kevin> Create a tutorial based on the first intermediate example
+ ✅ <kevin> Add more code commenting
+ ✅ <kevin> packaging and PPA builds
+ ☐ build installable documentation HTML/ qtdoc
+ ✔ provide a HACKING file documenting build process and testing
+
Nice to Have:
+
+ ☐ Remote sync, use u1 credentials - out of scope for u1db
+ ☐ database in default location - out of scope for u1db
+ ✔ verify docId via regex (precaution to allow server-side URLs passing id’s safely)
+ ☐ remove indexes
+ ✅ <christian> upstream U1DB unit tests (see email thread)
+ ☐ document revision handling (vector clock, must match python implementation)
+ ☐ “conflicts” property onConflictsChanged on Database
--
U1Db Qt Version
https://blueprints.launchpad.net/u1db-qt/+spec/u1db-qt