[gsoc-dev] [FTP Mirror Syncing] Some experimental API code
Lance Albertson
lance at osuosl.org
Wed Mar 19 18:19:57 UTC 2014
On Wed, Mar 19, 2014 at 8:20 AM, Pranjal Mittal <mittal.pranjal at gmail.com>wrote:
> 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 was actually about to upload some more example configuration. For a
reference you'll likely need to have a configuration for apache vhosts too
(or nginx but we currently use apache). We optionally sometimes add
specific vhosts (i.e. centos.osuosl.org) for projects that request it.
> 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!
>
This looks interesting and I like it so far basically! We'll have to
discuss particulars about each config file we may need to manage.
--
Lance Albertson
Director
Oregon State University | Open Source Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/gsoc-dev/attachments/20140319/ba2a24ad/attachment.html>
More information about the gsoc-dev
mailing list