[gsoc-dev] [FTP Mirror Syncing] Some experimental API code

Pranjal Mittal mittal.pranjal at gmail.com
Wed Mar 19 15:20:17 UTC 2014


Hello Lance / Kennric,

I tried to implement a basic proof of concept of an API that reads from /
writes to an rsyncd configuration file using flask. I have added the code
here:

https://github.com/pramttl/msync-api-poc/

In principle rsyncd conf will not be the only file we are reading from and
writing to, there would be more. Further such files could be located at
places that require super user privileges for writing.

Can you give me more examples of configuration files that we might need to
read or write to via the Mirror syncing API; and possible problems that
might occur when reading/writing config files this way.

I am thinking on the possibility of sqlite database also and experimenting
with config files at the same time. Would need to analyzie pros and cons in
detail.

I hope the above makes sense?

Looking forward to feedback!


Best Regards,
- Pranjal

irc: pmittal

-- 
Pranjal Mittal
B.Tech.  2014
Indian Institute of Technology,BHU
Varanasi, U.P,
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/gsoc-dev/attachments/20140319/843feca1/attachment.html>


More information about the gsoc-dev mailing list