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

Support the import of pull requests? Our fork supports some functionality #70

Open jaylenw opened 2 years ago

jaylenw commented 2 years ago

Hello, is there any interests to support the importation of Pull Requests? We are aware there are some "gotchas" when trying to import PRs with GitHub's API as certain edge cases are not supported. However, we have modified our fork of the code to support some cases of importing PRs. We have added documentation to our fork in the README.md file. If there is interest, please checkout our fork with the code that supports importing PRs here and if all is well let us know to open a PR to this repository. We are willing to make small changes to our fork so that a PR can be approved and merged into this repository but we can not spend much more time on our fork.

Thanks!

Branch with our changes: https://github.com/CityOfLosAngeles/github-csv-tools/tree/import-pull-requests Diff with our changes as of now: https://github.com/gavinr/github-csv-tools/compare/master...CityOfLosAngeles:import-pull-requests.

gavinr commented 2 years ago

Thanks a lot for the post. I really appreciate you posting the proposed code update. I'd like to leave this open to see if others chime in with the need for this feature.

jaylenw commented 2 years ago

Hello @gavinr , no problem, your welcome. Thanks for your work on this tool!

94rain commented 1 year ago

Thanks for the proposed code changes! I'd love to see this feature as well.

I just tried it with etcd.io/etcd (via githubCsvTools -p --exportAttributes=number,title,labels,state,assignees,milestone,comments,created_at,updated_at,closed_at), and it works well!

DavidGriffith commented 11 months ago

Not to necro-post, but I want to see this as well.

jaylenw commented 8 months ago

Hello @gavinr any updated decision on us opening a pull request to support the proposed functionality? Thanks.