Using EDS backend for other remote providers
Juozas Miškinis <[email protected]> Fri, 18 Dec 2020 22:41:50 +0100
| Newsgroups | gmane.comp.gnome.evolution.devel |
|---|---|
| Message-ID | <CAJcv9b+b++mKZqLVdZTO8Sp7KmH8F9GnXi+2Df=pLxnUO==daA@mail.gmail.com> |
--===============0473162784953572130== Content-Type: multipart/alternative; boundary="00000000000070ab8705b6c3fa5a" --00000000000070ab8705b6c3fa5a Content-Type: text/plain; charset="UTF-8" I've been working on Task Widget extension for GNOME <https://gitlab.com/jmiskinis/gnome-shell-extension-task-widget> (written in GJS) which relies on EDS backend. Methods provided by EDS (like using S-expressions to query ICal components) are very convenient and I'm curious if it's at all possible to use the provided API for new online providers, e.g. Todoist, without directly messing with EDS source code. Acquiring data from Todoist and converting it back and forth to ICal/Todoist format seems trivial. However, things get more complicated when you need to store that data in EDS, create new ESources, refresh backends, watch for changes, etc. Also, this might raise compatibility issues with Evolution and other task managers. Basically, I'm just looking for some guidance here whether it's doable and generally a good idea. Thanks! --00000000000070ab8705b6c3fa5a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><p dir=3D"auto">I've been working on <a href=3D"https= ://gitlab.com/jmiskinis/gnome-shell-extension-task-widget">Task Widget exte= nsion for GNOME</a> (written in GJS) which relies on EDS backend. Methods p= rovided by EDS (like using S-expressions to query ICal components) are very= convenient and I'm curious if it's at all possible to use the prov= ided API for new online providers, e.g. Todoist, without directly messing w= ith EDS source code.</p> <p dir=3D"auto">Acquiring data from Todoist and converting it back and fort= h to ICal/Todoist format seems trivial. However, things get more complicate= d when you need to store that data in EDS, create new ESources, refresh bac= kends, watch for changes, etc. Also, this might raise compatibility issues = with Evolution and other task managers.</p> <p dir=3D"auto">Basically, I'm just looking for some guidance here whet= her it's doable and generally a good idea.</p> <p dir=3D"auto">Thanks!</p></div> --00000000000070ab8705b6c3fa5a-- --===============0473162784953572130== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ evolution-hackers mailing list [email protected] To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-hackers --===============0473162784953572130==--