Skip to content

Verbatim database read/write

Dirk HOFFMANN requested to merge github/fork/ederag/verbatim-db into master

Created by: ederag

With this PR database read/write is done verbatim, without any parsing involved. This makes a clear separation of concerns. It partially solves #280 (closed) and #423 (closed), although that requires renouncing to the quickness of the cmdline input, until #465 (closed) is solved.

This change should not affect the existing dbus interface (old functions have been kept). The new AddFactVerbatim is strongly encouraged if the caller has separate fields. The old AddFact will remain so that passing a single string will remain possible, to be interpreted by Fact.parse on the hamster side.

Unsorted (no category) facts are not supported yet (forthcoming PR almost ready).

Merge request reports