github-issues-import
github-issues-import copied to clipboard
Number of comments transfered limited to 30
I have encountered an strange behavior in github-issues-import when transferring an issue with many comments. If the issue in the source repository has >30 comments, only the first 30 comments in the issue will be transferred to the destination repository. github-issues-import does however detect the full number of comments in the source issue. I initially found this in a private repository, but I was able to reproduce the problem using the following invocation:
$ python3 gh-issues-import.py --no-config -u cbergman -p XXXXXX -s cbergman/source -t cbergman/destination -i 1
Ignoring default config file. You may be prompted for some missing settings.
You are about to add to 'cbergman/destination':
* 1 new issues
* 40 new comments
* 0 new milestones
* 0 new labels
Are you sure you wish to continue? [Y/n] Y
Successfully created issue 'source'
> Successfully added 30 comments.
The relevant source and desitnation issues are here: https://github.com/cbergman/source/issues/1 https://github.com/cbergman/destination/issues/1
Thanks in advance for looking into what might be causing this behavior.