[Kde-pim] An intch for an Evernote client with Akonadi and Nepomuk

Kevin Krammer krammer at kde.org
Fri Aug 9 10:16:39 BST 2013


Hi and welcome at KDE PIM!

On Friday, 2013-08-09, Jinal Kothari wrote:

> To begin with  I thought about creating an akonadi resource. Google
> led me to this feature request
> https://bugs.kde.org/show_bug.cgi?id=322462 . Well, I'd love to work
> on it.

Excellent!

> I have been dancing around a lot of ideas about kde pim nepomuk since
> quite some time; but I am a little shy in making contact. I am
> reasonably familiar with high level concepts and a small number of
> implementation details. My C++ is rather rusty, but I can work with an
> OOPL just fine. I would prefer python, details later below. I have not
> yet written a single line of code on kde specific stuff. Have low
> familiarity with tool chains and conventions. I am not yet entirely
> clear on how I might develop this akonadi resource; but I believe all
> the necessary information is available.
> 
> This page is a great beginning resource for me :
> http://techbase.kde.org/Development/Tutorials/Akonadi/Resources .
> Evernote has cpp, python and python3 sdks (amongst others) for their
> rest cloud service.
> 
> Questions:
> 
> From my description, what are your thoughts on it?

Definitely sounds interesting. Can't really comment on the semantic side of 
things, but Vishesh is reading this list as well, I believe.

> What do i need know?

Basically an Akonadi resource needs to be able to respond to three types of 
requests:
1) tell me about all folders on the backend (if the backend has something like 
folders)

2) tell me about all items (in your case notes) in a specific folder

3) get me the data for a specific item

That is obviously for the "read" direction, if a resource also wants to 
support "write" then this expands a bit.

It is probably easier to test those steps in a stand-alone application, e.g. a 
test program, and then use that code in a resource context.

> Are there any upcoming changes in akonadi that might affect this?

No, I don't think so.

> I would strongly prefer if could develop the resource with equal ease
> in python.
> http://api.kde.org/pykde-4.5-api/akonadi/Akonadi.ResourceBase.html looks
> encouraging.
> Is python acceptable? Does it make less easy to deploy? Could the
> performance penalty possibly become a major issue? Are there any know
> issues under this kind of configuration? Also, I would prefer to use
> python3. Is this okay?

We don't have any restriction on used language, neither in KDE PIM nor KDE in 
general. Whatever works for you. I haven't used the Python bindings you linked 
to so I don't really know if they are working well enough nor do I know if 
they have any restrictions regarding which version of Python they support.

I would be surprised if there were any perfomance issues. As for deployment I 
guess that the package manager would take care of that the same way it does 
for C++ programs.

> Would some one be interested in getting involved in this process? I
> could use help even if just with non-coding aspects of the
> development.

You can always ask here on the list or on our IRC channels (#kontact and 
#akonadi)

> I hope to use git. What would be the recommended server to use. More
> importantly, am I able to put this little project under some kde / pim
> umbrella? Or should host is outside for now.

The easiest way is probably to start outside, but moving to the KDE 
intrastructure is definitely possible.

> Long Term: How to get nepomuk to index. How to relate the concept of
> tags in evernote and those in Nepomuk. To best of my knowledge,
> nepomuk does not support hierarchical tag structures.

No idea, I'll have to leave that to the Nepomuk guys :)

> I have many more questions and thoughts, but hopefully the above text
> serves as good first interaction. Looking forward to speaking to a lot
> of you.

So do we :)

> On a different note, thank you all for making such awesome pim
> infrastructure. No amount of thanks is enough for all the effort put
> in.

Thanks!
It has been a painful transition at some times but we are increasingly reaping 
the rewards for it :)

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130809/4437bb3b/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list