Closed simonw closed 4 years ago
https://github-to-sqlite.dogsheep.net/github?sql=select+html_url%2C+id%2C+issue+from+issue_comments+order+by+updated_at+desc+limit+101
That's because I just broke this code:
https://github.com/dogsheep/github-to-sqlite/blob/2cf75a0a036719eb7e57fdc7c5c2ea0f4c26978a/github_to_sqlite/utils.py#L131-L139
It expects the repo column to be simonw/datasette but it's now an ID instead.
repo
simonw/datasette
I should add a test for this as part of the fix.
Caused by #31.
https://github-to-sqlite.dogsheep.net/github?sql=select+html_url%2C+id%2C+issue+from+issue_comments+order+by+updated_at+desc+limit+101 now shows issues.
And https://github-to-sqlite.dogsheep.net/github/issue_comments links to them:
https://github-to-sqlite.dogsheep.net/github?sql=select+html_url%2C+id%2C+issue+from+issue_comments+order+by+updated_at+desc+limit+101