jeffwidman / bitbucket-issue-migration

A small script for migrating repo issues from Bitbucket to GitHub
GNU General Public License v3.0
316 stars 95 forks source link

First issue gets copied...then assert error #64

Closed abadger1406 closed 8 years ago

abadger1406 commented 8 years ago

python3 migrate.py abadger abadger/c2p abadger1406 NetFM/c2p Please enter your Bitbucket password.

Please enter your GitHub password. Note: If your account has two-factor authentication enabled, you must use a personal access token from https://github.com/settings/tokens in place of a password for this script.

Imported Issue: https://api.github.com/repos/NetFM/c2p/issues/12 Traceback (most recent call last): File "migrate.py", line 442, in sys.exit(main(options)) File "migrate.py", line 148, in main assert gh_issue_id == issue['local_id'] AssertionError

When I look at github, it has just the first issue copied. This issue will get repeated if I run again, but no new issues beyond this are copied.

abadger1406 commented 8 years ago

The repository is part of NetFM organisation, maybe this is related to this issue

abadger1406 commented 8 years ago

{ "message": "Not Found", "documentation_url": "https://developer.github.com/v3" }

Is error message on url above

jeffwidman commented 8 years ago

Closing as a dupe of #42 - I added a test that catches the issue (and that test is failing on your second issue here), but haven't yet added a workaround for the issue.

Can you paste the BB url of the repo you're trying to migrate over on #42 so that when I do go to fix it I can check that it passes?

abadger1406 commented 8 years ago

https://github.com/NetFM/c2p

I've made it public so you can see the repeated issue that has been copied