Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Export more than the first 1000 issues #42

Open

Description

@RyanCavanaugh

I ran this on microsoft/TypeScript and was surprised to see only a 1.6 MB file produced, since I know we have much more content than that. The generated JSON, though, only includes 1,000 issues, so it misses the other ~95% of the issues to have crossed our repo.

Activity

  1. Chocrates commented on May 19, 2021

    @Chocrates
    Contributor

    Thanks for the report @RyanCavanaugh ! That seems bad! I will dig in to this and see what is going on.

  2. Chocrates commented on May 19, 2021

    @Chocrates
    Contributor

    I am able to repro this:
    ./bin/run search:issues --token <token> --owner microsoft --repo typescript --format JSON --since=2020-06-01 > typescript.json

  3. self-assigned this
    on May 19, 2021
  4. Chocrates commented on May 19, 2021

    @Chocrates
    Contributor

    Looks like the GraphQL query gets to page 10 and then can't find the next page (hasNextPage is false). Debugging this to see what is happening.

  5. RyanCavanaugh commented on May 19, 2021

    @RyanCavanaugh
    Author

    The Search API is documented to only return the first 1,000 results

    I've written a similar tool for bulk export and AFAIK the only alternative is to go through the Issues graph instead of the Search graph.

  6. Chocrates commented on May 25, 2021

    @Chocrates
    Contributor

    I opened #45 to discuss how we want to solve this issue, since it will require a bit of re-architecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions