aymenhs / kanbanik

Automatically exported from code.google.com/p/kanbanik
Apache License 2.0
0 stars 0 forks source link

Export functionality for task #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Enhancement request
It will be much better if we can have task export functionality so that it can 
be used for some other user requirement. Thanks in advance.

Original issue reported on code.google.com by alok.sah...@gmail.com on 3 Feb 2015 at 11:11

GoogleCodeExporter commented 9 years ago
you could use the API for this task - the description is here:
https://code.google.com/p/kanbanik/wiki/API

In the 0.2.8 version a new command has been added: 'getTasks' which returns all 
the tasks without the board around. It has one argument 'includeDescription'.

For example how to use it for integration with other services you could check:
batuka (integration with bugzilla): https://github.com/jelkosz/batuka
getuka (integration with gerrit): https://github.com/jelkosz/getuka

Does this answer your question or do you need something else?

Original comment by jelkosz@gmail.com on 8 Feb 2015 at 7:25

GoogleCodeExporter commented 9 years ago
Thanks Jelkosz. But do we have same in front end? 

Original comment by alok.sah...@gmail.com on 8 Feb 2015 at 9:05

GoogleCodeExporter commented 9 years ago
no, there is no button for it. 

If I write you a simple python scrypt you can run from command line and it 
returned you the tasks as json, would that work for you?

Original comment by jelkosz@gmail.com on 8 Feb 2015 at 9:13

GoogleCodeExporter commented 9 years ago
Thanks for quick response. Yes for now it will work for me. Thanks in advance. 
One more concern here whats the limitation or max size of DB provided in the 
package.

Original comment by alok.sah...@gmail.com on 8 Feb 2015 at 9:40

GoogleCodeExporter commented 9 years ago
OK, I'll try to write it today evening. 
There should in theory be no limitation. At least not an explicit one. But 
since kanbanik does not support permissions and filtering of boards/tasks per 
user permission each user can see everything all the time. And since all of 
this has to be than moved to frontend, it is not really infinity. But quite a 
lot. In my current installation I'm using with my colleagues it has hundreds of 
tasks, is hosted on a raspberry PI and it works quick and stable. 

Original comment by jelkosz@gmail.com on 9 Feb 2015 at 7:43

GoogleCodeExporter commented 9 years ago
ok, so have written a simple python script called katufi.py - it requires the 
"requests" library to be installed. 

So, just download katufi.py (attached), save it somewhere and run it from 
command line like this:
python katufi.py -k http://localhost:4041/kanbanik/api -u someName -p somePass 
-o /tmp/out

If it will work for you I may create it a github repo - it has a potential to 
grow.

Original comment by jelkosz@gmail.com on 9 Feb 2015 at 7:00

Attachments: