{"html_url": "https://github.com/simonw/datasette/issues/292#issuecomment-849308907", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/292", "id": 849308907, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTMwODkwNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T04:25:01Z", "updated_at": "2021-05-27T04:25:01Z", "author_association": "OWNER", "body": "Now that `?_col=` and `?_nocol=` are implemented I'm closing this ticket - other customizations can already be handled by defining SQL views or creating canned SQL queries.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 326800219, "label": "Mechanism for customizing the SQL used to select specific columns in the table view"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/615#issuecomment-849309330", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/615", "id": 849309330, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTMwOTMzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T04:26:10Z", "updated_at": "2021-05-27T04:26:10Z", "author_association": "OWNER", "body": "Demos:\r\n\r\n- https://latest.datasette.io/fixtures/sortable?_nocol=sortable\r\n- https://latest.datasette.io/fixtures/sortable?_col=sortable&_col=text\r\n\r\nAlso try the column cog menu on that page.\r\n\r\nDocumentation: https://docs.datasette.io/en/latest/json_api.html#special-table-arguments", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 517451234, "label": "?_col= and ?_nocol= support for toggling columns on table view"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1341#issuecomment-849310294", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1341", "id": 849310294, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTMxMDI5NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T04:29:04Z", "updated_at": "2021-05-27T04:29:04Z", "author_association": "OWNER", "body": "For implementation simplicity I'm going to show the item even if all of the columns are visible because `?_col=` has selected all of them - selecting it will still reset the view to having no `?_col=` or `?_nocol=` parameters.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903200328, "label": "\"Show all columns\" cog menu item should show if ?_col= is used"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1319#issuecomment-849311884", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1319", "id": 849311884, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTMxMTg4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T04:33:51Z", "updated_at": "2021-05-27T04:33:51Z", "author_association": "OWNER", "body": "This is so cool! I wonder how I can best test it? I have a Raspberry Pi I should dig out to try this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 881219362, "label": "Add Docker multi-arch support with Buildx"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1319#issuecomment-849313380", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1319", "id": 849313380, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTMxMzM4MA==", "user": {"value": 22429695, "label": "codecov[bot]"}, "created_at": "2021-05-27T04:38:44Z", "updated_at": "2021-05-27T04:38:44Z", "author_association": "NONE", "body": "# [Codecov](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) Report\n> Merging [#1319](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) (cfca570) into [main](https://codecov.io/gh/simonw/datasette/commit/1b697539f5b53cec3fe13c0f4ada13ba655c88c7?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) (1b69753) will **increase** coverage by `0.02%`.\n> The diff coverage is `n/a`.\n\n[![Impacted file tree graph](https://codecov.io/gh/simonw/datasette/pull/1319/graphs/tree.svg?width=650&height=150&src=pr&token=eSahVY7kw1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)\n\n```diff\n@@ Coverage Diff @@\n## main #1319 +/- ##\n==========================================\n+ Coverage 91.51% 91.53% +0.02% \n==========================================\n Files 34 34 \n Lines 4255 4255 \n==========================================\n+ Hits 3894 3895 +1 \n+ Misses 361 360 -1 \n```\n\n\n| [Impacted Files](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage \u0394 | |\n|---|---|---|\n| [datasette/utils/\\_\\_init\\_\\_.py](https://codecov.io/gh/simonw/datasette/pull/1319/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3V0aWxzL19faW5pdF9fLnB5) | `94.31% <0.00%> (+0.17%)` | :arrow_up: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)\n> `\u0394 = absolute (impact)`, `\u00f8 = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison). Last update [1b69753...cfca570](https://codecov.io/gh/simonw/datasette/pull/1319?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison).\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 881219362, "label": "Add Docker multi-arch support with Buildx"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1337#issuecomment-849695117", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1337", "id": 849695117, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTY5NTExNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T14:44:13Z", "updated_at": "2021-05-27T14:44:13Z", "author_association": "OWNER", "body": "Here's a much easier way to implement this: implement `?_facet_size=max` (sets it to `max_returned_rows`, default 1000) and then link to that from the ellipsis.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 898904402, "label": "\"More\" link for facets that shows _facet_size=max results"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/google-takeout-to-sqlite/pull/5#issuecomment-849708617", "issue_url": "https://api.github.com/repos/dogsheep/google-takeout-to-sqlite/issues/5", "id": 849708617, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTcwODYxNw==", "user": {"value": 28565, "label": "maxhawkins"}, "created_at": "2021-05-27T15:01:42Z", "updated_at": "2021-05-27T15:01:42Z", "author_association": "NONE", "body": "Any updates?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 813880401, "label": "WIP: Add Gmail takeout mbox import"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1337#issuecomment-849721280", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1337", "id": 849721280, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTcyMTI4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T15:18:08Z", "updated_at": "2021-05-27T15:18:08Z", "author_association": "OWNER", "body": "In order to cleanly implement this I need to expose the `path_with_replaced_args` utility function to Datasette's template engine. This is the first time this will become an exposed (and hence should-by-documented) API and I don't like its shape much.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 898904402, "label": "\"More\" link for facets that shows _facet_size=max results"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1342#issuecomment-849722218", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1342", "id": 849722218, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTcyMjIxOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T15:19:23Z", "updated_at": "2021-05-27T15:19:23Z", "author_association": "OWNER", "body": "Current implementations: https://github.com/simonw/datasette/blob/51d788114035458d8f860d9ea6d74078e6c0ea0d/datasette/utils/__init__.py#L214-L272", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903902495, "label": "Improve `path_with_replaced_args()` and friends and document them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1342#issuecomment-849724108", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1342", "id": 849724108, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTcyNDEwOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T15:21:54Z", "updated_at": "2021-05-27T15:21:54Z", "author_association": "OWNER", "body": "Turns out some of these are already being exposed to the template context on an ad-hoc basis.\r\n\r\nIn `QueryView`: https://github.com/simonw/datasette/blob/2bd9d54b2762c991e11950c22c88c0336158d49b/datasette/views/database.py#L295-L304\r\n\r\nIn `TableView`: https://github.com/simonw/datasette/blob/f1c29fd6a184254aa68efadf096bcf21e848f921/datasette/views/table.py#L897-L900", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903902495, "label": "Improve `path_with_replaced_args()` and friends and document them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1342#issuecomment-849724915", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1342", "id": 849724915, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTcyNDkxNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T15:23:01Z", "updated_at": "2021-05-27T15:23:01Z", "author_association": "OWNER", "body": "Since they are already exposed (but undocumented) this isn't actually a blocker on #1337 like I thought it was. Should still clean this up in the future though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903902495, "label": "Improve `path_with_replaced_args()` and friends and document them"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1337#issuecomment-849725291", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1337", "id": 849725291, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTcyNTI5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T15:23:33Z", "updated_at": "2021-05-27T15:23:33Z", "author_association": "OWNER", "body": "Turns out `path_with_replaced_args()` is already exposed to the `table.html` template context: https://github.com/simonw/datasette/blob/f1c29fd6a184254aa68efadf096bcf21e848f921/datasette/views/table.py#L897-L900", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 898904402, "label": "\"More\" link for facets that shows _facet_size=max results"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1337#issuecomment-849759440", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1337", "id": 849759440, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc1OTQ0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:09:34Z", "updated_at": "2021-05-27T16:09:34Z", "author_association": "OWNER", "body": "Demo: https://latest.datasette.io/fixtures/facetable?_facet_size=2&_facet=state&_facet=city_id\r\n\r\n![demo-max](https://user-images.githubusercontent.com/9599/119860507-3f071780-becb-11eb-8698-64c8c6112983.gif)\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 898904402, "label": "\"More\" link for facets that shows _facet_size=max results"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1337#issuecomment-849761508", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1337", "id": 849761508, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc2MTUwOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:12:31Z", "updated_at": "2021-05-27T16:12:31Z", "author_association": "OWNER", "body": "More exciting demo: https://fivethirtyeight.datasettes.com/fivethirtyeight/antiquities-act%2Factions_under_antiquities_act?_facet=states&_facet=current_agency&_facet=pres_or_congress", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 898904402, "label": "\"More\" link for facets that shows _facet_size=max results"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1332#issuecomment-849761894", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1332", "id": 849761894, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc2MTg5NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:13:07Z", "updated_at": "2021-05-27T16:13:07Z", "author_association": "OWNER", "body": "Added `?_facet_size=max` in #1337 and made the `...` truncated note link to that - here's a demo: https://fivethirtyeight.datasettes.com/fivethirtyeight/antiquities-act%2Factions_under_antiquities_act?_facet=states&_facet=current_agency&_facet=pres_or_congress", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 893890496, "label": "?_facet_size=X to increase number of facets results on the page"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1337#issuecomment-849762735", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1337", "id": 849762735, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc2MjczNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:14:14Z", "updated_at": "2021-05-27T16:14:14Z", "author_association": "OWNER", "body": "Here's a demo showing that once you get above 1,000 results you still get the \"...\" but it no longer links to anything: https://fivethirtyeight.datasettes.com/fivethirtyeight/births%2FUS_births_2000-2014_SSA?_facet=births&_facet_size=max", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 898904402, "label": "\"More\" link for facets that shows _facet_size=max results"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1319#issuecomment-849778373", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1319", "id": 849778373, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc3ODM3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:37:50Z", "updated_at": "2021-05-27T16:37:50Z", "author_association": "OWNER", "body": "Started [a conversation](https://twitter.com/simonw/status/1397953338407223303) about this on Twitter. Ideally I'd like to push an alpha release to Docker Hub so people can start testing these out before they make it into an official non-alpha release.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 881219362, "label": "Add Docker multi-arch support with Buildx"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1319#issuecomment-849780481", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1319", "id": 849780481, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4MDQ4MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:41:03Z", "updated_at": "2021-05-27T16:41:03Z", "author_association": "OWNER", "body": "It looks like all I need to do to ship an alpha version to Docker Hub is NOT point the `latest` tag at it after it goes live: https://github.com/simonw/datasette/blob/1a8972f9c012cd22b088c6b70661a9c3d3847853/.github/workflows/publish.yml#L75-L77", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 881219362, "label": "Add Docker multi-arch support with Buildx"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1343#issuecomment-849781747", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1343", "id": 849781747, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4MTc0Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:43:04Z", "updated_at": "2021-05-27T16:43:04Z", "author_association": "OWNER", "body": "I'm going to try pushing an alpha of https://github.com/simonw/datasette/releases/tag/0.57a0 using this workflow I built a few months ago: https://github.com/simonw/datasette/blob/1a8972f9c012cd22b088c6b70661a9c3d3847853/.github/workflows/push_docker_tag.yml", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903978133, "label": "Figure out how to publish alpha/beta releases to Docker Hub"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1343#issuecomment-849782098", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1343", "id": 849782098, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4MjA5OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:43:40Z", "updated_at": "2021-05-27T16:43:55Z", "author_association": "OWNER", "body": "https://github.com/simonw/datasette/actions/workflows/push_docker_tag.yml\r\n\r\n\"Actions_\u00b7_simonw_datasette\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903978133, "label": "Figure out how to publish alpha/beta releases to Docker Hub"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1343#issuecomment-849783398", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1343", "id": 849783398, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4MzM5OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:45:41Z", "updated_at": "2021-05-27T16:45:41Z", "author_association": "OWNER", "body": "https://hub.docker.com/r/datasetteproject/datasette/tags?page=1&ordering=last_updated now shows this at the top: https://hub.docker.com/layers/datasetteproject/datasette/0.57a0/images/sha256-4ab61095c1d879a91d154ed469227387356a305035da9c74542c55bd500c89db?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903978133, "label": "Figure out how to publish alpha/beta releases to Docker Hub"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1343#issuecomment-849784005", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1343", "id": 849784005, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4NDAwNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:46:37Z", "updated_at": "2021-05-27T16:46:37Z", "author_association": "OWNER", "body": "That worked:\r\n```\r\n % docker run -it datasetteproject/datasette:0.57a0\r\nUnable to find image 'datasetteproject/datasette:0.57a0' locally\r\n0.57a0: Pulling from datasetteproject/datasette\r\n75646c2fb410: Pull complete \r\nedf8b70d3cc4: Pull complete \r\n229daa3ebd94: Pull complete \r\n65d21ac50a56: Pull complete \r\ne083ad7cc3ca: Pull complete \r\ned4de1431432: Pull complete \r\n1da5e8b27cca: Pull complete \r\nDigest: sha256:4ab61095c1d879a91d154ed469227387356a305035da9c74542c55bd500c89db\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.57a0\r\nINFO: Started server process [1]\r\nINFO: Waiting for application startup.\r\nINFO: Application startup complete.\r\nINFO: Uvicorn running on http://127.0.0.1:8001 (Press CTRL+C to quit)\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903978133, "label": "Figure out how to publish alpha/beta releases to Docker Hub"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1319#issuecomment-849785098", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1319", "id": 849785098, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4NTA5OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:48:21Z", "updated_at": "2021-05-27T16:48:21Z", "author_association": "OWNER", "body": "OK, since I have a mechanism for deploying alpha versions now I'm going to merge this and use it to publish 0.57a1.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 881219362, "label": "Add Docker multi-arch support with Buildx"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849788159", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849788159, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4ODE1OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:53:04Z", "updated_at": "2021-05-27T16:53:04Z", "author_association": "OWNER", "body": "I'm going to release a `0.57a1` alpha to Docker Hub using the new buildx mechanism.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849788412", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849788412, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc4ODQxMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T16:53:28Z", "updated_at": "2021-05-27T16:53:28Z", "author_association": "OWNER", "body": "(Should also update https://docs.datasette.io/en/stable/contributing.html#release-process with notes on how this works)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849793312", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849793312, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc5MzMxMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:01:16Z", "updated_at": "2021-05-27T17:01:16Z", "author_association": "OWNER", "body": "https://github.com/simonw/datasette/runs/2687196350 is a run of https://github.com/simonw/datasette/blob/main/.github/workflows/push_docker_tag.yml to publish the new `0.57a1` alpha to Docker Hub.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849797767", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849797767, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTc5Nzc2Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:08:13Z", "updated_at": "2021-05-27T17:08:13Z", "author_association": "OWNER", "body": "Related issue: #1272 - being able to run the test suite inside Docker inside GitHub Actions would be incredibly helpful here.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849801969", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849801969, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTgwMTk2OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:14:49Z", "updated_at": "2021-05-27T17:14:49Z", "author_association": "OWNER", "body": "Job completed in 13m38s - results are here: https://hub.docker.com/r/datasetteproject/datasette/tags?page=1&ordering=last_updated&name=0.57a1\r\n\r\n\"datasetteproject_datasette_Tags\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849804684", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849804684, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTgwNDY4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:19:16Z", "updated_at": "2021-05-27T17:19:16Z", "author_association": "OWNER", "body": "Having pushed that to Docker Hub the following _seems_ to work on my laptop:\r\n\r\n docker run --platform linux/s390x \\\r\n -v `pwd`:/mnt -p 8001:8001 \\\r\n datasetteproject/datasette:0.57a1 datasette -p 8001 -h 0.0.0.0\r\n\r\nI'd like to confirm that this is correctly emulating the architecture and running the correct published image though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849805778", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849805778, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTgwNTc3OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:21:11Z", "updated_at": "2021-05-27T17:21:22Z", "author_association": "OWNER", "body": "This helps:\r\n```\r\n~ % docker run -it --platform linux/s390x -v `pwd`:/mnt \\\r\n -p 8001:8001 datasetteproject/datasette:0.57a1 \\\r\n python -c 'import platform; print(platform.uname())'\r\n```\r\n`uname_result(system='Linux', node='d14916ca91df', release='4.19.121-linuxkit', version='#1 SMP Thu Jan 21 15:36:34 UTC 2021', machine='s390x')`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849806581", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849806581, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTgwNjU4MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:22:37Z", "updated_at": "2021-05-27T17:34:27Z", "author_association": "OWNER", "body": "```\r\n~ % docker run -it --platform linux/arm/v7 -v `pwd`:/mnt -p 8001:8001 datasetteproject/datasette:0.57a1 python -c 'import platform; print(platform.uname())'\r\nUnable to find image 'datasetteproject/datasette:0.57a1' locally\r\n0.57a1: Pulling from datasetteproject/datasette\r\nee0a2cc24f29: Pull complete \r\nca231153300d: Pull complete \r\n6073fc53d406: Pull complete \r\nbb2a6a6421dd: Pull complete \r\n14c15f441034: Pull complete \r\n28d113f72ba5: Pull complete \r\n40516c2c3785: Pull complete \r\nDigest: sha256:8dd469efa0b34b9e946c4e91496fc7bec702efec9c0f5ec548ccd4030f3263b2\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.57a1\r\nuname_result(system='Linux', node='c2e1a05732ed', release='4.19.121-linuxkit', version='#1 SMP Thu Jan 21 15:36:34 UTC 2021', machine='armv7l')\r\n```\r\nShorter version:\r\n```\r\n~ % docker run -it --platform linux/ppc64le datasetteproject/datasette:0.57a1 python -c 'import platform; print(platform.uname())'\r\nUnable to find image 'datasetteproject/datasette:0.57a1' locally\r\n0.57a1: Pulling from datasetteproject/datasette\r\nc840eb5e9aed: Pull complete \r\nfc17d8b577ec: Pull complete \r\n712a0ad995f8: Pull complete \r\n56101149914c: Pull complete \r\ne6241dfe9d38: Pull complete \r\n41ed85039888: Pull complete \r\n26beeabe9213: Pull complete \r\nDigest: sha256:8dd469efa0b34b9e946c4e91496fc7bec702efec9c0f5ec548ccd4030f3263b2\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.57a1\r\nuname_result(system='Linux', node='0fe85887fa30', release='4.19.121-linuxkit', version='#1 SMP Thu Jan 21 15:36:34 UTC 2021', machine='ppc64le')\r\n~ % \r\n```\r\n\r\nOK! Now I need to figure out how to run the full test suite on each one, then I can call this done.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849815361", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849815361, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTgxNTM2MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:36:51Z", "updated_at": "2021-05-27T17:36:51Z", "author_association": "OWNER", "body": "To run the test suite... need to install a few more dependencies: https://github.com/simonw/datasette/blob/7b106e106000713bbee31b34d694b3dadbd4818c/setup.py#L71-L79\r\n\r\nAnd then mount the `tests/` folder into the container and run `pytest`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1344#issuecomment-849820019", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1344", "id": 849820019, "node_id": "MDEyOklzc3VlQ29tbWVudDg0OTgyMDAxOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-05-27T17:44:39Z", "updated_at": "2021-05-27T17:52:58Z", "author_association": "OWNER", "body": "This pattern appears to work, executed at the root of a checkout of `datasette`:\r\n```\r\ndocker run -it -v `pwd`:/mnt --platform linux/amd64 \\\r\n datasetteproject/datasette:0.57a1 bash -c '\r\n pip install \"pytest>=5.2.2,<6.3.0\" \\\r\n \"pytest-xdist>=2.2.1,<2.3\" \\\r\n \"pytest-asyncio>=0.10,<0.16\" \\\r\n \"beautifulsoup4>=4.8.1,<4.10.0\" \\\r\n \"black==21.5b1\" \\\r\n \"pytest-timeout>=1.4.2,<1.5\" \\\r\n \"trustme>=0.7,<0.8\" \\\r\n && cd /mnt && pytest'\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 903986178, "label": "Test Datasette Docker images built for different architectures"}, "performed_via_github_app": null}