Importing Patches - mussum-devis/revisis GitHub Wiki
The main idea is to find a way to put patches/patchsets inside Revisis.
Target
The first approach is create a simple mail server listening on specific port and the developer must use a way to send the patches via email (git sendmail, as instance). Git integration to import patches using branches is the final target, however the development will be done incrementally.
Data Organization
Received patches must be stored to avoid data corruption. The first approach is create some data structure dinamically with some kind of redundancy (write data in a backup file, for instance). However, this alternative is not consistent and smells like a kludge :)
The best approach is save the data in a kind of database software, like SQLite. This solution assumes a small time to project the tables and the relationships between them. Besides that it is necessary to create an API in Revisis to best manage the main operations (insert, search, remove).