<div dir="ltr">+1 from me also.  Nice work.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 2, 2016 at 9:38 AM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 28 June 2016 at 19:31, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br>
> Hi Lists (cross posting to have both community, psc and developers),<br>
><br>
> Still busy ways to migrate from Redmine to Github possibilities, we play<br>
> with some options. Wanted to sent some ideas to the lists of current status:<br>
><br>
> Chatting to Matthias (who did a first import script based on Redmine<br>
> issue.xml imports [0][1]).<br>
><br>
> Chatting to Juergen (who did an import script based on table exports of<br>
> the Redmine database [2]).<br>
><br>
> Who both hit the Github-api-throtteling limit from Github [3] and<br>
> stopped there:<br>
> - max 60 api-search queries per minute<br>
> - max 5000 requests per hour for other api calls<br>
><br>
> We had a little chat to github support, we were pointed to a different<br>
> api [4]<br>
><br>
> Receiving python script from Juergen, and his plan to get as much<br>
> information from Redmine as possible by:<br>
> - creating a (sqlite) redmine.db with dumps of nessecary tables from<br>
> (mysql) redmine.db<br>
> - creating 'lookup'-tables for different mappings, eg map Redmine-users<br>
> toGithub-users. Have the Category-strings mapped to their id's AND<br>
> mapped to Github-labels etc etc.<br>
> - write a python script which queries the db and (via github api)<br>
> creates issues with exact the same issue-numbers as we have in Redmine<br>
> - add labels to a Github test repo as 'mapping to Redmine' things like:<br>
> status, prio, etc etc<br>
><br>
> My conclusion: if I/we invest enough time into this, I can do further<br>
> scripting and just import the issues in blocks, just enough to not hit<br>
> the limit.<br>
><br>
> I hand crafted 2 issues:<br>
><br>
> <a href="https://github.com/rduivenvoorde/temp/issues/17" rel="noreferrer" target="_blank">https://github.com/rduivenvoorde/temp/issues/17</a><br>
><br>
> <a href="https://github.com/rduivenvoorde/temp/issues/18" rel="noreferrer" target="_blank">https://github.com/rduivenvoorde/temp/issues/18</a><br>
><br>
> based on <a href="http://hub.qgis.org/issues/10755" rel="noreferrer" target="_blank">http://hub.qgis.org/issues/10755</a><br>
><br>
> To show/see some possible options:<br>
><br>
> - one Redmine comment = one Github comment (as in #17)<br>
> - all Redmine comments in one Github comment (as in #18)<br>
<br>
</div></div>Another huge +1 in support of your efforts. Fantastic stuff!<br>
<br>
My preference would be to the one redmine=one github comment version (#17).<br>
<br>
Nyall<br>
<div><div class="h5"><br>
<br>
><br>
> You can see all possible labels if you try to create a new issue in the<br>
> repo:<br>
> <a href="https://github.com/rduivenvoorde/temp/issues" rel="noreferrer" target="_blank">https://github.com/rduivenvoorde/temp/issues</a><br>
><br>
> I tried to minimize the number of Labels, but tried to mimic most of<br>
> Redmine's.<br>
> By adding a number in front of it I hope we can instruct issuers to add<br>
> for example at least number 1 to 5 labels. And they are ordered by that<br>
> number in the Github views, making it maybe easier to 'read' them in an<br>
> apparent order.<br>
><br>
> All imports will be done by a 'QGIS-redmine-import' user.<br>
> All attributions will be done based on (Redmine) Name and (if available)<br>
> Github userid (I thin we should leave email addresses away)<br>
> References to commits and pr's can be mapped.<br>
> Assignee's can be set on Github userid's<br>
> Attachment info can be copied (url's to original attachment) BUT(!) the<br>
> api does not provide a way to add those. This can only be done via<br>
> Webinterface...<br>
><br>
> The plan is to take a couple of complex issues and fine-tune a script<br>
> till everybody is satisfied with result.<br>
><br>
> To do this work I need:<br>
><br>
> 1) full backup of community that this is the way to go<br>
> 2) help / feedback on first tests or coding<br>
> 3) some time/days? (after 2.16 packaging: 8th july?) to freeze Redmine<br>
> and dump tables again<br>
> 4) some encouragement<br>
><br>
> Already done: taking the 4079 users of Redmine, and checked with Github<br>
> if they have a user with the same email OR userid... Only 321 matched...<br>
><br>
> So also needed (separate threads/emails?):<br>
> - everybody check this list and see if he/she can match him/herself and<br>
> sent me his/her right Github id together with the Redmine one<br>
> - input/comments about current Labels<br>
> - if we miss something if we do it like this<br>
><br>
><br>
> Not sure how to channel this, but thought to sent it like an email<br>
><br>
> Regards,<br>
><br>
> Richard Duivenvoorde<br>
><br>
><br>
> [0] <a href="https://github.com/m-kuhn/rm2gh" rel="noreferrer" target="_blank">https://github.com/m-kuhn/rm2gh</a><br>
> [1] <a href="https://github.com/m-kuhn/QGIS-Test/issues/" rel="noreferrer" target="_blank">https://github.com/m-kuhn/QGIS-Test/issues/</a><br>
> [2] <a href="https://github.com/jef-n/rm2gh/issues/" rel="noreferrer" target="_blank">https://github.com/jef-n/rm2gh/issues/</a><br>
> [3] <a href="https://developer.github.com/v3/#rate-limiting" rel="noreferrer" target="_blank">https://developer.github.com/v3/#rate-limiting</a><br>
> [4] <a href="https://gist.github.com/jonmagic/5282384165e0f86ef105" rel="noreferrer" target="_blank">https://gist.github.com/jonmagic/5282384165e0f86ef105</a><br>
><br>
> _______________________________________________<br>
> Qgis-psc mailing list<br>
> <a href="mailto:Qgis-psc@lists.osgeo.org">Qgis-psc@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-psc" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-psc</a><br>
</div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br></div>