{"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/32#issuecomment-617490914", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/32", "id": 617490914, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNzQ5MDkxNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-22T01:17:44Z", "updated_at": "2020-04-22T01:17:44Z", "author_association": "MEMBER", "body": "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.\r\n\r\nAnd https://github-to-sqlite.dogsheep.net/github/issue_comments links to them:\r\n\r\n\"Screen\r\n", "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/31#issuecomment-617491607", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/31", "id": 617491607, "node_id": "MDEyOklzc3VlQ29tbWVudDYxNzQ5MTYwNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-22T01:20:19Z", "updated_at": "2020-04-22T01:20:19Z", "author_association": "MEMBER", "body": "https://github-to-sqlite.dogsheep.net/github/milestones now link to repo:\r\n\r\n\"Screen\r\n\r\nAnd so do issues: https://github-to-sqlite.dogsheep.net/github/issues\r\n\r\n\"Screen\r\n", "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/731#issuecomment-618070541", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/731", "id": 618070541, "node_id": "MDEyOklzc3VlQ29tbWVudDYxODA3MDU0MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-22T22:20:38Z", "updated_at": "2020-04-22T22:20:38Z", "author_association": "OWNER", "body": "I started thinking about this while building https://github.com/simonw/datasette-publish-now\r\n\r\nThe Vercel hosting platform is built on ASGI - so I need a way to provide an `app` ASGI object for it to use rather than Datasette's normal pattern of starting up the server using the `datasette serve` command.\r\n\r\nThe plugin currently does that by generating an `index.py` file that looks like this:\r\n\r\n```python\r\nfrom datasette.app import Datasette\r\nimport json\r\nmetadata = dict()\r\ntry:\r\n metadata = json.load(open(\"metadata.json\"))\r\nexcept Exception:\r\n pass\r\napp = Datasette([], [\"fixtures.db\"], metadata=metadata).app()\r\n```\r\nBut that means I have to replicate the different CLI options - `--plugins-dir` etc - and figure out how to pass them to the `Datasette()` constructor.\r\n\r\nThis would be a whole lot easier if I could use `app = Datasette(configure_directory=\".\")` and provide a magically configured instance based on the presence of files in the specified directory.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 605110015, "label": "Option to automatically configure based on directory layout"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/731#issuecomment-618070791", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/731", "id": 618070791, "node_id": "MDEyOklzc3VlQ29tbWVudDYxODA3MDc5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-22T22:21:27Z", "updated_at": "2020-04-22T22:21:27Z", "author_association": "OWNER", "body": "I linked to this from https://github.com/zeit/now/discussions/4055", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 605110015, "label": "Option to automatically configure based on directory layout"}, "performed_via_github_app": null}