Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of comments transfered limited to 30 #35

Open
cbergman opened this issue Sep 6, 2014 · 0 comments
Open

Number of comments transfered limited to 30 #35

cbergman opened this issue Sep 6, 2014 · 0 comments
Labels

Comments

@cbergman
Copy link

cbergman commented Sep 6, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants