[Soc-coordination] Gsoc Week 5 Developer Dashboard

harsh daftary info at securitylabs.in
Mon Jun 29 16:44:50 UTC 2015


This week, I have added the support for SQLalchemy model to store
presistant data along with the
static file based JSON storage.
User is given an option to use sqlAlchemy (mysql and sqlite3) in config
file.

If config file includes entries for both of the above then SQLalchemy is
given priority.
If none of them are present in config, appropriate message is displayed and
Exception is raised.
If database does not exist then way to create DB is printed on screen.

Another controller/db/createdb.py file is added, which will create blank
json file or database and tables with appropriate columns for the first
time use.

there are two columns,
1. id : stores uuid, which is unique (TYPE : TEXT)
2. data : stores json data (TYPE: TEXT)

Pending:
Adding support for properly parsing sql data
fetching string and converting to dict
while adding into db,
converting dict data to string


-- 

Best regards,
Harsh Daftary <https://www.harshdaftary.com/>

This message is for the designated person only. &
Please consider the environment before printing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/soc-coordination/attachments/20150629/6cc65294/attachment.html>


More information about the Soc-coordination mailing list