gavinr / github-csv-tools

Import and export GitHub issues via CSV
https://npmjs.com/github-csv-tools
MIT License
650 stars 116 forks source link

Allow comment import #91

Open mattip opened 1 year ago

mattip commented 1 year ago

Now that #82 is merged, the only thing stopping me from importing a repo with ~4000 issues is the lack of support for comments. The api endpoint supports them, but it is not clear to me how to structure the csv file to have comments in them. Is that something you are interested in supporting?

gavinr commented 1 year ago

Yeah, it's hard to shove a comments JSON into CSV. My initial thought is to just put the comments array, i.e.:

[
    {
      "created_at": "2014-01-02T12:34:56Z",
      "body": "talk talk"
    }
  ]

Into a column in the CSV. Open to discussion though.

DavidGriffith commented 11 months ago

Is anything going on at all with this project?