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

Fix issue #39: Not all issues are crawled #47

Merged
merged 6 commits into from
Aug 30, 2024
Merged

Conversation

neubig
Copy link
Contributor

@neubig neubig commented Aug 30, 2024

This pull request fixes #39.

The issue has been successfully resolved. The PR implements pagination in the download_issues_from_github function within github_resolver/resolve_issues.py. This change allows the function to fetch issues in batches of 100 and continue until all issues are retrieved, addressing the problem of incomplete issue crawling. The modification ensures that repositories with more than one page of issues, such as https://github.com/rbren/rss-parser, will now have all their issues properly crawled. The success is confirmed by all 20 tests passing after the changes were implemented. This solution effectively resolves the pagination problem and should now correctly fetch all issues from GitHub repositories, regardless of the total number of issues.

Automatic fix generated by OpenHands 🙌

@neubig neubig marked this pull request as ready for review August 30, 2024 17:30
@neubig neubig enabled auto-merge (squash) August 30, 2024 17:30
@neubig neubig merged commit 6275aa9 into main Aug 30, 2024
1 check passed
@neubig neubig deleted the openhands-fix-issue-39 branch August 30, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not all issues are crawled
1 participant