python-redmine icon indicating copy to clipboard operation
python-redmine copied to clipboard

Async update/create issues

Open eoss-tw opened this issue 4 years ago • 2 comments

Hi, we need to create or update multiple (1000+) issues at once. Do you plan to extent the engine to support async write access to the redmine rest api? Or do you have a performant example to upload batches of issues? Right now the issue creation process on our side takes up to several hours for large batches.

Thanks, Thilo

eoss-tw avatar May 11 '21 15:05 eoss-tw

Hi, basically there's no API on Redmine side for batch create or update, so we have to do it one by one, and the best we can do is to parallelize the process, Pro version has engines based on threads and processes, but there's only support for read operation. I surely do have plans to extend support for create/update operations as well as to add support for async, but I can't provide you with any ETA unfortunately.

maxtepkeev avatar May 12 '21 14:05 maxtepkeev

Ok, thanks for the reply. I will shift the async part in the moment to an external lambda function to speed up the process. If the functionality is available in your api I’ll gonna move it back to Python. Have a nice day

Holen Sie sich Outlook für iOShttps://aka.ms/o0ukef


Von: Max Tepkeev @.> Gesendet: Wednesday, May 12, 2021 4:08:59 PM An: maxtepkeev/python-redmine @.> Cc: Thilo Wehrmann @.>; Author @.> Betreff: Re: [maxtepkeev/python-redmine] Async update/create issues (#282)

Hi, basically there's no API on Redmine side for batch create or update, so we have to do it one by one, and the best we can do is to parallelize the process, Pro version has engines based on threads and processes, but there's only support for read operation. I surely do have plans to extend support for create/update operations as well as to add support for async, but I can't provide you with any ETA unfortunately.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/maxtepkeev/python-redmine/issues/282#issuecomment-839803229, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFMKTOO5UBMFKXBZY57AZOTTNKDXXANCNFSM44V4K2ZA.

eoss-tw avatar May 12 '21 15:05 eoss-tw