Closed haysclark closed 8 years ago
Hi,
Thanks for your patch. I'm new to this Git thing, but I had some problems with your patch:
Adding issue [1]: Improve loop.plot, adding comments..Traceback (most recent call last):
File "./migrate.py", line 331, in <module>
add_comments_to_issue(github_issue, comments)
File "./migrate.py", line 239, in add_comments_to_issue
body = u'_From {user} on {created_at}_\n\n{body}'.format(**comment)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 48: ordinal not in range(128)
Not sure if this is a bug introduced by the patch. This particular issue on my BitBucket doesn't seem to contain anything unusual, just text.
Best,
JLT
@jeanluct Thanks for the heads up! I'll totally forgot to test Dry run after refactoring the code.
@jeanluct Thanks again for the heads up. e0af46a fixes the Dry Run bug and I also included some other bugs I noticed. I would have added some tests but I don't know how to author them in Python.
This pull request should be ready to go. Resolves #12 and #13
Thanks! New project maintainer here, so still coming up to speed.
I'm not sure whether the bug fixed in 724bde06c36b62f2a61508e677cfa719e03095b1 is still an issue after the changes in #25... if it is, do you mind rebasing and submitting as a separate PR?
Fixed the SSL issue #12 by updating code to use latest GitHub python library. A lot of the code is based on arthur-debert google-code-issues-migrator project. Fixed a couple bugs with 'start' inject, and BitBucket's Rest API url.