{"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/30#issuecomment-616879753", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/30", "id": 616879753, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNjg3OTc1Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T00:29:29Z", "updated_at": "2020-04-21T00:29:29Z", "author_association": "MEMBER", "body": "`assignee` looks like it's the incorrect type too.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 603618244, "label": "Issues milestone column is the wrong type"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/29#issuecomment-616883275", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/29", "id": 616883275, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNjg4MzI3NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T00:43:28Z", "updated_at": "2020-04-21T00:43:28Z", "author_association": "MEMBER", "body": "I'm copying repo from issue, which surprisingly is a string, not an integer ID.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 603617013, "label": "Milestones should have foreign key to creator and repo"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/30#issuecomment-616883726", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/30", "id": 616883726, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNjg4MzcyNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T00:45:23Z", "updated_at": "2020-04-21T00:45:23Z", "author_association": "MEMBER", "body": "Demo of fix: https://github-to-sqlite.dogsheep.net/github/issues?assignee__notblank=1&milestone__notblank=1\r\n\r\n![github__issues__4_rows_where_where_assignee_is_not_blank_and_milestone_is_not_blank_sorted_by_updated_at_descending](https://user-images.githubusercontent.com/9599/79812758-b49ace80-832e-11ea-81db-bdf993b872cc.png)\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 603618244, "label": "Issues milestone column is the wrong type"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/31#issuecomment-616884647", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/31", "id": 616884647, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNjg4NDY0Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T00:49:16Z", "updated_at": "2020-04-21T00:50:20Z", "author_association": "MEMBER", "body": "The API just gives us the `repository_url`: https://api.github.com/repos/simonw/datasette/issues\r\n\r\n![Mozilla_Firefox_and_Topic__Week_2__Discussion__Submit_your_six_story_points_here](https://user-images.githubusercontent.com/9599/79812950-283cdb80-832f-11ea-8759-9633087d1e7e.png)\r\n\r\nWe currently turn that into a `simonw/datasette` string here:\r\nhttps://github.com/dogsheep/github-to-sqlite/blob/e0e8d8caa9657b04bfb8a2cf16c9b580f38b1805/github_to_sqlite/utils.py#L43-L46", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 603624862, "label": "Issue and milestone should have foreign key to repo"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/176#issuecomment-617208503", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/176", "id": 617208503, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNzIwODUwMw==", "user": {"value": 12976, "label": "nkirsch"}, "created_at": "2020-04-21T14:16:24Z", "updated_at": "2020-04-21T14:16:24Z", "author_association": "NONE", "body": "@eads I'm interested in helping, if there's still a need...", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 285168503, "label": "Add GraphQL endpoint"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/31#issuecomment-617348174", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/31", "id": 617348174, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNzM0ODE3NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T18:50:29Z", "updated_at": "2020-04-21T18:50:29Z", "author_association": "MEMBER", "body": "Since this represents a breaking schema change for anyone running SQL queries against these tables, I'm going to do a major version bump to 2.0 when I release this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 603624862, "label": "Issue and milestone should have foreign key to repo"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/32#issuecomment-617364956", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/32", "id": 617364956, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNzM2NDk1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T19:24:45Z", "updated_at": "2020-04-21T19:24:45Z", "author_association": "MEMBER", "body": "That's because I just broke this code:\r\n\r\nhttps://github.com/dogsheep/github-to-sqlite/blob/2cf75a0a036719eb7e57fdc7c5c2ea0f4c26978a/github_to_sqlite/utils.py#L131-L139\r\n\r\nIt expects the `repo` column to be `simonw/datasette` but it's now an ID instead.\r\n\r\nI should add a test for this as part of the fix.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 604222295, "label": "Issue comments don't appear to populate issues foreign key"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/32#issuecomment-617369247", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/32", "id": 617369247, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNzM2OTI0Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-21T19:33:03Z", "updated_at": "2020-04-21T19:33:03Z", "author_association": "MEMBER", "body": "Caused by #31.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 604222295, "label": "Issue comments don't appear to populate issues foreign key"}, "performed_via_github_app": null}