hsk81 / notex-v2.0

A text editor for reStructuredText, Markdown, LaTex and more!
153 stars 21 forks source link

Version Control System (VCS) #4

Closed hsk81 closed 11 years ago

hsk81 commented 11 years ago

It should be possible to version the project/documents (using either GIT or - more likely - something much simpler).

hsk81 commented 11 years ago

The AcidFS library (available at http://acidfs.readthedocs.org/en/latest) seems very promising: Basically, it's a Python integration of GIT repositories. It could be used to replace NoTex.ch's current storage back-end,which is a combination of metadata being stored in an SQL database, and data as a flat list on the hard disk, with a GIT repository for data with search indices/metainfo in an SQL database.

hsk81 commented 11 years ago

The basic problem is that a VCS (like GIT) collides with client side encryption (see #9); figure out a reasonable solution that ensures that the GIT repositories are encrypted without compromising basic VCS features:

hsk81 commented 11 years ago

Have reset application to have a clean state between DB and acid sub-directory. VCS read-only implementation done; read-write might be implemented only upon popular request; client side encryption will be reviewed as soon as git itself supports it.