{"html_url": "https://github.com/simonw/datasette/issues/1#issuecomment-338524454", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1", "id": 338524454, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUyNDQ1NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T01:15:24Z", "updated_at": "2017-10-23T01:15:24Z", "author_association": "OWNER", "body": "Table rendering logic needs to detect the primary key field and turn it into a hyperlink. If there is a compound primary key it should add an extra column at the start of the table which displays the compound key as a link", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267513424, "label": "Addressable pages for every row in a table"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/5#issuecomment-338524857", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/5", "id": 338524857, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUyNDg1Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T01:20:30Z", "updated_at": "2017-10-23T01:20:30Z", "author_association": "OWNER", "body": "https://stackoverflow.com/a/14468878/6083\r\n\r\nLooks like I should order by compound primary key and implement cursor-based pagination.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267516066, "label": "Implement sensible query pagination"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/3#issuecomment-338526148", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/3", "id": 338526148, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUyNjE0OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T01:35:17Z", "updated_at": "2017-10-23T01:35:17Z", "author_association": "OWNER", "body": "https://github.com/ahupp/python-magic/blob/master/README.md", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515678, "label": "Make individual column valuables addressable, with smart content types"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338530389", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338530389, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUzMDM4OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T02:15:41Z", "updated_at": "2017-10-23T02:15:41Z", "author_association": "OWNER", "body": "This means I need a good solution for these compile time options while running in development mode \r\n ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338530480", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338530480, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUzMDQ4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T02:16:33Z", "updated_at": "2017-10-23T02:16:33Z", "author_association": "OWNER", "body": " How about when the service starts up it checks for a compile.json file and, if it is missing, creates it using the same code we run at compile time normally ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/11#issuecomment-338530704", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/11", "id": 338530704, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUzMDcwNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T02:18:36Z", "updated_at": "2017-10-23T02:18:36Z", "author_association": "OWNER", "body": "Needed by https://github.com/simonw/stateless-datasets/issues/4#issuecomment-338530389", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267522549, "label": "Code that generates compile-time properties about the database "}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338531827", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338531827, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUzMTgyNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T02:28:31Z", "updated_at": "2017-10-23T02:29:05Z", "author_association": "OWNER", "body": "Many of the applications I want to implement with this would benefit from having permanent real URLs.\r\n\r\nSo let\u2019s have both. The sha1 urls will serve far future cache headers (and an etag derived from their path). The non sha1 URLs will serve 302 uncached redirects to the sha1 locations.\r\n\r\nWe will have a setting that lets people opt out of this behavior.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/8#issuecomment-338697223", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/8", "id": 338697223, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODY5NzIyMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T15:28:11Z", "updated_at": "2017-10-23T15:28:11Z", "author_association": "OWNER", "body": "Now returning this:\r\n\r\n {\r\n \"error\": \"attempt to write a readonly database\",\r\n \"ok\": false\r\n }\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267517314, "label": "Attempting an INSERT or UPDATE should return a sane error message"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/16#issuecomment-338768860", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/16", "id": 338768860, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODc2ODg2MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T19:23:29Z", "updated_at": "2017-10-23T19:23:29Z", "author_association": "OWNER", "body": "I could use the table-reflow mechanism demonstrated here: http://demos.jquerymobile.com/1.4.3/table-reflow/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267726219, "label": "Default HTML/CSS needs to look reasonable and be responsive"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/20#issuecomment-338769538", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/20", "id": 338769538, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODc2OTUzOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T19:25:55Z", "updated_at": "2017-10-23T19:25:55Z", "author_association": "OWNER", "body": "Maybe this should be handled by views instead?\r\n\r\nhttps://stateless-datasets-wreplxalgu.now.sh/ lists some views\r\n\r\nhttps://stateless-datasets-wreplxalgu.now.sh/?sql=select%20*%20from%20%22Order%20Subtotals%22 is an example showing the content of a view.\r\n\r\nWhat would the URL to views be? I don't think a view can share a name with a table, so the same URL scheme could work for both.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267759136, "label": "Config file with support for defining canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338797522", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338797522, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODc5NzUyMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T21:09:33Z", "updated_at": "2017-10-23T21:09:33Z", "author_association": "OWNER", "body": "https://stackoverflow.com/a/18134919/6083 is a good answer about how many characters of the hash are needed to be unique. I say we default to 7 characters, like git does - but allow extras to be configured.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338789734", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338789734, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODc4OTczNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T20:40:25Z", "updated_at": "2017-10-23T21:10:19Z", "author_association": "OWNER", "body": "URL design:\r\n\r\n /database/table.json - redirects to /database-6753f4a/table.json\r\n\r\nSo we always redirect to the version with the truncated hash in the URL.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338799438", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338799438, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODc5OTQzOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T21:17:25Z", "updated_at": "2017-10-23T21:17:25Z", "author_association": "OWNER", "body": "Can I take advantage of HTTP/2 so even if you get redirected I start serving you the correct resource straight away?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338804173", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338804173, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODgwNDE3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T21:36:37Z", "updated_at": "2017-10-23T21:36:37Z", "author_association": "OWNER", "body": "Looks like the easiest way to implement HTTP/2 server push today is to run behind Cloudflare and use this:\r\n\r\n Link: ; rel=preload; as=script\r\n\r\nhttps://blog.cloudflare.com/announcing-support-for-http-2-server-push-2/\r\n\r\nHere's the W3C draft: https://w3c.github.io/preload/\r\n\r\nFrom https://w3c.github.io/preload/#as-attribute it looks like I should use `as=fetch` if the content is intended for consumption by fetch() or XMLHTTPRequest.\r\n\r\nUnclear if I should throw `as=fetch crossorigin` in there. Need to experiment on that.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/4#issuecomment-338806718", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/4", "id": 338806718, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODgwNjcxOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T21:47:53Z", "updated_at": "2017-10-23T21:47:53Z", "author_association": "OWNER", "body": "Here's what the homepage of cloudflare.com does (with newlines added within the link header for clarity):\r\n\r\n $ curl -i 'https://www.cloudflare.com/' \r\n HTTP/1.1 200 OK\r\n Date: Mon, 23 Oct 2017 21:45:58 GMT\r\n Content-Type: text/html; charset=utf-8\r\n Transfer-Encoding: chunked\r\n Connection: keep-alive\r\n link:\r\n ; rel=preload; as=style,\r\n ; rel=preload; as=style,\r\n ; rel=preload,\r\n ; rel=preload,\r\n ; rel=preload; as=video,\r\n ; rel=preload; as=video,\r\n ; rel=preload; as=video,\r\n ; rel=preload; as=video,\r\n ; rel=preload; as=video,\r\n ; rel=preload; as=image\r\n\r\nThe original header looked like this:\r\n\r\n link: ; rel=preload; as=style, ; rel=preload; as=style, ; rel=preload, ; rel=preload, ; rel=preload; as=video, ; rel=preload; as=video, ; rel=preload; as=video, ; rel=preload; as=video, ; rel=preload; as=video, ; rel=preload; as=image\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267515836, "label": "Make URLs immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/24#issuecomment-338834213", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/24", "id": 338834213, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODgzNDIxMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T00:23:05Z", "updated_at": "2017-10-24T00:23:05Z", "author_association": "OWNER", "body": "If I can\u2019t setect a primary key, I won\u2019t provide a URL for those records", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267828746, "label": "Implement full URL design"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/17#issuecomment-338852971", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/17", "id": 338852971, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg1Mjk3MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T02:26:47Z", "updated_at": "2017-10-24T02:26:47Z", "author_association": "OWNER", "body": "I'm not going to bother with this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267732005, "label": "In development mode, should still pick up new .db files"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/7#issuecomment-338853083", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/7", "id": 338853083, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg1MzA4Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T02:27:25Z", "updated_at": "2017-10-24T02:27:25Z", "author_association": "OWNER", "body": "Fixed in 9d219140694551453bfa528e0624919eb065f9d6", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267516650, "label": "Framework where by every page is JSON plus a template"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1#issuecomment-338523957", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1", "id": 338523957, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODUyMzk1Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-23T01:09:05Z", "updated_at": "2017-10-24T02:42:12Z", "author_association": "OWNER", "body": "I also need to solve for weird primary keys. If it\u2019s a single integer or a single char field that\u2019s easy. But what if it is a compound key with more than one chat field? What delimiter can I use that will definitely be safe?\r\n\r\nLet\u2019s say I use hyphen. Now I need to find a durable encoding for any hyphens that might exist in the key fields themselves.\r\n\r\nHow about I use URLencoding for every non-alpha-numeric character? That will turn hyphens into (I think) %2D. It should also solve for unicode characters, but it means the vast majority of keys (integers) will display neatly, including a compound key of eg 5678-345\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267513424, "label": "Addressable pages for every row in a table"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1#issuecomment-338857568", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1", "id": 338857568, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg1NzU2OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T02:57:12Z", "updated_at": "2017-10-24T02:57:12Z", "author_association": "OWNER", "body": "I can find the primary keys using:\r\n\r\n PRAGMA table_info(myTable)\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267513424, "label": "Addressable pages for every row in a table"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/23#issuecomment-338859620", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/23", "id": 338859620, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg1OTYyMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T03:11:42Z", "updated_at": "2017-10-24T03:11:42Z", "author_association": "OWNER", "body": "I\u2019m going to implement everything in https://docs.djangoproject.com/en/1.11/ref/models/querysets/#field-lookups with the exception of range and the various date ones.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267788884, "label": "Support Django-style filters in querystring arguments"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/23#issuecomment-338859709", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/23", "id": 338859709, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg1OTcwOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T03:12:18Z", "updated_at": "2017-10-24T03:12:42Z", "author_association": "OWNER", "body": "I\u2019m going to need to write unit tests for this, is this depends on #9", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267788884, "label": "Support Django-style filters in querystring arguments"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1#issuecomment-338861511", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1", "id": 338861511, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg2MTUxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T03:24:17Z", "updated_at": "2017-10-24T03:24:17Z", "author_association": "OWNER", "body": "Some tables won't have primary keys, in which case I won't generate pages for individual records.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267513424, "label": "Addressable pages for every row in a table"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/9#issuecomment-338863155", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/9", "id": 338863155, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg2MzE1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T03:36:58Z", "updated_at": "2017-10-24T03:36:58Z", "author_association": "OWNER", "body": "I\u2019m going to use py.test and start with all tests in a single tests.py module", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267517348, "label": "Initial test suite"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1#issuecomment-338872286", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1", "id": 338872286, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg3MjI4Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T04:46:06Z", "updated_at": "2017-10-24T04:46:06Z", "author_association": "OWNER", "body": "I'm going to use `,` as the separator between elements of a compound primary key. If those elements themselves include a comma I will use `%2C` in its place.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267513424, "label": "Addressable pages for every row in a table"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/9#issuecomment-338882110", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/9", "id": 338882110, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg4MjExMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T05:55:33Z", "updated_at": "2017-10-24T05:55:33Z", "author_association": "OWNER", "body": "Well, I've started it at least.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267517348, "label": "Initial test suite"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1#issuecomment-338882207", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1", "id": 338882207, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg4MjIwNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T05:56:04Z", "updated_at": "2017-10-24T05:56:04Z", "author_association": "OWNER", "body": "Next step: generate links to these.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267513424, "label": "Addressable pages for every row in a table"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/24#issuecomment-339003850", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/24", "id": 339003850, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTAwMzg1MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T14:12:00Z", "updated_at": "2017-10-24T14:12:00Z", "author_association": "OWNER", "body": "As of b46e370ee6126aa2fa85cf789a31da38aed98496 this is done.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267828746, "label": "Implement full URL design"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/29#issuecomment-339019873", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/29", "id": 339019873, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTAxOTg3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T14:58:33Z", "updated_at": "2017-10-24T14:58:33Z", "author_association": "OWNER", "body": "Here's what I've got now:\r\n\r\n\"localhost_8006_northwind-40d049b_categories_json\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268050821, "label": "Handle bytestring records encoding to JSON"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/5#issuecomment-339027711", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/5", "id": 339027711, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTAyNzcxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T15:21:30Z", "updated_at": "2017-10-24T15:21:30Z", "author_association": "OWNER", "body": "I have code to detect primary keys on tables... but what should I do for tables that lack primary keys? How should I even sort them?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267516066, "label": "Implement sensible query pagination"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/5#issuecomment-339028979", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/5", "id": 339028979, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTAyODk3OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T15:25:08Z", "updated_at": "2017-10-24T15:25:08Z", "author_association": "OWNER", "body": "Looks like I can use the SQLite specific \u201crowid\u201d in that case. It isn\u2019t guaranteed to stay consistent across a VACUUM but that\u2019s ok because we are immutable anyway.\r\n\r\n https://www.sqlite.org/lang_createtable.html#rowid", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267516066, "label": "Implement sensible query pagination"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/23#issuecomment-339138809", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/23", "id": 339138809, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTEzODgwOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T21:32:46Z", "updated_at": "2017-10-24T21:32:46Z", "author_association": "OWNER", "body": "May as well support most of https://sqlite.org/lang_expr.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267788884, "label": "Support Django-style filters in querystring arguments"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/23#issuecomment-338854988", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/23", "id": 338854988, "node_id": "MDEyOklzc3VlQ29tbWVudDMzODg1NDk4OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-24T02:40:12Z", "updated_at": "2017-10-25T00:05:46Z", "author_association": "OWNER", "body": " /database-name/table-name?name__contains=simon&sort=id+desc\r\n\r\nNote that if there's a column called \"sort\" you can still do sort__exact=blah\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267788884, "label": "Support Django-style filters in querystring arguments"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/23#issuecomment-339186887", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/23", "id": 339186887, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTE4Njg4Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T01:39:43Z", "updated_at": "2017-10-25T04:22:41Z", "author_association": "OWNER", "body": "Still to do:\r\n\r\n- [x] `gt`, `gte`, `lt`, `lte`\r\n- [x] `like`\r\n- [x] `glob`\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267788884, "label": "Support Django-style filters in querystring arguments"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/23#issuecomment-339210353", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/23", "id": 339210353, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTIxMDM1Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T04:23:02Z", "updated_at": "2017-10-25T04:23:02Z", "author_association": "OWNER", "body": "I'm going to call this one done for the moment. The date filters can go in a stretch goal.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267788884, "label": "Support Django-style filters in querystring arguments"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/19#issuecomment-339366612", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/19", "id": 339366612, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM2NjYxMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T15:21:16Z", "updated_at": "2017-10-25T15:21:16Z", "author_association": "OWNER", "body": "I had to manually set the content disposition header:\r\n\r\n return await response.file_stream(\r\n filepath, headers={\r\n 'Content-Disposition': 'attachment; filename=\"{}\"'.format(ilepath)\r\n }\r\n )\r\n\r\nIn the next release of Sanic I can just use the filename= argument instead:\r\n\r\nhttps://github.com/channelcat/sanic/commit/07e95dba4f5983afc1e673df14bdd278817288aa", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267741262, "label": "Efficient url for downloading the raw database file"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/37#issuecomment-339382054", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/37", "id": 339382054, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM4MjA1NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T16:05:56Z", "updated_at": "2017-10-25T16:05:56Z", "author_association": "OWNER", "body": "Could this be as simple as using the iterative JSON encoder and adding a yield statement in between each chunk?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268453968, "label": "Ability to serialize massive JSON without blocking event loop"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/38#issuecomment-339388215", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/38", "id": 339388215, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM4ODIxNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T16:25:45Z", "updated_at": "2017-10-25T16:25:45Z", "author_association": "OWNER", "body": "First experiment: hook up an iterative CSV dump (just because that\u2019s a tiny bit easier to get started with than iterative a JSON). Have it execute a big select statement and then iterate through the result set 100 rows at a time using sqite fetchmany() - also have it async sleep for a second in between each batch of 100.\r\n\r\nCan this work without needing python threads? ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268462768, "label": "Experiment with patterns for concurrent long running queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/38#issuecomment-339388771", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/38", "id": 339388771, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM4ODc3MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T16:27:29Z", "updated_at": "2017-10-25T16:27:29Z", "author_association": "OWNER", "body": "If this does work, I need to figure it what to do about the HTML view. ASsuming I can iteratively produce JSON and CSV, what to do about HTML? One option: render the first 500 rows as HTML, then hand off to an infinite scroll experience that iteratively loads more rows as JSON.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268462768, "label": "Experiment with patterns for concurrent long running queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/38#issuecomment-339389105", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/38", "id": 339389105, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM4OTEwNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T16:28:39Z", "updated_at": "2017-10-25T16:28:39Z", "author_association": "OWNER", "body": "The gold standard here is to be able to serve up increasingly large datasets without blocking the event loop and while using a sustainable amount of RAM", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268462768, "label": "Experiment with patterns for concurrent long running queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/38#issuecomment-339389328", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/38", "id": 339389328, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM4OTMyOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T16:29:23Z", "updated_at": "2017-10-25T16:29:23Z", "author_association": "OWNER", "body": "Ideally we can get some serious gains from the fact that our database file is opened with the immutable option.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268462768, "label": "Experiment with patterns for concurrent long running queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339395551", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339395551, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM5NTU1MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T16:49:32Z", "updated_at": "2017-10-25T16:49:32Z", "author_association": "OWNER", "body": "Simplest implementation will be to create a temporary directory somewhere, copy in a Dockerfile and the databases and run \u201cnow\u201d in it.\r\n\r\nIdeally I can use symlinks rather than copying potentially large database files around.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/39#issuecomment-339406634", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/39", "id": 339406634, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTQwNjYzNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T17:27:10Z", "updated_at": "2017-10-25T17:27:10Z", "author_association": "OWNER", "body": "It certainly looks like some of the stuff in https://sqlite.org/pragma.html could be used to screw around with things. Example: `PRAGMA case_sensitive_like = 1` - would that affect future queries?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268469569, "label": "Protect against malicious SQL that causes damage even though our DB is immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/39#issuecomment-339413825", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/39", "id": 339413825, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTQxMzgyNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T17:48:48Z", "updated_at": "2017-10-25T17:48:48Z", "author_association": "OWNER", "body": "Could I use https://sqlparse.readthedocs.io/en/latest/ to parse incoming statements and ensure they are pure SELECTs? Would that prevent people from using a compound SELECT statement to trigger an evil PRAGMA of some sort?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268469569, "label": "Protect against malicious SQL that causes damage even though our DB is immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/16#issuecomment-339420462", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/16", "id": 339420462, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTQyMDQ2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T18:10:51Z", "updated_at": "2017-10-25T18:10:51Z", "author_association": "OWNER", "body": "https://sitesforprofit.com/responsive-table-plugins-and-patterns has some useful links.\r\n\r\nI really like the pattern from https://css-tricks.com/responsive-data-tables/\r\n\r\n /* \r\n Max width before this PARTICULAR table gets nasty\r\n This query will take effect for any screen smaller than 760px\r\n and also iPads specifically.\r\n */\r\n @media \r\n only screen and (max-width: 760px),\r\n (min-device-width: 768px) and (max-device-width: 1024px) {\r\n\r\n /* Force table to not be like tables anymore */\r\n table, thead, tbody, th, td, tr { \r\n display: block; \r\n }\r\n \r\n /* Hide table headers (but not display: none;, for accessibility) */\r\n thead tr { \r\n position: absolute;\r\n top: -9999px;\r\n left: -9999px;\r\n }\r\n \r\n tr { border: 1px solid #ccc; }\r\n \r\n td { \r\n /* Behave like a \"row\" */\r\n border: none;\r\n border-bottom: 1px solid #eee; \r\n position: relative;\r\n padding-left: 50%; \r\n }\r\n \r\n td:before { \r\n /* Now like a table header */\r\n position: absolute;\r\n /* Top/left values mimic padding */\r\n top: 6px;\r\n left: 6px;\r\n width: 45%; \r\n padding-right: 10px; \r\n white-space: nowrap;\r\n }\r\n \r\n /*\r\n Label the data\r\n */\r\n td:nth-of-type(1):before { content: \"First Name\"; }\r\n td:nth-of-type(2):before { content: \"Last Name\"; }\r\n td:nth-of-type(3):before { content: \"Job Title\"; }\r\n td:nth-of-type(4):before { content: \"Favorite Color\"; }\r\n td:nth-of-type(5):before { content: \"Wars of Trek?\"; }\r\n td:nth-of-type(6):before { content: \"Porn Name\"; }\r\n td:nth-of-type(7):before { content: \"Date of Birth\"; }\r\n td:nth-of-type(8):before { content: \"Dream Vacation City\"; }\r\n td:nth-of-type(9):before { content: \"GPA\"; }\r\n td:nth-of-type(10):before { content: \"Arbitrary Data\"; }\r\n }", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267726219, "label": "Default HTML/CSS needs to look reasonable and be responsive"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/39#issuecomment-339510770", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/39", "id": 339510770, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTUxMDc3MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-26T00:07:40Z", "updated_at": "2017-10-26T00:07:40Z", "author_association": "OWNER", "body": "It looks like I should double quote my columns and ensure they are correctly escaped https://blog.christosoft.de/2012/10/sqlite-escaping-table-acolumn-names/ - hopefully using ? placeholders for column names will work. I should use ? for tables too.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268469569, "label": "Protect against malicious SQL that causes damage even though our DB is immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339514819", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339514819, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTUxNDgxOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-26T00:35:46Z", "updated_at": "2017-10-26T00:35:46Z", "author_association": "OWNER", "body": "I\u2019m going to have a single command-line app that does everything.\r\n\r\nName to be decided - options include dataset, stateless, datasite (I quite like that - it reflects SQLite and the fact that you create a website)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339515822", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339515822, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTUxNTgyMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-26T00:43:34Z", "updated_at": "2017-10-26T00:43:34Z", "author_association": "OWNER", "body": "datasite .\r\n\r\n- starts web app in current directory, serving all DB files\r\n\r\ndatasite . -p 8001\r\n\r\n- serves on custom port\r\n\r\ndatasite blah.db blah2.db\r\n\r\n- serves specified files\r\n\r\nYou can\u2019t specify more than one directory. You can specify as many files as you like. If you specify two files with different oaths but the same name then they must be accessed by hash.\r\n\r\ndatasite publish .\r\n\r\n- publishes current directory to the internet! Uses now by default, if it detects it on your path. Other publishers will be eventually added as plugins.\r\n\r\ndatasite publish http://path-to-db.db\r\n\r\n- publishes a DB available at a URL. Works by constructing the Dockerfile with wget calls in it.\r\n\r\ndatasite blah.db -m metadata.json\r\n\r\nIf you specify a directory it looks for metadata.json in that directory. Otherwise you can pass an explicit metadata file oath with -m or \u2014metadata", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339516032", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339516032, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTUxNjAzMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-26T00:44:52Z", "updated_at": "2017-10-26T00:44:52Z", "author_association": "OWNER", "body": "Another potential name: datapi ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339517846", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339517846, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTUxNzg0Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-26T00:58:39Z", "updated_at": "2017-10-26T00:58:39Z", "author_association": "OWNER", "body": "I\u2019m going to use Click for this\r\n\r\nhttp://nvie.com/posts/writing-a-cli-in-python-in-under-60-seconds/\r\nhttps://kushaldas.in/posts/building-command-line-tools-in-python-with-click.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339724700", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339724700, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTcyNDcwMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-26T16:35:20Z", "updated_at": "2017-10-26T16:35:20Z", "author_association": "OWNER", "body": "Here\u2019s how to make the \u201cserve\u201d subcommand the default if it is called with no arguments:\r\n\r\n @click.group(invoke_without_command=True)\r\n def serve():\r\n # ...", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/41#issuecomment-339866724", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/41", "id": 339866724, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTg2NjcyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-27T04:04:52Z", "updated_at": "2017-10-27T04:04:52Z", "author_association": "OWNER", "body": "\"databases\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268590777, "label": "Homepage should show summary of databases"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-339891755", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 339891755, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTg5MTc1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-27T07:10:53Z", "updated_at": "2017-10-27T07:10:53Z", "author_association": "OWNER", "body": "Deploys to Now aren't working at the moment - they aren't showing the uploaded databases, because I've broken the path handling somehow. I need to do a bit more work here.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-340561577", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 340561577, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MDU2MTU3Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-30T19:43:40Z", "updated_at": "2017-10-30T19:43:40Z", "author_association": "OWNER", "body": "http://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/quickstart.html describes how to package this for PyPI", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/39#issuecomment-340787868", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/39", "id": 340787868, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MDc4Nzg2OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-31T14:54:14Z", "updated_at": "2017-10-31T14:54:14Z", "author_association": "OWNER", "body": "Here\u2019s how I can (I think) provide safe execution of arbitrary SQL while blocking PRAGMA calls: let people use names parameters in their SQL and apply strict filtering to the SQL query but not to the parameter values.\r\n\r\n cur.execute(\r\n \"select * from people where name_last=:who and age=:age\", {\r\n \"who\": who,\r\n \"age\": age\r\n })\r\n\r\nIn URL form:\r\n\r\n ?sql=select...&who=Terry&age=34\r\n\r\nNow we can apply strict, dumb validation rules to the SQL part while allowing anything in the named queries - so people can execute a search for PRAGMA without being able to execute a PRAGMA statement.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268469569, "label": "Protect against malicious SQL that causes damage even though our DB is immutable"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/10#issuecomment-341938424", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/10", "id": 341938424, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MTkzODQyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-04T23:48:57Z", "updated_at": "2017-11-04T23:48:57Z", "author_association": "OWNER", "body": "Done: https://github.com/simonw/stateless-datasets/commit/edaa10587e60946e0c1935333f6b79553db33798", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267517381, "label": "Set up Travis"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-341945420", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 341945420, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MTk0NTQyMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-05T02:55:07Z", "updated_at": "2017-11-05T02:55:07Z", "author_association": "OWNER", "body": "To simplify things a bit, I'm going to require that every database is explicitly listed in the command line. I won't support \"serve everything in this directory\" for the moment.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-342030075", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 342030075, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MjAzMDA3NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-06T02:25:48Z", "updated_at": "2017-11-06T02:25:48Z", "author_association": "OWNER", "body": "... I tried that, I don't like it. I'm going to bring back \"directory serving\" by allowing you to pass a directory as an argument to `datasite` (including `datasite .`). I may even make `.` the default if you don't provide anything at all.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/16#issuecomment-342032943", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/16", "id": 342032943, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MjAzMjk0Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-06T02:50:07Z", "updated_at": "2017-11-06T02:50:07Z", "author_association": "OWNER", "body": "Default look with Bootstrap 4 looks like this:\r\n\"flights\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267726219, "label": "Default HTML/CSS needs to look reasonable and be responsive"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/44#issuecomment-342484889", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/44", "id": 342484889, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MjQ4NDg4OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-07T13:39:49Z", "updated_at": "2017-11-07T13:39:49Z", "author_association": "OWNER", "body": "I\u2019m going to call this feature \u201ccount values\u201d", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 269731374, "label": "?_group_count=country - return counts by specific column(s)"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/47#issuecomment-342521344", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/47", "id": 342521344, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MjUyMTM0NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-07T15:37:45Z", "updated_at": "2017-11-07T15:37:45Z", "author_association": "OWNER", "body": "GDS Registries could be fun too: https://registers.cloudapps.digital/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271831408, "label": "Create neat example database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/32#issuecomment-343164111", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/32", "id": 343164111, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzE2NDExMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T14:05:56Z", "updated_at": "2017-11-09T14:05:56Z", "author_association": "OWNER", "body": "Implemented in 31b21f5c5e15fc3acab7fabb170c1da71dc3c98c", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268106803, "label": "Try running SQLite queries in a separate thread"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/48#issuecomment-343168796", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/48", "id": 343168796, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzE2ODc5Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T14:22:21Z", "updated_at": "2017-11-09T14:22:21Z", "author_association": "OWNER", "body": "Won't fix: ujson is not compatible with the custom JSON encoder I'm using here: https://github.com/simonw/immutabase/blob/b2dee11fcd989d9e2a7bf4de1e23dbc320c05013/immutabase/app.py#L401-L416", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272391665, "label": "Switch to ujson"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/49#issuecomment-343237982", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/49", "id": 343237982, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzIzNzk4Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T17:58:01Z", "updated_at": "2017-11-09T17:58:01Z", "author_association": "OWNER", "body": "More terms:\r\n\r\n* publish\r\n* share\r\n* docker\r\n* host\r\n* stateless\r\n\r\nI want to capture the idea of publishing an immutable database in a stateless container.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272661336, "label": "Pick a name"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/49#issuecomment-343238262", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/49", "id": 343238262, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzIzODI2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T17:58:59Z", "updated_at": "2017-11-09T17:58:59Z", "author_association": "OWNER", "body": "The name should ideally be available on PyPI and should make sense as both a command line application and a library.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272661336, "label": "Pick a name"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/48#issuecomment-343239062", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/48", "id": 343239062, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzIzOTA2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T18:01:46Z", "updated_at": "2017-11-09T18:01:46Z", "author_association": "OWNER", "body": "This looks promising: https://github.com/esnme/ultrajson/issues/124#issuecomment-323882878", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272391665, "label": "Switch to ujson"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/50#issuecomment-343266326", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/50", "id": 343266326, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzI2NjMyNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T19:33:18Z", "updated_at": "2017-11-09T19:33:18Z", "author_association": "OWNER", "body": "http://sanic.readthedocs.io/en/latest/sanic/testing.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272694136, "label": "Unit tests against application itself"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/49#issuecomment-343281876", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/49", "id": 343281876, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzI4MTg3Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-09T20:30:42Z", "updated_at": "2017-11-09T20:30:42Z", "author_association": "OWNER", "body": "How about datasette?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272661336, "label": "Pick a name"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/49#issuecomment-343551356", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/49", "id": 343551356, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzU1MTM1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-10T18:33:22Z", "updated_at": "2017-11-10T18:33:22Z", "author_association": "OWNER", "body": "I'm going with datasette.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272661336, "label": "Pick a name"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/52#issuecomment-343557070", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/52", "id": 343557070, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzU1NzA3MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-10T18:57:47Z", "updated_at": "2017-11-10T18:57:47Z", "author_association": "OWNER", "body": "https://file.io/ looks like it could be good for this. It's been around since 2015, and lets you upload a temporary file which can be downloaded once.\r\n\r\n $ curl -s -F \"file=@database.db\" \"https://file.io/?expires=1d\"\r\n {\"success\":true,\"key\":\"ySrl1j\",\"link\":\"https://file.io/ySrl1j\",\"expiry\":\"1 day\"}\r\n\r\nDownloading from that URL serves up the data with a `Content-disposition` header containing the filename:\r\n\r\n simonw$ curl -vv https://file.io/ySrl1j | more\r\n % Total % Received % Xferd Average Speed Time Time Time Current\r\n Dload Upload Total Spent Left Speed\r\n 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 34.232.1.167...\r\n * Connected to file.io (34.232.1.167) port 443 (#0)\r\n * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\r\n * Server certificate: file.io\r\n * Server certificate: Amazon\r\n * Server certificate: Amazon Root CA 1\r\n * Server certificate: Starfield Services Root Certificate Authority - G2\r\n > GET /ySrl1j HTTP/1.1\r\n > Host: file.io\r\n > User-Agent: curl/7.43.0\r\n > Accept: */*\r\n > \r\n < HTTP/1.1 200 OK\r\n < Date: Fri, 10 Nov 2017 18:14:38 GMT\r\n < Content-Type: undefined\r\n < Transfer-Encoding: chunked\r\n < Connection: keep-alive\r\n < X-Powered-By: Express\r\n < X-RateLimit-Limit: 5\r\n < X-RateLimit-Remaining: 4\r\n < Access-Control-Allow-Origin: *\r\n < Access-Control-Allow-Headers: Cache-Control,X-reqed-With,x-requested-with\r\n < Content-disposition: attachment; filename=database.db\r\n ...\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273026602, "label": "Solution for temporarily uploading DB so it can be built by docker"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/20#issuecomment-343581130", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/20", "id": 343581130, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzU4MTEzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-10T20:44:38Z", "updated_at": "2017-11-10T20:44:38Z", "author_association": "OWNER", "body": "I'm going to handle this a different way. I'm going to support a local history of your own queries stored in localStorage, but if you want to share a query you have to do it with a URL.\r\n\r\nIf people really want canned query support, they can do that using custom templates - see #12 - or by adding views to their database before they publish it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267759136, "label": "Config file with support for defining canned queries"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/21#issuecomment-343581332", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/21", "id": 343581332, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzU4MTMzMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-10T20:45:42Z", "updated_at": "2017-11-10T20:45:42Z", "author_association": "OWNER", "body": "I'm not going to use Sanic's mechanism for this. I'll use arguments passed to my cli instead.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267769034, "label": "Use Sanic configuration mechanism "}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/16#issuecomment-343643332", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/16", "id": 343643332, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0MzMzMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T06:00:04Z", "updated_at": "2017-11-11T06:00:04Z", "author_association": "OWNER", "body": "Here's what a table looks like now at a smaller screen size:\r\n\r\n\"parlgov-development__info_data_source\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267726219, "label": "Default HTML/CSS needs to look reasonable and be responsive"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/54#issuecomment-343644891", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/54", "id": 343644891, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0NDg5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T06:39:54Z", "updated_at": "2017-11-11T06:39:54Z", "author_association": "OWNER", "body": "I can detect something is a view like this:\r\n\r\n SELECT name from sqlite_master WHERE type ='view';\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273121803, "label": "Views should not attempt to link to records / use rowids"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/26#issuecomment-343644976", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/26", "id": 343644976, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0NDk3Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T06:42:23Z", "updated_at": "2017-11-11T06:42:23Z", "author_association": "OWNER", "body": "Simplest version of this:\r\n\r\n1. Create a temporary directory\r\n2. Write a Dockerfile into it that pulls an image and pip installs datasette\r\n3. Add symlinks to the DBs they listed (so we don't have to copy them)\r\n4. Shell out to \"now\"\r\n5. Done!\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267861210, "label": "Command line tool for uploading one or more DBs to Now"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/26#issuecomment-343645249", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/26", "id": 343645249, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0NTI0OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T06:48:59Z", "updated_at": "2017-11-11T06:48:59Z", "author_association": "OWNER", "body": "Doing this works:\r\n\r\n import os\r\n os.link('/tmp/databases/northwind.db', '/tmp/tmp-blah/northwind.db')\r\n\r\nThat creates a link in tmp-blah - and then when I delete that entire directory like so:\r\n\r\n import shutil\r\n shutil.rmtree('/tmp/tmp-blah')\r\n\r\nThe original database is not deleted, just the link.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267861210, "label": "Command line tool for uploading one or more DBs to Now"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/26#issuecomment-343645327", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/26", "id": 343645327, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0NTMyNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T06:51:16Z", "updated_at": "2017-11-11T06:51:16Z", "author_association": "OWNER", "body": "I can create the temporary directory like so:\r\n\r\n import tempfile\r\n t = tempfile.TemporaryDirectory()\r\n t\r\n \r\n t.name\r\n '/var/folders/w9/0xm39tk94ng9h52g06z4b54c0000gp/T/tmpkym70wlp'\r\n\r\nAnd then to delete it all:\r\n\r\n t.cleanup()\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267861210, "label": "Command line tool for uploading one or more DBs to Now"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/40#issuecomment-343646740", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/40", "id": 343646740, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0Njc0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T07:27:33Z", "updated_at": "2017-11-11T07:27:33Z", "author_association": "OWNER", "body": "I'm happy with this now that I've implemented the publish command in #26 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268470572, "label": "Implement command-line tool interface"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/47#issuecomment-343647102", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/47", "id": 343647102, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0NzEwMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T07:36:00Z", "updated_at": "2017-11-11T07:36:00Z", "author_association": "OWNER", "body": "http://2016.padjo.org/tutorials/data-primer-census-acs1-demographics/ has a sqlite database: http://2016.padjo.org/files/data/starterpack/census-acs-1year/acs-1-year-2015.sqlite\r\n\r\nI tested this by deploying it here: https://datasette-fewuggrvwr.now.sh/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271831408, "label": "Create neat example database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/16#issuecomment-343647300", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/16", "id": 343647300, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY0NzMwMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T07:41:19Z", "updated_at": "2017-11-11T07:53:09Z", "author_association": "OWNER", "body": "Still needed:\r\n\r\n- [ ] A link to the homepage from some kind of navigation bar in the header\r\n- [ ] link to github.com/simonw/datasette in the footer\r\n- [ ] Slightly better titles (maybe ditch the visited link colours for titles only? should keep those for primary key links)\r\n- [ ] Links to the .json and .jsono versions of every view", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267726219, "label": "Default HTML/CSS needs to look reasonable and be responsive"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/14#issuecomment-343675165", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/14", "id": 343675165, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY3NTE2NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T16:07:10Z", "updated_at": "2017-11-11T16:07:10Z", "author_association": "OWNER", "body": "The plugin system can also allow alternative providers for the `publish` command - e.g. maybe hook up hyper.sh as an option for publishing containers.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267707940, "label": "Datasette Plugins"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/59#issuecomment-343676574", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/59", "id": 343676574, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY3NjU3NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T16:29:48Z", "updated_at": "2017-11-11T16:29:48Z", "author_association": "OWNER", "body": "See also #14", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273157085, "label": "datasette publish hyper"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/60#issuecomment-343683566", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/60", "id": 343683566, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY4MzU2Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T18:12:24Z", "updated_at": "2017-11-11T18:12:24Z", "author_association": "OWNER", "body": "I\u2019m going to solve this by making it an optional argument you can pass to the serve command. Then the Dockerfile can still build and use it but it won\u2019t interfere with tests or dev.\r\n\r\nIf argument is not passed, we will calculate hashes on startup and calculate table row counts on demand.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273163905, "label": "Rethink how metadata is generated and stored"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/47#issuecomment-343690060", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/47", "id": 343690060, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY5MDA2MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T19:56:08Z", "updated_at": "2017-11-11T19:56:08Z", "author_association": "OWNER", "body": " \"parlgov-development.db\": {\r\n \"url\": \"http://www.parlgov.org/\"\r\n },\r\n \"nhsadmin.sqlite\": {\r\n \"url\": \"https://github.com/psychemedia/openHealthDataDoodles\"\r\n }", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271831408, "label": "Create neat example database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/16#issuecomment-343691342", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/16", "id": 343691342, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY5MTM0Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T20:19:07Z", "updated_at": "2017-11-11T20:19:07Z", "author_association": "OWNER", "body": "Closing this, opening a fresh ticket for the navigation stuff.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267726219, "label": "Default HTML/CSS needs to look reasonable and be responsive"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/63#issuecomment-343697291", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/63", "id": 343697291, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY5NzI5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T22:05:06Z", "updated_at": "2017-11-11T22:11:49Z", "author_association": "OWNER", "body": "I'm going to bundle sql and sql_params together into a query nested object like this:\r\n\r\n {\r\n \"query\": {\r\n \"sql\": \"select ...\",\r\n \"params\": {\r\n \"p0\": \"blah\"\r\n }\r\n }\r\n }", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273174447, "label": "Review design of JSON output"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/50#issuecomment-343698214", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/50", "id": 343698214, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY5ODIxNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T22:23:21Z", "updated_at": "2017-11-11T22:23:21Z", "author_association": "OWNER", "body": "I'm closing #50 - more tests will be added in the future, but the framework is neatly in place for them now.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 272694136, "label": "Unit tests against application itself"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/53#issuecomment-343699115", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/53", "id": 343699115, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzY5OTExNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-11T22:41:38Z", "updated_at": "2017-11-11T22:41:38Z", "author_association": "OWNER", "body": "This needs to incorporate a sensible way of presenting custom SQL query results too. And let's get a textarea in there for executing SQL while we're at it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273054652, "label": "Implement a better database index page"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/47#issuecomment-343705966", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/47", "id": 343705966, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzcwNTk2Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T01:00:20Z", "updated_at": "2017-11-12T01:00:20Z", "author_association": "OWNER", "body": "https://github.com/fivethirtyeight/data has a ton of CSVs", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271831408, "label": "Create neat example database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/53#issuecomment-343707624", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/53", "id": 343707624, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzcwNzYyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T01:47:45Z", "updated_at": "2017-11-12T01:47:45Z", "author_association": "OWNER", "body": "Split the SQL thing out into #65 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273054652, "label": "Implement a better database index page"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/53#issuecomment-343707676", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/53", "id": 343707676, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzcwNzY3Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T01:49:07Z", "updated_at": "2017-11-12T01:49:07Z", "author_association": "OWNER", "body": "Here's the new design:\r\n\r\n\"parlgov-development\"\r\n\r\nAlso lists views at the bottom (refs #54):\r\n\r\n\"parlgov-development\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273054652, "label": "Implement a better database index page"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/42#issuecomment-343708447", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/42", "id": 343708447, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzcwODQ0Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T02:12:15Z", "updated_at": "2017-11-12T02:12:15Z", "author_association": "OWNER", "body": "I ditched the metadata file concept.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268591332, "label": "Homepage UI for editing metadata file"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/65#issuecomment-343709217", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/65", "id": 343709217, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzcwOTIxNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T02:36:37Z", "updated_at": "2017-11-12T02:36:37Z", "author_association": "OWNER", "body": "\"nhsadmin\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273191608, "label": "Re-implement ?sql= mode"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/25#issuecomment-343715915", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/25", "id": 343715915, "node_id": "MDEyOklzc3VlQ29tbWVudDM0MzcxNTkxNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T06:08:28Z", "updated_at": "2017-11-12T06:08:28Z", "author_association": "OWNER", "body": " con = sqlite3.connect('existing_db.db')\r\n with open('dump.sql', 'w') as f:\r\n for line in con.iterdump():\r\n f.write('%s\\n' % line)\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267857622, "label": "Endpoint that returns SQL ready to be piped into DB"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/42#issuecomment-343752404", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/42", "id": 343752404, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc1MjQwNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T17:20:10Z", "updated_at": "2017-11-12T17:20:10Z", "author_association": "OWNER", "body": "Re-opening this - I've decided to bring back this concept, see #68 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 268591332, "label": "Homepage UI for editing metadata file"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/69#issuecomment-343752579", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/69", "id": 343752579, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc1MjU3OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T17:22:39Z", "updated_at": "2017-11-12T17:22:39Z", "author_association": "OWNER", "body": "By default I'll allow LIMIT and OFFSET up to a maximum of X (where X is let's say 50,000 to start with, but can be custom configured to a larger number or set to None for no limit).", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273248366, "label": "Enforce pagination (or at least limits) for arbitrary custom SQL"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/66#issuecomment-343752683", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/66", "id": 343752683, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc1MjY4Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T17:24:05Z", "updated_at": "2017-11-12T17:24:21Z", "author_association": "OWNER", "body": "Maybe SQL views should have their own Sanic view class (`ViewView` is kinda funny), subclassed from `TableView`?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273191806, "label": "Show table SQL on table page"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/68#issuecomment-343754058", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/68", "id": 343754058, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc1NDA1OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T17:46:13Z", "updated_at": "2017-11-12T17:46:13Z", "author_association": "OWNER", "body": "I\u2019m going to store this stuff in a file called metadata.json and move the existing automatically generated metadata to a file called build.json", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273247186, "label": "Support for title/source/license metadata"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/68#issuecomment-343753999", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/68", "id": 343753999, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc1Mzk5OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T17:45:21Z", "updated_at": "2017-11-12T19:38:33Z", "author_association": "OWNER", "body": "For initial launch, I could just support this as some optional command line arguments you pass to the publish command:\r\n\r\n datasette publish data.db --title=\"Title\" --source=\"url\"", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273247186, "label": "Support for title/source/license metadata"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/57#issuecomment-343769692", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/57", "id": 343769692, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc2OTY5Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-12T21:32:36Z", "updated_at": "2017-11-12T21:32:36Z", "author_association": "OWNER", "body": "I have created a Docker Hub public repository for this: https://hub.docker.com/r/simonwillison/datasette/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273127694, "label": "Ship a Docker image of the whole thing"}, "performed_via_github_app": null}