{"html_url": "https://github.com/simonw/sqlite-utils/issues/272#issuecomment-861891835", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272", "id": 861891835, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTg5MTgzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T23:09:31Z", "updated_at": "2021-06-15T23:09:31Z", "author_association": "OWNER", "body": "`--load-csv` and `--load-json` and `--load-nl` and `--load-tsv` are unambiguous.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 921878733, "label": "Idea: import CSV to memory, run SQL, export in a single command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/272#issuecomment-861891693", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272", "id": 861891693, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTg5MTY5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T23:09:08Z", "updated_at": "2021-06-15T23:09:08Z", "author_association": "OWNER", "body": "Problem: `--csv` and `--json` and `--nl` are already options for `sqlite-utils query` - need new non-conflicting names.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 921878733, "label": "Idea: import CSV to memory, run SQL, export in a single command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/272#issuecomment-861891272", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272", "id": 861891272, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTg5MTI3Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T23:08:02Z", "updated_at": "2021-06-15T23:08:02Z", "author_association": "OWNER", "body": "`--csv -` should work though, for reading from stdin. The table can be called `stdin`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 921878733, "label": "Idea: import CSV to memory, run SQL, export in a single command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/272#issuecomment-861891110", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272", "id": 861891110, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTg5MTExMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T23:07:38Z", "updated_at": "2021-06-15T23:07:38Z", "author_association": "OWNER", "body": "`--csvt` seems unnecessary to me: if people want to load different CSV files with the same filename (but in different directories) they will get an error unless they rename the files first.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 921878733, "label": "Idea: import CSV to memory, run SQL, export in a single command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/272#issuecomment-861890689", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272", "id": 861890689, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTg5MDY4OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T23:06:37Z", "updated_at": "2021-06-15T23:06:37Z", "author_association": "OWNER", "body": "How about `--json` and `--nl` and `--tsv` too? Imitating the format options for `sqlite-utils insert`.\r\n\r\nAnd what happens if you provide a filename too? I'm tempted to say that the `--csv` stuff still gets loaded into an in-memory database but it's given a name and can then be joined against using SQLite `memory.blah` syntax.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 921878733, "label": "Idea: import CSV to memory, run SQL, export in a single command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/272#issuecomment-861889437", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/272", "id": 861889437, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTg4OTQzNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T23:03:26Z", "updated_at": "2021-06-15T23:03:26Z", "author_association": "OWNER", "body": "Maybe also support `--csvt` as an alternative option which takes two arguments: the CSV path and the name of the table that should be created from it (rather than auto-detecting from the filename).", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 921878733, "label": "Idea: import CSV to memory, run SQL, export in a single command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1130#issuecomment-861497548", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1130", "id": 861497548, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTQ5NzU0OA==", "user": {"value": 3243482, "label": "abdusco"}, "created_at": "2021-06-15T13:27:48Z", "updated_at": "2021-06-15T13:27:48Z", "author_association": "CONTRIBUTOR", "body": "There's a workaround: https://css-tricks.com/css-fix-for-100vh-in-mobile-webkit/\r\n\r\nand a future fix: https://css-tricks.com/safari-15-new-ui-theme-colors-and-a-css-tricks-cameo/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 756876238, "label": "Fix footer not sticking to bottom in short pages"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/269#issuecomment-861103967", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/269", "id": 861103967, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTEwMzk2Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T01:34:10Z", "updated_at": "2021-06-15T01:34:10Z", "author_association": "OWNER", "body": "SQLite doesn't have the concept of a boolean column, so there's not much I can do here: https://www.sqlite.org/datatype3.html#boolean_datatype", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 919250621, "label": "bool type not supported"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/266#issuecomment-861103684", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/266", "id": 861103684, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTEwMzY4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T01:33:13Z", "updated_at": "2021-06-15T01:33:13Z", "author_association": "OWNER", "body": "Dupe of #37", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 913135723, "label": "Add some types, enforce with mypy"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1377#issuecomment-861089794", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1377", "id": 861089794, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTA4OTc5NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T00:53:29Z", "updated_at": "2021-06-15T00:53:29Z", "author_association": "OWNER", "body": "Potential hook names:\r\n\r\n- `skip_csrf(scope, datasette)`\r\n- ... I can't think of any other ones I would tolerate to be honest", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 920884085, "label": "Mechanism for plugins to exclude certain paths from CSRF checks"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1377#issuecomment-861087949", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1377", "id": 861087949, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTA4Nzk0OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T00:49:19Z", "updated_at": "2021-06-15T00:49:19Z", "author_association": "OWNER", "body": "The new `skip_if_scope` mechanism in `asgi-csrf` https://github.com/simonw/asgi-csrf/issues/20 is designed to help here.\r\n\r\nNow I need to design a plugin hook that allows plugins to have an opinion on whether a specific `scope` should have CSRF skipped.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 920884085, "label": "Mechanism for plugins to exclude certain paths from CSRF checks"}, "performed_via_github_app": null} {"html_url": "https://github.com/dogsheep/github-to-sqlite/issues/64#issuecomment-861087651", "issue_url": "https://api.github.com/repos/dogsheep/github-to-sqlite/issues/64", "id": 861087651, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTA4NzY1MQ==", "user": {"value": 231498, "label": "khimaros"}, "created_at": "2021-06-15T00:48:37Z", "updated_at": "2021-06-15T00:48:37Z", "author_association": "NONE", "body": "@simonw -- i've created an omega-query that fetched most of what was interesting to me for a single user.\r\n\r\nfound by poking around in the \"Explorer\" tab in https://docs.github.com/en/graphql/overview/explorer\r\n\r\nnote: pagination is still required via `first` and `last` but it seems to allow unlimited history.\r\n\r\n```\r\nquery MyQuery {\r\n __typename\r\n user(login: \"\") {\r\n id\r\n pinnedItems(first: 100) {\r\n edges {\r\n node\r\n }\r\n }\r\n pullRequests(first: 100) {\r\n nodes {\r\n body\r\n title\r\n state\r\n createdAt\r\n }\r\n }\r\n createdAt\r\n issues(first: 100) {\r\n pageInfo {\r\n endCursor\r\n startCursor\r\n }\r\n nodes {\r\n title\r\n url\r\n createdAt\r\n body\r\n }\r\n }\r\n issueComments(first: 100) {\r\n edges {\r\n node {\r\n id\r\n updatedAt\r\n url\r\n body\r\n }\r\n }\r\n }\r\n repositories(first: 100) {\r\n nodes {\r\n createdAt\r\n description\r\n parent {\r\n name\r\n }\r\n pinnedIssues(first: 100) {\r\n edges {\r\n node {\r\n id\r\n }\r\n }\r\n }\r\n pinnedDiscussions(first: 100) {\r\n edges {\r\n node {\r\n id\r\n }\r\n }\r\n }\r\n }\r\n }\r\n starredRepositories(first: 100) {\r\n edges {\r\n node {\r\n id\r\n }\r\n }\r\n }\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": 920636216, "label": "feature: support \"events\""}, "performed_via_github_app": null}