home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

996 rows where author_association = "NONE" sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user >30

  • codecov[bot] 240
  • aborruso 19
  • chrismp 18
  • carlmjohnson 14
  • tballison 13
  • psychemedia 11
  • stonebig 11
  • frafra 10
  • maxhawkins 10
  • terrycojones 10
  • dracos 10
  • rayvoelker 10
  • 20after4 9
  • clausjuhl 9
  • UtahDave 8
  • tomchristie 8
  • bsilverm 8
  • 4l1fe 8
  • zaneselvans 7
  • mhalle 7
  • zeluspudding 7
  • cobiadigital 7
  • cldellow 6
  • khimaros 6
  • CharlesNepote 6
  • ocdtrekkie 6
  • tsibley 5
  • khusmann 5
  • rdmurphy 5
  • MarkusH 5
  • …

issue >30

  • Transformation type `--type DATETIME` 14
  • link_or_copy_directory() error - Invalid cross-device link 13
  • WIP: Add Gmail takeout mbox import 12
  • .json and .csv exports fail to apply base_url 11
  • base_url configuration setting 10
  • Extract columns cannot create foreign key relation: sqlite3.OperationalError: table sqlite_master may not be modified 10
  • Documentation with recommendations on running Datasette in production without using Docker 9
  • JavaScript plugin hooks mechanism similar to pluggy 9
  • Add GraphQL endpoint 8
  • Call for birthday presents: if you're using Datasette, let us know how you're using it here 8
  • Full text search of all tables at once? 7
  • Populate "endpoint" key in ASGI scope 7
  • Figure out some interesting example SQL queries 7
  • Add Gmail takeout mbox import (v2) 7
  • Incorrect URLs when served behind a proxy with base_url set 6
  • publish heroku does not work on Windows 10 6
  • Update for Big Sur 6
  • Improve the display of facets information 6
  • De-tangling Metadata before Datasette 1.0 6
  • Metadata should be a nested arbitrary KV store 5
  • Windows installation error 5
  • Ways to improve fuzzy search speed on larger data sets? 5
  • Redesign default .json format 5
  • UNIQUE constraint failed: workouts.id 5
  • Feature Request: Gmail 5
  • Plugin hook for dynamic metadata 5
  • i18n support 5
  • datasette --root running in Docker doesn't reliably show the magic URL 5
  • Datasette serve should accept paths/URLs to CSVs and other file formats 4
  • Mechanism for ranking results from SQLite full-text search 4
  • …

author_association 1

  • NONE · 996 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1847317568 https://github.com/dogsheep/github-to-sqlite/issues/79#issuecomment-1847317568 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/79 IC_kwDODFdgUs5uG9RA nedbat 23789 2023-12-08T14:50:13Z 2023-12-08T14:50:13Z NONE

Adding &per_page=100 would reduce the number of API requests by 3x.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Deploy demo job is failing due to rate limit 1570375808  
1843585454 https://github.com/simonw/sqlite-utils/pull/604#issuecomment-1843585454 https://api.github.com/repos/simonw/sqlite-utils/issues/604 IC_kwDOCGYnMM5t4uGu codecov[bot] 22429695 2023-12-06T19:48:26Z 2023-12-08T05:05:03Z NONE

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9286c1b) 95.77% compared to head (1698a9d) 95.72%. Report is 1 commits behind head on main.

:exclamation: Current head 1698a9d differs from pull request most recent head 61c6e26. Consider uploading reports for the commit 61c6e26 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #604 +/- ## ========================================== - Coverage 95.77% 95.72% -0.06% ========================================== Files 8 8 Lines 2842 2852 +10 ========================================== + Hits 2722 2730 +8 - Misses 120 122 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add more STRICT table support 2001006157
{
    "id": 254,
    "slug": "codecov",
    "node_id": "MDM6QXBwMjU0",
    "owner": {
        "login": "codecov",
        "id": 8226205,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjgyMjYyMDU=",
        "avatar_url": "https://avatars.githubusercontent.com/u/8226205?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/codecov",
        "html_url": "https://github.com/codecov",
        "followers_url": "https://api.github.com/users/codecov/followers",
        "following_url": "https://api.github.com/users/codecov/following{/other_user}",
        "gists_url": "https://api.github.com/users/codecov/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/codecov/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/codecov/subscriptions",
        "organizations_url": "https://api.github.com/users/codecov/orgs",
        "repos_url": "https://api.github.com/users/codecov/repos",
        "events_url": "https://api.github.com/users/codecov/events{/privacy}",
        "received_events_url": "https://api.github.com/users/codecov/received_events",
        "type": "Organization",
        "site_admin": false
    },
    "name": "Codecov",
    "description": "Codecov provides highly integrated tools to group, merge, archive and compare coverage reports. Whether your team is comparing changes in a pull request or reviewing a single commit, Codecov will improve the code review workflow and quality.\r\n\r\n## Code coverage done right.\u00ae\r\n\r\n1. Upload coverage reports from your CI builds.\r\n2. Codecov merges all builds and languages into one beautiful coherent report.\r\n3. Get commit statuses, pull request comments and coverage overlay via our browser extension.\r\n\r\nWhen Codecov merges your uploads it keeps track of the CI provider (inc. build details) and user specified context, e.g. `#unittest` ~ `#smoketest` or `#oldcode` ~ `#newcode`. You can track the `#unittest` coverage independently of other groups. [Learn more here](\r\nhttp://docs.codecov.io/docs/flags)\r\n\r\nThrough **Codecov's Browser Extension** reports overlay directly in GitHub UI to assist in code review in [Chrome](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo) or Firefox (https://addons.mozilla.org/en-US/firefox/addon/codecov/)\r\n\r\n*Highly detailed* **pull request comments** and *customizable* **commit statuses** will improve your team's workflow and code coverage incrementally.\r\n\r\n**File backed configuration** all through the `codecov.yml`. \r\n\r\n## FAQ\r\n- Do you **merge multiple uploads** to the same commit? **Yes**\r\n- Do you **support multiple languages** in the same project? **Yes**\r\n- Can you **group coverage reports** by project and/or test type? **Yes**\r\n- How does **pricing** work? Only paid users can view reports and post statuses/comments. ",
    "external_url": "https://codecov.io",
    "html_url": "https://github.com/apps/codecov",
    "created_at": "2016-09-25T14:18:27Z",
    "updated_at": "2023-09-08T15:29:16Z",
    "permissions": {
        "administration": "read",
        "checks": "write",
        "contents": "read",
        "emails": "read",
        "issues": "read",
        "members": "read",
        "metadata": "read",
        "pull_requests": "write",
        "statuses": "write"
    },
    "events": [
        "check_run",
        "check_suite",
        "create",
        "delete",
        "fork",
        "member",
        "membership",
        "organization",
        "public",
        "pull_request",
        "push",
        "release",
        "repository",
        "status",
        "team_add"
    ]
}
1844819002 https://github.com/simonw/datasette/issues/2214#issuecomment-1844819002 https://api.github.com/repos/simonw/datasette/issues/2214 IC_kwDOBm6k_c5t9bQ6 precipice 2874 2023-12-07T07:36:33Z 2023-12-07T07:36:33Z NONE

If I uncheck expand labels in the Advanced CSV export dialog, the error does not occur. Re-checking that box and re-running the export does cause the error to occur.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
CSV export fails for some `text` foreign key references 2029908157  
1816642044 https://github.com/simonw/datasette/issues/670#issuecomment-1816642044 https://api.github.com/repos/simonw/datasette/issues/670 IC_kwDOBm6k_c5sR8H8 tf13 16142258 2023-11-17T15:32:20Z 2023-11-17T15:32:20Z NONE

Any progress on this? It would be very helpful on my end as well. Thanks!

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Prototoype for Datasette on PostgreSQL 564833696  
1812753347 https://github.com/simonw/datasette/pull/2209#issuecomment-1812753347 https://api.github.com/repos/simonw/datasette/issues/2209 IC_kwDOBm6k_c5sDGvD codecov[bot] 22429695 2023-11-15T15:31:12Z 2023-11-15T15:31:12Z NONE

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (452a587) 92.69% compared to head (c88414b) 92.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2209 +/- ## ======================================= Coverage 92.69% 92.69% ======================================= Files 40 40 Lines 6047 6047 ======================================= Hits 5605 5605 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix query for suggested facets with column named value 1994861266
{
    "id": 254,
    "slug": "codecov",
    "node_id": "MDM6QXBwMjU0",
    "owner": {
        "login": "codecov",
        "id": 8226205,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjgyMjYyMDU=",
        "avatar_url": "https://avatars.githubusercontent.com/u/8226205?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/codecov",
        "html_url": "https://github.com/codecov",
        "followers_url": "https://api.github.com/users/codecov/followers",
        "following_url": "https://api.github.com/users/codecov/following{/other_user}",
        "gists_url": "https://api.github.com/users/codecov/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/codecov/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/codecov/subscriptions",
        "organizations_url": "https://api.github.com/users/codecov/orgs",
        "repos_url": "https://api.github.com/users/codecov/repos",
        "events_url": "https://api.github.com/users/codecov/events{/privacy}",
        "received_events_url": "https://api.github.com/users/codecov/received_events",
        "type": "Organization",
        "site_admin": false
    },
    "name": "Codecov",
    "description": "Codecov provides highly integrated tools to group, merge, archive and compare coverage reports. Whether your team is comparing changes in a pull request or reviewing a single commit, Codecov will improve the code review workflow and quality.\r\n\r\n## Code coverage done right.\u00ae\r\n\r\n1. Upload coverage reports from your CI builds.\r\n2. Codecov merges all builds and languages into one beautiful coherent report.\r\n3. Get commit statuses, pull request comments and coverage overlay via our browser extension.\r\n\r\nWhen Codecov merges your uploads it keeps track of the CI provider (inc. build details) and user specified context, e.g. `#unittest` ~ `#smoketest` or `#oldcode` ~ `#newcode`. You can track the `#unittest` coverage independently of other groups. [Learn more here](\r\nhttp://docs.codecov.io/docs/flags)\r\n\r\nThrough **Codecov's Browser Extension** reports overlay directly in GitHub UI to assist in code review in [Chrome](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo) or Firefox (https://addons.mozilla.org/en-US/firefox/addon/codecov/)\r\n\r\n*Highly detailed* **pull request comments** and *customizable* **commit statuses** will improve your team's workflow and code coverage incrementally.\r\n\r\n**File backed configuration** all through the `codecov.yml`. \r\n\r\n## FAQ\r\n- Do you **merge multiple uploads** to the same commit? **Yes**\r\n- Do you **support multiple languages** in the same project? **Yes**\r\n- Can you **group coverage reports** by project and/or test type? **Yes**\r\n- How does **pricing** work? Only paid users can view reports and post statuses/comments. ",
    "external_url": "https://codecov.io",
    "html_url": "https://github.com/apps/codecov",
    "created_at": "2016-09-25T14:18:27Z",
    "updated_at": "2023-09-08T15:29:16Z",
    "permissions": {
        "administration": "read",
        "checks": "write",
        "contents": "read",
        "emails": "read",
        "issues": "read",
        "members": "read",
        "metadata": "read",
        "pull_requests": "write",
        "statuses": "write"
    },
    "events": [
        "check_run",
        "check_suite",
        "create",
        "delete",
        "fork",
        "member",
        "membership",
        "organization",
        "public",
        "pull_request",
        "push",
        "release",
        "repository",
        "status",
        "team_add"
    ]
}
1801888957 https://github.com/simonw/datasette/pull/2206#issuecomment-1801888957 https://api.github.com/repos/simonw/datasette/issues/2206 IC_kwDOBm6k_c5rZqS9 codecov[bot] 22429695 2023-11-08T13:26:13Z 2023-11-08T13:26:13Z NONE

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (452a587) 92.69% compared to head (eec10df) 92.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2206 +/- ## ======================================= Coverage 92.69% 92.69% ======================================= Files 40 40 Lines 6047 6047 ======================================= Hits 5605 5605 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 1 update 1983600865
{
    "id": 254,
    "slug": "codecov",
    "node_id": "MDM6QXBwMjU0",
    "owner": {
        "login": "codecov",
        "id": 8226205,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjgyMjYyMDU=",
        "avatar_url": "https://avatars.githubusercontent.com/u/8226205?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/codecov",
        "html_url": "https://github.com/codecov",
        "followers_url": "https://api.github.com/users/codecov/followers",
        "following_url": "https://api.github.com/users/codecov/following{/other_user}",
        "gists_url": "https://api.github.com/users/codecov/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/codecov/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/codecov/subscriptions",
        "organizations_url": "https://api.github.com/users/codecov/orgs",
        "repos_url": "https://api.github.com/users/codecov/repos",
        "events_url": "https://api.github.com/users/codecov/events{/privacy}",
        "received_events_url": "https://api.github.com/users/codecov/received_events",
        "type": "Organization",
        "site_admin": false
    },
    "name": "Codecov",
    "description": "Codecov provides highly integrated tools to group, merge, archive and compare coverage reports. Whether your team is comparing changes in a pull request or reviewing a single commit, Codecov will improve the code review workflow and quality.\r\n\r\n## Code coverage done right.\u00ae\r\n\r\n1. Upload coverage reports from your CI builds.\r\n2. Codecov merges all builds and languages into one beautiful coherent report.\r\n3. Get commit statuses, pull request comments and coverage overlay via our browser extension.\r\n\r\nWhen Codecov merges your uploads it keeps track of the CI provider (inc. build details) and user specified context, e.g. `#unittest` ~ `#smoketest` or `#oldcode` ~ `#newcode`. You can track the `#unittest` coverage independently of other groups. [Learn more here](\r\nhttp://docs.codecov.io/docs/flags)\r\n\r\nThrough **Codecov's Browser Extension** reports overlay directly in GitHub UI to assist in code review in [Chrome](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo) or Firefox (https://addons.mozilla.org/en-US/firefox/addon/codecov/)\r\n\r\n*Highly detailed* **pull request comments** and *customizable* **commit statuses** will improve your team's workflow and code coverage incrementally.\r\n\r\n**File backed configuration** all through the `codecov.yml`. \r\n\r\n## FAQ\r\n- Do you **merge multiple uploads** to the same commit? **Yes**\r\n- Do you **support multiple languages** in the same project? **Yes**\r\n- Can you **group coverage reports** by project and/or test type? **Yes**\r\n- How does **pricing** work? Only paid users can view reports and post statuses/comments. ",
    "external_url": "https://codecov.io",
    "html_url": "https://github.com/apps/codecov",
    "created_at": "2016-09-25T14:18:27Z",
    "updated_at": "2023-09-08T15:29:16Z",
    "permissions": {
        "administration": "read",
        "checks": "write",
        "contents": "read",
        "emails": "read",
        "issues": "read",
        "members": "read",
        "metadata": "read",
        "pull_requests": "write",
        "statuses": "write"
    },
    "events": [
        "check_run",
        "check_suite",
        "create",
        "delete",
        "fork",
        "member",
        "membership",
        "organization",
        "public",
        "pull_request",
        "push",
        "release",
        "repository",
        "status",
        "team_add"
    ]
}
1793787454 https://github.com/simonw/datasette/issues/1415#issuecomment-1793787454 https://api.github.com/repos/simonw/datasette/issues/1415 IC_kwDOBm6k_c5q6wY- jimmybutton 45269373 2023-11-05T16:44:49Z 2023-11-05T16:46:59Z NONE

thanks for documenting this @bendnorman! got stuck at exactly the same point gcloud builds submit ... returned non-zero exit status 1, without a clue why this was happening. i now managed to get the github action to deploy datasette by assigning the following roles to the service account: roles/run.admin, roles/storage.admin, roles/cloudbuild.builds.builder, roles/viewer, roles/iam.serviceAccountUser.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
feature request: document minimum permissions for service account for cloudrun 959137143  
1708693020 https://github.com/simonw/sqlite-utils/pull/591#issuecomment-1708693020 https://api.github.com/repos/simonw/sqlite-utils/issues/591 IC_kwDOCGYnMM5l2JYc codecov[bot] 22429695 2023-09-06T16:14:03Z 2023-11-04T00:54:25Z NONE

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (347fdc8) 95.74% compared to head (1f14df1) 95.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #591 +/- ## ======================================= Coverage 95.74% 95.74% ======================================= Files 8 8 Lines 2842 2842 ======================================= Hits 2721 2721 Misses 121 121 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Test against Python 3.12 preview 1884335789  
1793264654 https://github.com/simonw/sqlite-utils/pull/600#issuecomment-1793264654 https://api.github.com/repos/simonw/sqlite-utils/issues/600 IC_kwDOCGYnMM5q4wwO codecov[bot] 22429695 2023-11-04T00:22:07Z 2023-11-04T00:27:29Z NONE

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (622c3a5) 95.77% compared to head (b1a6076) 95.77%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #600 +/- ## ======================================= Coverage 95.77% 95.77% ======================================= Files 8 8 Lines 2840 2840 ======================================= Hits 2720 2720 Misses 120 120 ``` | [Files](https://app.codecov.io/gh/simonw/sqlite-utils/pull/600?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/db.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/600?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2RiLnB5) | `97.22% <ø> (ø)` | | | [sqlite\_utils/utils.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/600?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL3V0aWxzLnB5) | `94.56% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add spatialite arm64 linux path 1977004379
{
    "id": 254,
    "slug": "codecov",
    "node_id": "MDM6QXBwMjU0",
    "owner": {
        "login": "codecov",
        "id": 8226205,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjgyMjYyMDU=",
        "avatar_url": "https://avatars.githubusercontent.com/u/8226205?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/codecov",
        "html_url": "https://github.com/codecov",
        "followers_url": "https://api.github.com/users/codecov/followers",
        "following_url": "https://api.github.com/users/codecov/following{/other_user}",
        "gists_url": "https://api.github.com/users/codecov/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/codecov/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/codecov/subscriptions",
        "organizations_url": "https://api.github.com/users/codecov/orgs",
        "repos_url": "https://api.github.com/users/codecov/repos",
        "events_url": "https://api.github.com/users/codecov/events{/privacy}",
        "received_events_url": "https://api.github.com/users/codecov/received_events",
        "type": "Organization",
        "site_admin": false
    },
    "name": "Codecov",
    "description": "Codecov provides highly integrated tools to group, merge, archive and compare coverage reports. Whether your team is comparing changes in a pull request or reviewing a single commit, Codecov will improve the code review workflow and quality.\r\n\r\n## Code coverage done right.\u00ae\r\n\r\n1. Upload coverage reports from your CI builds.\r\n2. Codecov merges all builds and languages into one beautiful coherent report.\r\n3. Get commit statuses, pull request comments and coverage overlay via our browser extension.\r\n\r\nWhen Codecov merges your uploads it keeps track of the CI provider (inc. build details) and user specified context, e.g. `#unittest` ~ `#smoketest` or `#oldcode` ~ `#newcode`. You can track the `#unittest` coverage independently of other groups. [Learn more here](\r\nhttp://docs.codecov.io/docs/flags)\r\n\r\nThrough **Codecov's Browser Extension** reports overlay directly in GitHub UI to assist in code review in [Chrome](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo) or Firefox (https://addons.mozilla.org/en-US/firefox/addon/codecov/)\r\n\r\n*Highly detailed* **pull request comments** and *customizable* **commit statuses** will improve your team's workflow and code coverage incrementally.\r\n\r\n**File backed configuration** all through the `codecov.yml`. \r\n\r\n## FAQ\r\n- Do you **merge multiple uploads** to the same commit? **Yes**\r\n- Do you **support multiple languages** in the same project? **Yes**\r\n- Can you **group coverage reports** by project and/or test type? **Yes**\r\n- How does **pricing** work? Only paid users can view reports and post statuses/comments. ",
    "external_url": "https://codecov.io",
    "html_url": "https://github.com/apps/codecov",
    "created_at": "2016-09-25T14:18:27Z",
    "updated_at": "2023-09-08T15:29:16Z",
    "permissions": {
        "administration": "read",
        "checks": "write",
        "contents": "read",
        "emails": "read",
        "issues": "read",
        "members": "read",
        "metadata": "read",
        "pull_requests": "write",
        "statuses": "write"
    },
    "events": [
        "check_run",
        "check_suite",
        "create",
        "delete",
        "fork",
        "member",
        "membership",
        "organization",
        "public",
        "pull_request",
        "push",
        "release",
        "repository",
        "status",
        "team_add"
    ]
}
1791571572 https://github.com/simonw/datasette/issues/949#issuecomment-1791571572 https://api.github.com/repos/simonw/datasette/issues/949 IC_kwDOBm6k_c5qyTZ0 mhkeller 498744 2023-11-02T21:36:24Z 2023-11-02T21:36:24Z NONE

FWIW, code mirror 6 now has this standard although if you want table-specific suggestions, you'd have to handle parsing out which table the user is querying yourself.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Try out CodeMirror SQL hints 684961449  
1779267468 https://github.com/simonw/datasette/issues/411#issuecomment-1779267468 https://api.github.com/repos/simonw/datasette/issues/411 IC_kwDOBm6k_c5qDXeM hcarter333 363004 2023-10-25T13:23:04Z 2023-10-25T13:23:04Z NONE

Using the Counties example, I was able to pull out the MakePoint method as

MakePoint(cast(rm_rnb_history_pres.rx_lng as float), cast(rm_rnb_history_pres.rx_lat as float)) as geometry

which worked, giving me a geometry column.

gave

I believe it's the cast to float that does the trick. Prior to using the cast, I also received a 'wrong number of arguments' eror.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
How to pass named parameter into spatialite MakePoint() function 410384988  
1777247375 https://github.com/simonw/datasette/pull/2202#issuecomment-1777247375 https://api.github.com/repos/simonw/datasette/issues/2202 IC_kwDOBm6k_c5p7qSP codecov[bot] 22429695 2023-10-24T13:49:27Z 2023-10-24T13:49:27Z NONE

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (452a587) 92.69% compared to head (be4d0f0) 92.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2202 +/- ## ======================================= Coverage 92.69% 92.69% ======================================= Files 40 40 Lines 6047 6047 ======================================= Hits 5605 5605 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 1 update 1959278971  
1767248394 https://github.com/simonw/datasette/issues/1655#issuecomment-1767248394 https://api.github.com/repos/simonw/datasette/issues/1655 IC_kwDOBm6k_c5pVhIK yejiyang 6262071 2023-10-17T21:53:17Z 2023-10-17T21:53:17Z NONE

@fgregg, I am happy to do that and just could not find a way to create issues at your fork repo.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
query result page is using 400mb of browser memory 40x size of html page and 400x size of csv data 1163369515  
1767133832 https://github.com/simonw/datasette/issues/1655#issuecomment-1767133832 https://api.github.com/repos/simonw/datasette/issues/1655 IC_kwDOBm6k_c5pVFKI yejiyang 6262071 2023-10-17T20:37:18Z 2023-10-17T21:12:48Z NONE

@fgregg Thanks for your reply. I tried to use your fork branch datasette = {url = "https://github.com/fgregg/datasette/archive/refs/heads/no_limit_csv_publish.zip"} and got error - TypeError: 'str' object is not callable. I used the same templates as in your branch here .

INFO: 127.0.0.1:47232 - "GET /-/static/sql-formatter-2.3.3.min.js HTTP/1.1" 200 OK Traceback (most recent call last): File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/app.py", line 1632, in route_path response = await view(request, send) File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/app.py", line 1814, in async_view_fn response = await async_call_with_supported_arguments( File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/utils/__init__.py", line 1016, in async_call_with_supported_arguments return await fn(*call_with) File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/views/table.py", line 673, in table_view response = await table_view_traced(datasette, request) File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/views/table.py", line 822, in table_view_traced await datasette.render_template( File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/app.py", line 1307, in render_template return await template.render_async(template_context) File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/jinja2/environment.py", line 1324, in render_async return self.environment.handle_exception() File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/jinja2/environment.py", line 1321, in <listcomp> [n async for n in self.root_render_func(ctx)] # type: ignore File "templates/table.html", line 1, in top-level template code {% extends "base.html" %} File "/home/jiyang/github/global-chemical-inventory-database/.venv/lib/python3.10/site-packages/datasette/templates/base.html", line 62, in top-level template code {% block content %} File "templates/table.html", line 24, in block 'content' <div class="page-header" style="border-color: #{{ database_color(database) }}"> TypeError: 'str' object is not callable INFO: 127.0.0.1:47228 - "GET /zeropm-v0-0-3/api_ready_query HTTP/1.1" 500 Internal Server Error

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
query result page is using 400mb of browser memory 40x size of html page and 400x size of csv data 1163369515  
1761630595 https://github.com/simonw/datasette/issues/1655#issuecomment-1761630595 https://api.github.com/repos/simonw/datasette/issues/1655 IC_kwDOBm6k_c5pAFmD yejiyang 6262071 2023-10-13T14:37:48Z 2023-10-13T14:37:48Z NONE

Hi @fgregg, I came across this issue and found your setup at labordata.bunkum.us can help me with a research project at https://database.zeropm.eu/. I really like the approach here when dealing with a custom SQL query returning more than 1000 rows: 1) At the table in HTML page, only first 1000 rows displayed; 2) When click the "Download this data as a CSV Spreadsheet(All Rows)" button, a csv with ALL ROWS (could be > 100 Mb) get downloaded.

I am trying to repeat the setup but have yet to be successful so far. What I tried: 1) copy the query.html & table.html templates from this github repo and use it my project 2) use the same datasette version 1.0a2.

Do you know what else I should try to set it correctly? I appreciate your help.

@simonw I would like to use this opportunity to thank you for developing & maintaining such an amazing project. I introduce your datasette to several projects in my institute. I am also interested in your cloud version.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
query result page is using 400mb of browser memory 40x size of html page and 400x size of csv data 1163369515  
1760560526 https://github.com/simonw/datasette/issues/2196#issuecomment-1760560526 https://api.github.com/repos/simonw/datasette/issues/2196 IC_kwDOBm6k_c5o8AWO Olshansk 1892194 2023-10-13T00:07:07Z 2023-10-13T00:07:07Z NONE

That worked!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Discord invite link returns 401 1910269679  
1632867333 https://github.com/simonw/datasette/pull/2052#issuecomment-1632867333 https://api.github.com/repos/simonw/datasette/issues/2052 IC_kwDOBm6k_c5hU5QF codecov[bot] 22429695 2023-07-12T16:38:27Z 2023-10-12T23:52:24Z NONE

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (3feed1f) 92.46% compared to head (8ae479c) 92.69%. Report is 112 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2052 +/- ## ========================================== + Coverage 92.46% 92.69% +0.22% ========================================== Files 38 40 +2 Lines 5750 6047 +297 ========================================== + Hits 5317 5605 +288 - Misses 433 442 +9 ``` [see 19 files with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2052/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
feat: Javascript Plugin API (Custom panels, column menu items with JS actions) 1651082214  
1724480716 https://github.com/simonw/datasette/pull/2191#issuecomment-1724480716 https://api.github.com/repos/simonw/datasette/issues/2191 IC_kwDOBm6k_c5myXzM codecov[bot] 22429695 2023-09-18T21:28:36Z 2023-10-12T16:15:40Z NONE

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (6ed7908) 92.69% compared to head (0135e7c) 92.68%. Report is 14 commits behind head on main.

:exclamation: Current head 0135e7c differs from pull request most recent head 18b48f8. Consider uploading reports for the commit 18b48f8 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2191 +/- ## ========================================== - Coverage 92.69% 92.68% -0.02% ========================================== Files 40 40 Lines 6039 6042 +3 ========================================== + Hits 5598 5600 +2 - Misses 441 442 +1 ``` | [Files](https://app.codecov.io/gh/simonw/datasette/pull/2191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.09% <100.00%> (-0.11%)` | :arrow_down: | | [datasette/default\_permissions.py](https://app.codecov.io/gh/simonw/datasette/pull/2191?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2RlZmF1bHRfcGVybWlzc2lvbnMucHk=) | `97.36% <100.00%> (+0.01%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2191/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Move `permissions`, `allow` blocks, canned queries and more out of `metadata.yaml` and into `datasette.yaml` 1901768721  
1745568725 https://github.com/simonw/datasette/pull/1870#issuecomment-1745568725 https://api.github.com/repos/simonw/datasette/issues/1870 IC_kwDOBm6k_c5oC0PV jdangerx 2495794 2023-10-03T19:12:37Z 2023-10-03T19:12:37Z NONE

Hello! Resurrecting this issue since we're running into something similar with data.catalyst.coop as our database files have ballooned up to several GB. Our Cloud Run revisions now require huge amounts of RAM to start up without receiving a SIGBUS.

I'd love to see this fix merged in. It sounds like we want to make the immutable/read-only mode decision more flexible before doing so, so that we can use ro in Docker and immutable outside. If that sounds right, I'm happy to take a crack at adding that as a command-line flag or something that gets set automatically based on the expected execution environment.

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 1
}
don't use immutable=1, only mode=ro 1426379903  
1737906995 https://github.com/simonw/datasette/pull/2155#issuecomment-1737906995 https://api.github.com/repos/simonw/datasette/issues/2155 IC_kwDOBm6k_c5nllsz cadeef 79087 2023-09-27T18:44:02Z 2023-09-27T18:44:02Z NONE

@simonw Any chance we can get this tiny patch merged for an upcoming release?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix hupper.start_reloader entry point 1865572575  
1733312349 https://github.com/simonw/sqlite-utils/issues/595#issuecomment-1733312349 https://api.github.com/repos/simonw/sqlite-utils/issues/595 IC_kwDOCGYnMM5nUD9d cycle-data 123451970 2023-09-25T09:38:13Z 2023-09-25T09:38:57Z NONE

Never mind

When I created the connection using sqlite_utils.Database(path)

I just needed to add the following statement right after and it did the trick

self.db.conn.execute("PRAGMA foreign_keys = ON")

Hope this helps people in the future 👍

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Cascading DELETE not working with Table.delete(pk) 1907281675  
1732018273 https://github.com/simonw/sqlite-utils/issues/297#issuecomment-1732018273 https://api.github.com/repos/simonw/sqlite-utils/issues/297 IC_kwDOCGYnMM5nPIBh radusuciu 1108600 2023-09-22T20:49:51Z 2023-09-22T20:49:51Z NONE

This would be awesome to have for multi-gig tsv and csv files! I'm currently looking at a 10 hour countdown for one such important. Not a problem because I'm lazy and happy to let it run and check on it tomorrow..

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Option for importing CSV data using the SQLite .import mechanism 944846776  
1728192688 https://github.com/simonw/datasette/issues/2189#issuecomment-1728192688 https://api.github.com/repos/simonw/datasette/issues/2189 IC_kwDOBm6k_c5nAiCw yozlet 173848 2023-09-20T17:53:31Z 2023-09-20T17:53:31Z NONE

/me munches popcorn at a furious rate, utterly entralled

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Server hang on parallel execution of queries to named in-memory databases 1901416155  
1726754119 https://github.com/simonw/datasette/pull/2192#issuecomment-1726754119 https://api.github.com/repos/simonw/datasette/issues/2192 IC_kwDOBm6k_c5m7C1H codecov[bot] 22429695 2023-09-20T01:35:45Z 2023-09-20T01:35:45Z NONE

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02% :tada:

Comparison is base (6ed7908) 92.69% compared to head (4e6a341) 92.72%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2192 +/- ## ========================================== + Coverage 92.69% 92.72% +0.02% ========================================== Files 40 40 Lines 6039 6036 -3 ========================================== - Hits 5598 5597 -1 + Misses 441 439 -2 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/views/table.py](https://app.codecov.io/gh/simonw/datasette/pull/2192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL3RhYmxlLnB5) | `96.31% <100.00%> (+0.51%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2192/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Stop using parallel SQL queries for tables 1903932086  
1719468727 https://github.com/simonw/datasette/pull/2185#issuecomment-1719468727 https://api.github.com/repos/simonw/datasette/issues/2185 IC_kwDOBm6k_c5mfQK3 codecov[bot] 22429695 2023-09-14T13:36:07Z 2023-09-19T13:42:35Z NONE

Codecov Report

Patch coverage has no change and project coverage change: -0.04% :warning:

Comparison is base (6ed7908) 92.69% compared to head (fe5f881) 92.66%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2185 +/- ## ========================================== - Coverage 92.69% 92.66% -0.04% ========================================== Files 40 40 Lines 6039 6039 ========================================== - Hits 5598 5596 -2 - Misses 441 443 +2 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2185/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 3 updates 1896578249  
1724169693 https://github.com/simonw/datasette/pull/2190#issuecomment-1724169693 https://api.github.com/repos/simonw/datasette/issues/2190 IC_kwDOBm6k_c5mxL3d codecov[bot] 22429695 2023-09-18T18:39:19Z 2023-09-18T18:39:19Z NONE

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.03% :warning:

Comparison is base (6ed7908) 92.69% compared to head (fc7dbe0) 92.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2190 +/- ## ========================================== - Coverage 92.69% 92.67% -0.03% ========================================== Files 40 40 Lines 6039 6044 +5 ========================================== + Hits 5598 5601 +3 - Misses 441 443 +2 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.19% <100.00%> (ø)` | | | [datasette/cli.py](https://app.codecov.io/gh/simonw/datasette/pull/2190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2NsaS5weQ==) | `82.53% <100.00%> (ø)` | | | [datasette/utils/\_\_init\_\_.py](https://app.codecov.io/gh/simonw/datasette/pull/2190?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3V0aWxzL19faW5pdF9fLnB5) | `94.83% <100.00%> (+0.03%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2190/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Raise an exception if a "plugins" block exists in metadata.json 1901483874  
1723362847 https://github.com/simonw/datasette/issues/2123#issuecomment-1723362847 https://api.github.com/repos/simonw/datasette/issues/2123 IC_kwDOBm6k_c5muG4f hueyy 6523121 2023-09-18T13:02:46Z 2023-09-18T13:02:46Z NONE

Can confirm that this bug can be reproduced as follows:

docker run datasetteproject/datasette datasette serve --reload

which produces the following output:

Starting monitor for PID 10. Error: Invalid value for '[FILES]...': Path 'serve' does not exist.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette serve when invoked with --reload interprets the serve command as a file 1825007061  
1722943484 https://github.com/simonw/datasette/pull/2052#issuecomment-1722943484 https://api.github.com/repos/simonw/datasette/issues/2052 IC_kwDOBm6k_c5msgf8 20after4 30934 2023-09-18T08:14:47Z 2023-09-18T08:14:47Z NONE

This is such a well thought out contribution. I don't think I've seen such a thoroughly considered PR on any project in recent memory.

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
feat: Javascript Plugin API (Custom panels, column menu items with JS actions) 1651082214  
1714544153 https://github.com/simonw/datasette/pull/2183#issuecomment-1714544153 https://api.github.com/repos/simonw/datasette/issues/2183 IC_kwDOBm6k_c5mMd4Z codecov[bot] 22429695 2023-09-11T20:37:52Z 2023-09-13T20:58:51Z NONE

Codecov Report

Patch coverage: 95.00% and project coverage change: -0.04% :warning:

Comparison is base (a4c96d0) 92.69% compared to head (659dcbd) 92.66%.

:exclamation: Current head 659dcbd differs from pull request most recent head acca338. Consider uploading reports for the commit acca338 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2183 +/- ## ========================================== - Coverage 92.69% 92.66% -0.04% ========================================== Files 40 40 Lines 6025 6039 +14 ========================================== + Hits 5585 5596 +11 - Misses 440 443 +3 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.19% <95.00%> (-0.24%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette.yaml` plugin support 1891212159  
1710939868 https://github.com/simonw/sqlite-utils/pull/593#issuecomment-1710939868 https://api.github.com/repos/simonw/sqlite-utils/issues/593 IC_kwDOCGYnMM5l-t7c codecov[bot] 22429695 2023-09-08T01:03:40Z 2023-09-09T00:44:52Z NONE

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (5d123f0) 95.77% compared to head (b86374f) 95.77%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #593 +/- ## ======================================= Coverage 95.77% 95.77% ======================================= Files 8 8 Lines 2837 2840 +3 ======================================= + Hits 2717 2720 +3 Misses 120 120 ``` | [Files Changed](https://app.codecov.io/gh/simonw/sqlite-utils/pull/593?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/db.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/593?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2RiLnB5) | `97.22% <100.00%> (+<0.01%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
.transform() now preserves rowid values, refs #592 1886783150  
1710972324 https://github.com/simonw/datasette/pull/2181#issuecomment-1710972324 https://api.github.com/repos/simonw/datasette/issues/2181 IC_kwDOBm6k_c5l-12k codecov[bot] 22429695 2023-09-08T01:58:44Z 2023-09-08T03:43:43Z NONE

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (c263704) 92.68% compared to head (e1c5a9d) 92.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2181 +/- ## ======================================= Coverage 92.68% 92.69% ======================================= Files 40 40 Lines 6017 6025 +8 ======================================= + Hits 5577 5585 +8 Misses 440 440 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.43% <100.00%> (+0.03%)` | :arrow_up: | | [datasette/hookspecs.py](https://app.codecov.io/gh/simonw/datasette/pull/2181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2hvb2tzcGVjcy5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.

:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
actors_from_ids plugin hook and datasette.actors_from_ids() method 1886812002  
1710950671 https://github.com/dogsheep/google-takeout-to-sqlite/pull/8#issuecomment-1710950671 https://api.github.com/repos/dogsheep/google-takeout-to-sqlite/issues/8 IC_kwDODFE5qs5l-wkP iloveitaly 150855 2023-09-08T01:22:49Z 2023-09-08T01:22:49Z NONE

Makes sense, thanks for explaining!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add Gmail takeout mbox import (v2) 954546309  
1708699926 https://github.com/simonw/datasette/pull/2174#issuecomment-1708699926 https://api.github.com/repos/simonw/datasette/issues/2174 IC_kwDOBm6k_c5l2LEW codecov[bot] 22429695 2023-09-06T16:18:13Z 2023-09-08T00:46:13Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (05707aa) 92.68% compared to head (d75b519) 92.68%. Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2174 +/- ## ======================================= Coverage 92.68% 92.68% ======================================= Files 40 40 Lines 6012 6017 +5 ======================================= + Hits 5572 5577 +5 Misses 440 440 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/cli.py](https://app.codecov.io/gh/simonw/datasette/pull/2174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2NsaS5weQ==) | `82.53% <ø> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2174/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.

:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use $DATASETTE_INTERNAL in absence of --internal 1884330740  
1710380941 https://github.com/dogsheep/google-takeout-to-sqlite/pull/8#issuecomment-1710380941 https://api.github.com/repos/dogsheep/google-takeout-to-sqlite/issues/8 IC_kwDODFE5qs5l8leN maxhawkins 28565 2023-09-07T15:39:59Z 2023-09-07T15:39:59Z NONE

@maxhawkins curious why you didn't use the stdlib mailbox to parse the mbox files?

Mailbox parses the entire mbox into memory. Using the lower level library lets us stream the emails in one at a time to support larger archives. Both libraries are in the stdlib.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add Gmail takeout mbox import (v2) 954546309  
1709373304 https://github.com/simonw/datasette/issues/1479#issuecomment-1709373304 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c5l4vd4 hcarter333 363004 2023-09-07T02:14:15Z 2023-09-07T02:14:15Z NONE

I ran into the same issue on Windows using

datasette publish cloudrun mydatabase.db --service=my-database do do a google cloud publish.

@Rik-de-Kort your fix worked perfectly! Thanks!

I can always go back and delete the temp directories myself :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
1708945716 https://github.com/dogsheep/google-takeout-to-sqlite/pull/8#issuecomment-1708945716 https://api.github.com/repos/dogsheep/google-takeout-to-sqlite/issues/8 IC_kwDODFE5qs5l3HE0 iloveitaly 150855 2023-09-06T19:12:33Z 2023-09-06T19:12:33Z NONE

@maxhawkins curious why you didn't use the stdlib mailbox to parse the mbox files?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add Gmail takeout mbox import (v2) 954546309  
1701045404 https://github.com/simonw/datasette/pull/2166#issuecomment-1701045404 https://api.github.com/repos/simonw/datasette/issues/2166 IC_kwDOBm6k_c5lY-Sc codecov[bot] 22429695 2023-08-31T13:31:15Z 2023-09-06T13:25:17Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (05707aa) 92.68% compared to head (7c9df6e) 92.68%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2166 +/- ## ======================================= Coverage 92.68% 92.68% ======================================= Files 40 40 Lines 6012 6012 ======================================= Hits 5572 5572 Misses 440 440 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 1 update 1875519316  
1707570044 https://github.com/simonw/datasette/pull/2173#issuecomment-1707570044 https://api.github.com/repos/simonw/datasette/issues/2173 IC_kwDOBm6k_c5lx3N8 codecov[bot] 22429695 2023-09-06T02:39:59Z 2023-09-06T02:49:01Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (fd083e3) 92.68% compared to head (a481ebd) 92.68%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2173 +/- ## ======================================= Coverage 92.68% 92.68% ======================================= Files 40 40 Lines 6012 6012 ======================================= Hits 5572 5572 Misses 440 440 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
click-default-group>=1.2.3 1883055640  
1706701195 https://github.com/simonw/datasette/issues/328#issuecomment-1706701195 https://api.github.com/repos/simonw/datasette/issues/328 IC_kwDOBm6k_c5lujGL eric-burel 7983005 2023-09-05T14:10:39Z 2023-09-05T14:10:39Z NONE

Hey @simonw I hit the same issue as mentionned by @chmaynard on a fresh install, "/mnt/fixtures.db" doesn't seem to exist in the docker image

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Installation instructions, including how to use the docker image 336464733  
1699812599 https://github.com/simonw/datasette/pull/2165#issuecomment-1699812599 https://api.github.com/repos/simonw/datasette/issues/2165 IC_kwDOBm6k_c5lURT3 codecov[bot] 22429695 2023-08-30T20:43:19Z 2023-08-30T22:05:05Z NONE

Codecov Report

Patch coverage: 26.66% and project coverage change: -0.17% :warning:

Comparison is base (30b28c8) 92.84% compared to head (5eddf34) 92.68%.

:exclamation: Current head 5eddf34 differs from pull request most recent head 6321c9c. Consider uploading reports for the commit 6321c9c to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2165 +/- ## ========================================== - Coverage 92.84% 92.68% -0.17% ========================================== Files 40 40 Lines 5998 6012 +14 ========================================== + Hits 5569 5572 +3 - Misses 429 440 +11 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/plugins.py](https://app.codecov.io/gh/simonw/datasette/pull/2165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3BsdWdpbnMucHk=) | `64.58% <26.66%> (-17.77%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
DATASETTE_LOAD_PLUGINS environment variable for loading specific plugins 1874327336  
1691798722 https://github.com/simonw/datasette/pull/2154#issuecomment-1691798722 https://api.github.com/repos/simonw/datasette/issues/2154 IC_kwDOBm6k_c5k1szC codecov[bot] 22429695 2023-08-24T14:31:42Z 2023-08-29T16:15:12Z NONE

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.03% :tada:

Comparison is base (2e28258) 92.82% compared to head (3e49fd3) 92.85%. Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2154 +/- ## ========================================== + Coverage 92.82% 92.85% +0.03% ========================================== Files 40 40 Lines 5948 6008 +60 ========================================== + Hits 5521 5579 +58 - Misses 427 429 +2 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/views/special.py](https://app.codecov.io/gh/simonw/datasette/pull/2154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL3NwZWNpYWwucHk=) | `94.06% <ø> (-0.85%)` | :arrow_down: | | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.37% <100.00%> (+0.07%)` | :arrow_up: | | [datasette/default\_permissions.py](https://app.codecov.io/gh/simonw/datasette/pull/2154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2RlZmF1bHRfcGVybWlzc2lvbnMucHk=) | `97.48% <100.00%> (+0.57%)` | :arrow_up: | | [datasette/permissions.py](https://app.codecov.io/gh/simonw/datasette/pull/2154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3Blcm1pc3Npb25zLnB5) | `100.00% <100.00%> (ø)` | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2154/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Cascade for restricted token view-table/view-database/view-instance operations 1865281760  
1696594855 https://github.com/simonw/datasette/pull/2162#issuecomment-1696594855 https://api.github.com/repos/simonw/datasette/issues/2162 IC_kwDOBm6k_c5lH_un codecov[bot] 22429695 2023-08-29T00:19:29Z 2023-08-29T03:22:21Z NONE

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.03% :warning:

Comparison is base (2e28258) 92.82% compared to head (73489ca) 92.79%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2162 +/- ## ========================================== - Coverage 92.82% 92.79% -0.03% ========================================== Files 40 40 Lines 5948 5953 +5 ========================================== + Hits 5521 5524 +3 - Misses 427 429 +2 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/default\_permissions.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2RlZmF1bHRfcGVybWlzc2lvbnMucHk=) | `96.87% <ø> (-0.04%)` | :arrow_down: | | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.32% <100.00%> (+0.03%)` | :arrow_up: | | [datasette/cli.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2NsaS5weQ==) | `82.53% <100.00%> (-0.06%)` | :arrow_down: | | [datasette/database.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2RhdGFiYXNlLnB5) | `94.72% <100.00%> (+0.04%)` | :arrow_up: | | [datasette/utils/internal\_db.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3V0aWxzL2ludGVybmFsX2RiLnB5) | `100.00% <100.00%> (ø)` | | | [datasette/views/database.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL2RhdGFiYXNlLnB5) | `95.45% <100.00%> (ø)` | | | [datasette/views/special.py](https://app.codecov.io/gh/simonw/datasette/pull/2162?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL3NwZWNpYWwucHk=) | `94.06% <100.00%> (-0.85%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add new `--internal internal.db` option, deprecate legacy `_internal` database 1870672704  
1695754277 https://github.com/simonw/datasette/pull/2160#issuecomment-1695754277 https://api.github.com/repos/simonw/datasette/issues/2160 IC_kwDOBm6k_c5lEygl codecov[bot] 22429695 2023-08-28T14:00:17Z 2023-08-29T00:32:52Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (2e28258) 92.82% compared to head (c81b024) 92.82%.

:exclamation: Current head c81b024 differs from pull request most recent head 3529c9c. Consider uploading reports for the commit 3529c9c to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2160 +/- ## ======================================= Coverage 92.82% 92.82% ======================================= Files 40 40 Lines 5948 5948 ======================================= Hits 5521 5521 Misses 427 427 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump sphinx, furo, blacken-docs dependencies 1869807874  
1696267473 https://github.com/simonw/datasette/pull/2161#issuecomment-1696267473 https://api.github.com/repos/simonw/datasette/issues/2161 IC_kwDOBm6k_c5lGvzR codecov[bot] 22429695 2023-08-28T19:38:28Z 2023-08-28T19:39:33Z NONE

Codecov Report

Patch coverage: 75.00% and project coverage change: +0.05% :tada:

Comparison is base (527cec6) 92.76% compared to head (a5cbf80) 92.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2161 +/- ## ========================================== + Coverage 92.76% 92.81% +0.05% ========================================== Files 40 40 Lines 5943 5944 +1 ========================================== + Hits 5513 5517 +4 + Misses 430 427 -3 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2161?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/cli.py](https://app.codecov.io/gh/simonw/datasette/pull/2161?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2NsaS5weQ==) | `82.37% <75.00%> (+1.02%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
-s/--setting x y gets merged into datasette.yml, refs #2143, #2156 1870345352  
1691710474 https://github.com/simonw/datasette/pull/2152#issuecomment-1691710474 https://api.github.com/repos/simonw/datasette/issues/2152 IC_kwDOBm6k_c5k1XQK codecov[bot] 22429695 2023-08-24T13:45:21Z 2023-08-25T13:18:34Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (527cec6) 92.76% compared to head (2e45686) 92.76%.

:exclamation: Current head 2e45686 differs from pull request most recent head 5dfa305. Consider uploading reports for the commit 5dfa305 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2152 +/- ## ======================================= Coverage 92.76% 92.76% ======================================= Files 40 40 Lines 5943 5919 -24 ======================================= - Hits 5513 5491 -22 + Misses 430 428 -2 ``` [see 3 files with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2152/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 3 updates 1865174661  
1692322342 https://github.com/simonw/datasette/issues/1241#issuecomment-1692322342 https://api.github.com/repos/simonw/datasette/issues/1241 IC_kwDOBm6k_c5k3som publicmatt 52261150 2023-08-24T19:56:15Z 2023-08-24T20:09:52Z NONE

Something to think about, but I hate how long the url is when sharing a custom SQL query. Would it be possible to hash the query and state of a page instead so the url is more manageable? The mapping from hash to query would have to be stored in order to recover/lookup the page after sharing.

It's not uncommon to have things like this currently:

https://global-power-plants.datasettes.com/global-power-plants?sql=select+rowid%2C+country%2C+country_long%2C+name%2C+gppd_idnr%2C+capacity_mw%2C+latitude%2C+longitude%2C+primary_fuel%2C+other_fuel1%2C+other_fuel2%2C+other_fuel3%2C+commissioning_year%2C+owner%2C+source%2C+url%2C+geolocation_source%2C+wepp_id%2C+year_of_capacity_data%2C+generation_gwh_2013%2C+generation_gwh_2014%2C+generation_gwh_2015%2C+generation_gwh_2016%2C+generation_gwh_2017%2C+generation_gwh_2018%2C+generation_gwh_2019%2C+generation_data_source%2C+estimated_generation_gwh_2013%2C+estimated_generation_gwh_2014%2C+estimated_generation_gwh_2015%2C+estimated_generation_gwh_2016%2C+estimated_generation_gwh_2017%2C+estimated_generation_note_2013%2C+estimated_generation_note_2014%2C+estimated_generation_note_2015%2C+estimated_generation_note_2016%2C+estimated_generation_note_2017+from+%5Bglobal-power-plants%5D+order+by+rowid+limit+101

I'm thinking a plugin like https://datasette.io/plugins/datasette-query-files, but could be created and managed from the UI (with the right permissions).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Share button for copying current URL 814595021  
1691094870 https://github.com/simonw/datasette/issues/2143#issuecomment-1691094870 https://api.github.com/repos/simonw/datasette/issues/2143 IC_kwDOBm6k_c5kzA9W rclement 1238873 2023-08-24T06:43:40Z 2023-08-24T06:43:40Z NONE

If I may, the "path-like" configuration is great but one thing that would be even greater: allowing the same configuration to be provided using environment variables.

For instance:

datasette -s plugins.datasette-complex-plugin.configs '{"foo": [1,2,3], "bar": "baz"}'

could also be provided using:

export DS_PLUGINS_DATASETTE-COMPLEX-PLUGIN_CONFIGS='{"foo": [1,2,3], "bar": "baz"}' datasette

(I do not like mixing - and _ in env vars but I do not have a best easily reversible example at the moment)

FYI, you could take some inspiration from another great open source data project, Metabase: https://www.metabase.com/docs/latest/configuring-metabase/config-file https://www.metabase.com/docs/latest/configuring-metabase/environment-variables

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
De-tangling Metadata before Datasette 1.0 1855885427  
1690955706 https://github.com/simonw/datasette/issues/2147#issuecomment-1690955706 https://api.github.com/repos/simonw/datasette/issues/2147 IC_kwDOBm6k_c5kye-6 jackowayed 18899 2023-08-24T03:54:35Z 2023-08-24T03:54:35Z NONE

That's fair. The best idea I can think of is that if a plugin wanted to limit intensive queries, it could add LIMITs or something. A hook that gives you visibility of queries and maybe the option to reject felt a little more limited than the existing plugin hooks, so I was trying to think of what else one might want to do while looking at to-be-run queries.

But without a real motivating example, I see why you don't want to add that.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Plugin hook for database queries that are run 1858228057  
1690799608 https://github.com/simonw/datasette/issues/2143#issuecomment-1690799608 https://api.github.com/repos/simonw/datasette/issues/2143 IC_kwDOBm6k_c5kx434 pkulchenko 77071 2023-08-24T00:09:47Z 2023-08-24T00:10:41Z NONE

@simonw, FWIW, I do exactly the same thing for one of my projects (both to allow multiple configuration files to be passed on the command line and setting individual values) and it works quite well for me and my users. I even use the same parameter name for both (https://studio.zerobrane.com/doc-configuration#configuration-via-command-line), but I understand why you may want to use different ones for files and individual values. There is one small difference that I accept code snippets, but I don't think it matters much in this case.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
De-tangling Metadata before Datasette 1.0 1855885427  
1690746371 https://github.com/simonw/datasette/pull/2151#issuecomment-1690746371 https://api.github.com/repos/simonw/datasette/issues/2151 IC_kwDOBm6k_c5kxr4D codecov[bot] 22429695 2023-08-23T22:51:57Z 2023-08-23T22:58:13Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (bdf59eb) 92.73% compared to head (b895cd2) 92.73%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2151 +/- ## ======================================= Coverage 92.73% 92.73% ======================================= Files 40 40 Lines 5919 5919 ======================================= Hits 5489 5489 Misses 430 430 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Test Datasette on multiple SQLite versions 1864112887  
1689133247 https://github.com/simonw/datasette/pull/2148#issuecomment-1689133247 https://api.github.com/repos/simonw/datasette/issues/2148 IC_kwDOBm6k_c5kriC_ codecov[bot] 22429695 2023-08-23T01:36:42Z 2023-08-23T03:09:43Z NONE

Codecov Report

Patch coverage has no change and project coverage change: +0.01% :tada:

Comparison is base (17ec309) 92.71% compared to head (a651d3c) 92.73%. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2148 +/- ## ========================================== + Coverage 92.71% 92.73% +0.01% ========================================== Files 40 40 Lines 5919 5919 ========================================== + Hits 5488 5489 +1 + Misses 431 430 -1 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/datasette/pull/2148/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump sphinx, furo, blacken-docs dependencies 1859415334  
1688547401 https://github.com/simonw/datasette/pull/2149#issuecomment-1688547401 https://api.github.com/repos/simonw/datasette/issues/2149 IC_kwDOBm6k_c5kpTBJ codecov[bot] 22429695 2023-08-22T16:30:41Z 2023-08-22T16:30:41Z NONE

Codecov Report

Patch coverage: 76.47% and project coverage change: +0.10% :tada:

Comparison is base (943df09) 92.06% compared to head (db720cd) 92.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2149 +/- ## ========================================== + Coverage 92.06% 92.17% +0.10% ========================================== Files 40 40 Lines 5937 5916 -21 ========================================== - Hits 5466 5453 -13 + Misses 471 463 -8 ``` | [Files Changed](https://app.codecov.io/gh/simonw/datasette/pull/2149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/cli.py](https://app.codecov.io/gh/simonw/datasette/pull/2149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2NsaS5weQ==) | `81.02% <25.00%> (+1.20%)` | :arrow_up: | | [datasette/app.py](https://app.codecov.io/gh/simonw/datasette/pull/2149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `94.29% <92.30%> (-0.09%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Start a new `datasette.yaml` configuration file, with settings support 1861812208  
1687433388 https://github.com/simonw/datasette/issues/2147#issuecomment-1687433388 https://api.github.com/repos/simonw/datasette/issues/2147 IC_kwDOBm6k_c5klDCs jackowayed 18899 2023-08-22T05:05:33Z 2023-08-22T05:05:33Z NONE

Thanks for all this! You're totally right that the ASGI option is doable, if a bit low level and coupled to the current URI design. I'm totally fine with that being the final answer.

process_view is interesting and in the general direction of what I had in mind.

A somewhat less powerful idea: Is there value in giving a hook for just the query that's about to be run? Maybe I'm thinking a little narrowly about this problem I decided I wanted to solve, but I could see other uses for a hook of the sketch below:

def prepare_query(database, table, query): """Modify query that is about to be run in some way. Return the (possibly rewritten) query to run, or None to disallow running the query""" (Maybe you actually want to return a tuple so there can be an error message when you disallow, or something.)

Maybe it's too narrowly useful and some of the other pieces of datasette obviate some of these ideas, but off the cuff I could imagine using it to: * Require a LIMIT. Either fail the query or add the limit if it's not there. * Do logging, like my usecase. * Do other analysis on whether you want to allow the query to run; a linter? query complexity?

Definitely feel free to say no, or not now. This is all me just playing around with what datasette and its plugin architecture can do with toy ideas, so don't let me push you to commit to a hook you don't feel confident fits well in the design.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Plugin hook for database queries that are run 1858228057  
1685471752 https://github.com/simonw/datasette/issues/2145#issuecomment-1685471752 https://api.github.com/repos/simonw/datasette/issues/2145 IC_kwDOBm6k_c5kdkII pkulchenko 77071 2023-08-21T01:07:23Z 2023-08-21T01:07:23Z NONE

@simonw, since you're referencing "rowid" column by name, I just want to note that there may be an existing rowid column with completely different semantics (https://www.sqlite.org/lang_createtable.html#rowid), which is likely to break this logic. I don't see a good way to detect a proper "rowid" name short of checking if there is a field with that name and using the alternative (_rowid_ or oid), which is not ideal, but may work.

In terms of the original issue, maybe a way to deal with it is to use rowid by default and then use primary key for WITHOUT ROWID tables (as they are guaranteed to be not null), but I suspect it may require significant changes to the API (and doesn't fully address the issue of what value to pass to indicate NULL when editing records). Would it make sense to generate a random string to indicate NULL values when editing?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
If a row has a primary key of `null` various things break 1857234285  
1685263948 https://github.com/simonw/datasette/issues/2143#issuecomment-1685263948 https://api.github.com/repos/simonw/datasette/issues/2143 IC_kwDOBm6k_c5kcxZM dvizard 11784304 2023-08-20T11:50:10Z 2023-08-20T11:50:10Z NONE

This also makes it simple to separate out secrets.

datasette --config settings.yaml --config secrets.yaml --config db-docs.yaml --config db-fixtures.yaml

settings.yaml settings: default_page_size: 10 max_returned_rows: 3000 sql_time_limit_ms": 8000 plugins: datasette-ripgrep: path: /usr/local/lib/python3.11/site-packages

secrets.yaml plugins: datasette-auth-github: client_secret: SUCH_SECRET

db-docs.yaml databases: docs: permissions: create-table: id: editor

db-fixtures.yaml databases: fixtures: tables: no_primary_key: hidden: true queries: neighborhood_search: sql: |- select neighborhood, facet_cities.name, state from facetable join facet_cities on facetable.city_id = facet_cities.id where neighborhood like '%' || :text || '%' order by neighborhood; title: Search neighborhoods description_html: |- <p>This demonstrates <em>basic</em> LIKE search

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
De-tangling Metadata before Datasette 1.0 1855885427  
1685260624 https://github.com/simonw/datasette/issues/2143#issuecomment-1685260624 https://api.github.com/repos/simonw/datasette/issues/2143 IC_kwDOBm6k_c5kcwlQ dvizard 11784304 2023-08-20T11:31:16Z 2023-08-20T11:31:16Z NONE

https://pypi.org/project/deep-chainmap/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
De-tangling Metadata before Datasette 1.0 1855885427  
1685260244 https://github.com/simonw/datasette/issues/2143#issuecomment-1685260244 https://api.github.com/repos/simonw/datasette/issues/2143 IC_kwDOBm6k_c5kcwfU dvizard 11784304 2023-08-20T11:29:00Z 2023-08-20T11:29:00Z NONE

https://docs.python.org/3/library/collections.html#collections.ChainMap

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
De-tangling Metadata before Datasette 1.0 1855885427  
1685259985 https://github.com/simonw/datasette/issues/2143#issuecomment-1685259985 https://api.github.com/repos/simonw/datasette/issues/2143 IC_kwDOBm6k_c5kcwbR dvizard 11784304 2023-08-20T11:27:21Z 2023-08-20T11:27:21Z NONE

To chime in from a poweruser perspective: I'm worried that this is an overengineering trap. Yes, the current solution is somewhat messy. But there are datasette-wide settings, there are database-scope settings, there are table-scope settings etc, but then there are database-scope metadata and table-scope metadata. Trying to cleanly separate "settings" from "configuration" is, I believe, an uphill fight. Even separating db/table-scope settings from pure descriptive metadata is not always easy. Like, do canned queries belong to database metadata or to settings? Do I need two separate files for this?

One pragmatic solution I used in a project is stacking yaml configuration files. Basically, have an arbitrary number of yaml or json settings files that you load in a specified order. Every file adds to the corresponding settings in the earlier-loaded file (if it already existed). I implemented this myself but found later that there is an existing Python "cascading dict" type of thing, I forget what it's called. There is a bit of a challenge deciding whether there is "replacement" or "addition" (I think I pragmatically ran update on the second level of the dict but better solutions are certainly possible).

This way, one allows separation of settings into different blocks, while not imposing a specific idea of what belongs where that might not apply equally to all cases.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
De-tangling Metadata before Datasette 1.0 1855885427  
1683963463 https://github.com/simonw/datasette/pull/2144#issuecomment-1683963463 https://api.github.com/repos/simonw/datasette/issues/2144 IC_kwDOBm6k_c5kXz5H codecov[bot] 22429695 2023-08-18T13:58:39Z 2023-08-18T13:58:39Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (943df09) 92.06% compared to head (3a97755) 92.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2144 +/- ## ======================================= Coverage 92.06% 92.06% ======================================= Files 40 40 Lines 5937 5937 ======================================= Hits 5466 5466 Misses 471 471 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 3 updates 1856760386  
1683122490 https://github.com/simonw/sqlite-utils/pull/584#issuecomment-1683122490 https://api.github.com/repos/simonw/sqlite-utils/issues/584 IC_kwDOCGYnMM5kUmk6 codecov[bot] 22429695 2023-08-17T23:45:44Z 2023-08-18T00:46:07Z NONE

Codecov Report

Patch coverage: 92.85% and project coverage change: -0.07% :warning:

Comparison is base (1dc6b5a) 95.82% compared to head (2915050) 95.76%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #584 +/- ## ========================================== - Coverage 95.82% 95.76% -0.07% ========================================== Files 8 8 Lines 2829 2834 +5 ========================================== + Hits 2711 2714 +3 - Misses 118 120 +2 ``` | [Files Changed](https://app.codecov.io/gh/simonw/sqlite-utils/pull/584?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/db.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/584?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2RiLnB5) | `97.22% <92.85%> (-0.15%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
.transform() instead of modifying sqlite_master for add_foreign_keys 1855838223  
1682272492 https://github.com/simonw/datasette/pull/2142#issuecomment-1682272492 https://api.github.com/repos/simonw/datasette/issues/2142 IC_kwDOBm6k_c5kRXDs codecov[bot] 22429695 2023-08-17T13:18:08Z 2023-08-17T13:18:08Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (943df09) 92.06% compared to head (6b617f7) 92.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2142 +/- ## ======================================= Coverage 92.06% 92.06% ======================================= Files 40 40 Lines 5937 5937 ======================================= Hits 5466 5466 Misses 471 471 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 2 updates 1854970601  
1680660343 https://github.com/simonw/datasette/pull/2141#issuecomment-1680660343 https://api.github.com/repos/simonw/datasette/issues/2141 IC_kwDOBm6k_c5kLNd3 codecov[bot] 22429695 2023-08-16T13:55:22Z 2023-08-16T13:55:22Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (943df09) 92.06% compared to head (e2be94a) 92.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2141 +/- ## ======================================= Coverage 92.06% 92.06% ======================================= Files 40 40 Lines 5937 5937 ======================================= Hits 5466 5466 Misses 471 471 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump the python-packages group with 1 update 1853289039  
1674242356 https://github.com/simonw/datasette/issues/2126#issuecomment-1674242356 https://api.github.com/repos/simonw/datasette/issues/2126 IC_kwDOBm6k_c5jyuk0 ctsrc 36199671 2023-08-11T05:52:29Z 2023-08-11T05:52:29Z NONE

I see :) yeah, I’m on the stable version installed from homebrew on macOS

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Permissions in metadata.yml / metadata.json 1838266862  
1672360472 https://github.com/simonw/datasette/issues/2133#issuecomment-1672360472 https://api.github.com/repos/simonw/datasette/issues/2133 IC_kwDOBm6k_c5jrjIY HaveF 54462 2023-08-10T00:31:24Z 2023-08-10T00:31:24Z NONE

It looks very nice now. Finally, no more manual installation of plugins one by one. Thank you, Simon! ❤️

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
[feature request]`datasette install plugins.json` options 1841501975  
1671649530 https://github.com/simonw/datasette/issues/2133#issuecomment-1671649530 https://api.github.com/repos/simonw/datasette/issues/2133 IC_kwDOBm6k_c5jo1j6 HaveF 54462 2023-08-09T15:41:14Z 2023-08-09T15:41:14Z NONE

Yes, using this approach(datasette install -r requirements.txt) will result in more consistency.

I'm curious about the results of the datasette plugins --all command. Where will we use the output of this command? Will it include configuration information for these plugins in the future? If so, will we need to consider the configuration of these plugins in addition to installing them on different computers?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
[feature request]`datasette install plugins.json` options 1841501975  
1669877769 https://github.com/dogsheep/dogsheep-photos/pull/31#issuecomment-1669877769 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/31 IC_kwDOD079W85jiFAJ chrismytton 22996 2023-08-08T15:52:52Z 2023-08-08T15:52:52Z NONE

You can also install this with pip using this oneliner:

pip install git+https://github.com/RhetTbull/dogsheep-photos.git@update_for_bigsur

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update for Big Sur 771511344  
1668143992 https://github.com/simonw/datasette/pull/2128#issuecomment-1668143992 https://api.github.com/repos/simonw/datasette/issues/2128 IC_kwDOBm6k_c5jbdt4 codecov[bot] 22429695 2023-08-07T15:58:08Z 2023-08-07T15:58:08Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (adf54f5) 92.38% compared to head (935d336) 92.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2128 +/- ## ======================================= Coverage 92.38% 92.38% ======================================= Files 39 39 Lines 5803 5803 ======================================= Hits 5361 5361 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump blacken-docs, furo, blacken-docs 1839766197  
1666912107 https://github.com/simonw/datasette/issues/2126#issuecomment-1666912107 https://api.github.com/repos/simonw/datasette/issues/2126 IC_kwDOBm6k_c5jWw9r ctsrc 36199671 2023-08-06T16:27:34Z 2023-08-06T16:27:34Z NONE

And in similar fashion, how can I assign the edit-tiddlywiki permission to my user myuser in metadata.yml / metadata.json?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Permissions in metadata.yml / metadata.json 1838266862  
1662228666 https://github.com/simonw/datasette/pull/2125#issuecomment-1662228666 https://api.github.com/repos/simonw/datasette/issues/2125 IC_kwDOBm6k_c5jE5i6 codecov[bot] 22429695 2023-08-02T13:36:22Z 2023-08-02T13:36:22Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (0818182) 92.38% compared to head (730f554) 92.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2125 +/- ## ======================================= Coverage 92.38% 92.38% ======================================= Files 39 39 Lines 5803 5803 ======================================= Hits 5361 5361 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump sphinx from 6.1.3 to 7.1.2 1833193570  
1656696679 https://github.com/dogsheep/dogsheep-photos/pull/31#issuecomment-1656696679 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/31 IC_kwDOD079W85ivy9n coldclimate 319473 2023-07-29T10:10:29Z 2023-07-29T10:10:29Z NONE

+1 to getting this merged down.

For future googlers, I installed by... git clone git@github.com:RhetTbull/dogsheep-photos.git cd dogsheep-photos git checkout update_for_bigsur python setup.py install

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Update for Big Sur 771511344  
1656694944 https://github.com/dogsheep/dogsheep-photos/pull/38#issuecomment-1656694944 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/38 IC_kwDOD079W85ivyig coldclimate 319473 2023-07-29T10:01:19Z 2023-07-29T10:01:19Z NONE

Duplicate of https://github.com/dogsheep/dogsheep-photos/pull/36 - closing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
photos-to-sql not found? 1827427757  
1656694854 https://github.com/dogsheep/dogsheep-photos/pull/38#issuecomment-1656694854 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/38 IC_kwDOD079W85ivyhG coldclimate 319473 2023-07-29T10:00:45Z 2023-07-29T10:00:45Z NONE

Ran across https://github.com/dogsheep/dogsheep-photos/issues/33 which is the same subject. My PR just fixes docs

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
photos-to-sql not found? 1827427757  
1655691977 https://github.com/simonw/datasette/pull/2124#issuecomment-1655691977 https://api.github.com/repos/simonw/datasette/issues/2124 IC_kwDOBm6k_c5ir9rJ codecov[bot] 22429695 2023-07-28T13:33:54Z 2023-07-28T13:33:54Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (0818182) 92.38% compared to head (9388102) 92.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2124 +/- ## ======================================= Coverage 92.38% 92.38% ======================================= Files 39 39 Lines 5803 5803 ======================================= Hits 5361 5361 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump sphinx from 6.1.3 to 7.1.1 1826424151  
1653666188 https://github.com/simonw/datasette/pull/2121#issuecomment-1653666188 https://api.github.com/repos/simonw/datasette/issues/2121 IC_kwDOBm6k_c5ikPGM codecov[bot] 22429695 2023-07-27T13:48:43Z 2023-07-27T13:48:43Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (0818182) 92.38% compared to head (3aca01f) 92.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2121 +/- ## ======================================= Coverage 92.38% 92.38% ======================================= Files 39 39 Lines 5803 5803 ======================================= Hits 5361 5361 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump furo from 2023.3.27 to 2023.7.26 1824399610  
1649863533 https://github.com/simonw/datasette/pull/2107#issuecomment-1649863533 https://api.github.com/repos/simonw/datasette/issues/2107 IC_kwDOBm6k_c5iVutt codecov[bot] 22429695 2023-07-25T13:37:07Z 2023-07-25T13:37:07Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (278ac91) 92.38% compared to head (7fc79ba) 92.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2107 +/- ## ======================================= Coverage 92.38% 92.38% ======================================= Files 39 39 Lines 5805 5805 ======================================= Hits 5363 5363 Misses 442 442 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump sphinx from 6.1.3 to 7.1.0 1820346348  
1646950438 https://github.com/dogsheep/dogsheep-beta/issues/37#issuecomment-1646950438 https://api.github.com/repos/dogsheep/dogsheep-beta/issues/37 IC_kwDOC8SPRc5iKngm rprimet 10352819 2023-07-23T20:18:26Z 2023-07-23T20:18:26Z NONE

My bad, although I could not find how to use urls, I was using a function call syntax for the filters instead of jinja's pipe syntax; closing this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
cannot use jinja filters in display? 1817281557  
1646686382 https://github.com/simonw/sqlite-utils/pull/573#issuecomment-1646686382 https://api.github.com/repos/simonw/sqlite-utils/issues/573 IC_kwDOCGYnMM5iJnCu codecov[bot] 22429695 2023-07-22T22:52:22Z 2023-07-22T22:56:49Z NONE

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.03 :tada:

Comparison is base (86a352f) 96.09% compared to head (faf398f) 96.12%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #573 +/- ## ========================================== + Coverage 96.09% 96.12% +0.03% ========================================== Files 8 8 Lines 2794 2816 +22 ========================================== + Hits 2685 2707 +22 Misses 109 109 ``` | [Impacted Files](https://app.codecov.io/gh/simonw/sqlite-utils/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/\_\_init\_\_.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [sqlite\_utils/db.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2RiLnB5) | `97.36% <100.00%> (+0.01%)` | :arrow_up: | | [sqlite\_utils/hookspecs.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2hvb2tzcGVjcy5weQ==) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/sqlite-utils/pull/573/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
feat: Implement a prepare_connection plugin hook 1816917522  
1646250291 https://github.com/simonw/datasette/pull/2098#issuecomment-1646250291 https://api.github.com/repos/simonw/datasette/issues/2098 IC_kwDOBm6k_c5iH8kz codecov[bot] 22429695 2023-07-21T21:21:00Z 2023-07-21T21:27:25Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (3a51ca9) 92.39% compared to head (3d45262) 92.39%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2098 +/- ## ======================================= Coverage 92.39% 92.39% ======================================= Files 39 39 Lines 5802 5802 ======================================= Hits 5361 5361 Misses 441 441 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump blacken-docs from 1.14.0 to 1.15.0 1796830110  
1646247246 https://github.com/simonw/datasette/issues/2105#issuecomment-1646247246 https://api.github.com/repos/simonw/datasette/issues/2105 IC_kwDOBm6k_c5iH71O aki-k 2235371 2023-07-21T21:16:37Z 2023-07-21T21:17:09Z NONE

I must be doing something wrong. On page https://192.168.1.3:5432/datasette-llm/logs/_llm_migrations there's the option to filter the results, there's an Apply button. It also tries to load an URL with an extra URL element in it:

https://192.168.1.3:5432/datasette-llm/datasette-llm/logs/_llm_migrations?_sort=name&name__contains=initial

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
When reverse proxying datasette with nginx an URL element gets erronously added 1811824307  
1643873232 https://github.com/simonw/datasette/issues/2105#issuecomment-1643873232 https://api.github.com/repos/simonw/datasette/issues/2105 IC_kwDOBm6k_c5h-4PQ aki-k 2235371 2023-07-20T12:53:00Z 2023-07-20T12:53:34Z NONE

I forgot to add that I followed these instructions to set up the python llm:

https://simonwillison.net/2023/Jul/18/accessing-llama-2/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
When reverse proxying datasette with nginx an URL element gets erronously added 1811824307  
1642013043 https://github.com/simonw/datasette/issues/2105#issuecomment-1642013043 https://api.github.com/repos/simonw/datasette/issues/2105 IC_kwDOBm6k_c5h3yFz aki-k 2235371 2023-07-19T12:41:36Z 2023-07-19T12:41:36Z NONE

The same problem can be seen in the links:

Advanced export

JSON shape: default, array, newline-delimited, object

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
When reverse proxying datasette with nginx an URL element gets erronously added 1811824307  
1640826795 https://github.com/simonw/sqlite-utils/issues/433#issuecomment-1640826795 https://api.github.com/repos/simonw/sqlite-utils/issues/433 IC_kwDOCGYnMM5hzQer J450n-4-W 76528036 2023-07-18T19:08:50Z 2023-07-18T19:08:50Z NONE

Came here to report this, but instead I'll confirm the issue across two terminal emulators (Gnome Terminal and Alacritty) on Pop_OS! 22.04 (currently based on Ubuntu/Gnome). Also messes up the formatting of the terminal. Can also confirm that reset fixes it until the next sqlite-utils command.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
CLI eats my cursor 1239034903  
1637293044 https://github.com/simonw/datasette/issues/670#issuecomment-1637293044 https://api.github.com/repos/simonw/datasette/issues/670 IC_kwDOBm6k_c5hlxv0 yairlenga 4863782 2023-07-17T02:23:32Z 2023-07-17T02:23:32Z NONE

Is there any working version of datasette/postgresql ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Prototoype for Datasette on PostgreSQL 564833696  
1636134091 https://github.com/simonw/datasette/issues/2087#issuecomment-1636134091 https://api.github.com/repos/simonw/datasette/issues/2087 IC_kwDOBm6k_c5hhWzL adarshp 653549 2023-07-14T17:02:03Z 2023-07-14T17:02:03Z NONE

@asg017 - the docs say that the autodetection only occurs in configuration directory mode. I for one would also be interested in the --settings settings.json feature.

For context, I am developing a large database for use with Datasette, but the database lives in a different network volume than my source code, since the volume in which my source code lives is aggressively backed up, while the location where the database lives is meant for temporary files and is not as aggressively backed up (since the backups would get unreasonably large).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`--settings settings.json` option 1765870617  
1629123734 https://github.com/dogsheep/healthkit-to-sqlite/issues/14#issuecomment-1629123734 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/14 IC_kwDOC8tyDs5hGnSW philipp-heinrich 44622670 2023-07-10T14:46:52Z 2023-07-10T14:46:52Z NONE

@simonw any chance to get this fixed soon?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
UNIQUE constraint failed: workouts.id 771608692  
1616195496 https://github.com/simonw/datasette/issues/2093#issuecomment-1616195496 https://api.github.com/repos/simonw/datasette/issues/2093 IC_kwDOBm6k_c5gVS-o terinjokes 273509 2023-07-02T00:06:54Z 2023-07-02T00:07:17Z NONE

I'm not keen on requiring metadata to be within the database. I commonly have multiple DBs, from various sources, and having one config file to provide the metadata works out very well. I use Datasette with databases where I'm not the original source, needing to mutate them to add a metadata table or sqlite-docs makes me uncomfortable.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Proposal: Combine settings, metadata, static, etc. into a single `datasette.yaml` File 1781530343  
1557289070 https://github.com/simonw/datasette/pull/2077#issuecomment-1557289070 https://api.github.com/repos/simonw/datasette/issues/2077 IC_kwDOBm6k_c5c0lhu codecov[bot] 22429695 2023-05-22T14:08:33Z 2023-06-29T14:40:35Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (ede6203) 92.40% compared to head (9785c4f) 92.40%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2077 +/- ## ======================================= Coverage 92.40% 92.40% ======================================= Files 39 39 Lines 5803 5803 ======================================= Hits 5362 5362 Misses 441 441 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump furo from 2023.3.27 to 2023.5.20 1719759468  
1606237836 https://github.com/simonw/sqlite-utils/pull/560#issuecomment-1606237836 https://api.github.com/repos/simonw/sqlite-utils/issues/560 IC_kwDOCGYnMM5fvT6M codecov[bot] 22429695 2023-06-25T19:49:45Z 2023-06-26T08:20:59Z NONE

Codecov Report

Patch coverage: 80.55% and project coverage change: -0.15 :warning:

Comparison is base (2747257) 96.36% compared to head (5e7d27e) 96.22%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #560 +/- ## ========================================== - Coverage 96.36% 96.22% -0.15% ========================================== Files 6 6 Lines 2726 2752 +26 ========================================== + Hits 2627 2648 +21 - Misses 99 104 +5 ``` | [Impacted Files](https://app.codecov.io/gh/simonw/sqlite-utils/pull/560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/utils.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL3V0aWxzLnB5) | `94.56% <63.63%> (-0.62%)` | :arrow_down: | | [sqlite\_utils/db.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2RiLnB5) | `97.33% <86.36%> (-0.20%)` | :arrow_down: | | [sqlite\_utils/cli.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/560?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2NsaS5weQ==) | `95.22% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use sqlean if available in environment 1773458985  
1592617271 https://github.com/simonw/sqlite-utils/issues/535#issuecomment-1592617271 https://api.github.com/repos/simonw/sqlite-utils/issues/535 IC_kwDOCGYnMM5e7Wk3 erlend-aasland 13780613 2023-06-15T08:39:49Z 2023-06-15T08:39:49Z NONE

piping to jq is good enough usually

... or python -m json.tool[^1], if you don't have jq installed.

[^1]: no fancy colouring, like jq; only pretty-printing

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
rows: --transpose or psql extended view-like functionality 1655860104  
1578840450 https://github.com/simonw/sqlite-utils/issues/433#issuecomment-1578840450 https://api.github.com/repos/simonw/sqlite-utils/issues/433 IC_kwDOCGYnMM5eGzGC jonafato 392720 2023-06-06T14:09:04Z 2023-06-06T14:09:04Z NONE

I also ran into this recently. See below for a patch for one possible solution (tested via "it works on my machine", but I don't expect that this behavior would vary a whole lot across terminal emulators and shells). Another possible solution might be to subclass click's ProgressBar to keep the logic within the original context manager. Happy to send a PR or for this patch to serve as the basis for a fix that someone else authors.

```patch diff --git a/sqlite_utils/utils.py b/sqlite_utils/utils.py index 06c1a4c..530a3a3 100644 --- a/sqlite_utils/utils.py +++ b/sqlite_utils/utils.py @@ -147,14 +147,23 @@ def decode_base64_values(doc):

class UpdateWrapper: - def init(self, wrapped, update): + def init(self, wrapped, update, render_finish): self._wrapped = wrapped self._update = update + self._render_finish = render_finish

 def __iter__(self):
  • for line in self._wrapped:
  • self._update(len(line))
  • yield line
  • return self +
  • def next(self):
  • try:
  • line = next(self._wrapped)
  • except StopIteration as e:
  • self._render_finish()
  • raise +
  • self._update(len(line))
  • return line

    def read(self, size=-1): data = self._wrapped.read(size) @@ -178,7 +187,7 @@ def file_progress(file, silent=False, kwargs): else: file_length = os.path.getsize(file.name) with click.progressbar(length=file_length, kwargs) as bar: - yield UpdateWrapper(file, bar.update) + yield UpdateWrapper(file, bar.update, bar.render_finish)

class Format(enum.Enum):

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
CLI eats my cursor 1239034903  
1563629348 https://github.com/simonw/datasette/pull/2080#issuecomment-1563629348 https://api.github.com/repos/simonw/datasette/issues/2080 IC_kwDOBm6k_c5dMxck codecov[bot] 22429695 2023-05-25T23:31:10Z 2023-05-26T00:07:34Z NONE

Codecov Report

Patch coverage: 95.45% and project coverage change: +0.01 :tada:

Comparison is base (b49fa44) 92.40% compared to head (df5fd73) 92.41%.

:exclamation: Current head df5fd73 differs from pull request most recent head e990fbc. Consider uploading reports for the commit e990fbc to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2080 +/- ## ========================================== + Coverage 92.40% 92.41% +0.01% ========================================== Files 39 39 Lines 5768 5790 +22 ========================================== + Hits 5330 5351 +21 - Misses 438 439 +1 ``` | [Impacted Files](https://app.codecov.io/gh/simonw/datasette/pull/2080?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [datasette/views/base.py](https://app.codecov.io/gh/simonw/datasette/pull/2080?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL2Jhc2UucHk=) | `92.97% <95.45%> (+0.18%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
New View base class 1726603778  
1557607516 https://github.com/simonw/sqlite-utils/issues/554#issuecomment-1557607516 https://api.github.com/repos/simonw/sqlite-utils/issues/554 IC_kwDOCGYnMM5c1zRc xavdid 1231935 2023-05-22T17:18:33Z 2023-05-22T17:18:33Z NONE

Oh and for context - this goes away if I use .upsert instead of insert(..., ignore=True), but I don't want to update the value if it's written, just do an insert if it's new. The code is basically:

```py def save_items(table, items): db["users"].insert(build_user(items[0]), pk="id",ignore=True) db[table].insert_all(items)

if comments := fetch_comments(): save_items('comments', comments)

if posts := fetch_posts(): save_items('posts', posts) ```

So either comments or post could create the relevant user if those items exist. In cases where they both exist, I get this error. I need the pk because either call could create the table.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`IndexError` when doing `.insert(..., pk='id')` after `insert_all` 1720096994  
1556287870 https://github.com/simonw/sqlite-utils/pull/553#issuecomment-1556287870 https://api.github.com/repos/simonw/sqlite-utils/issues/553 IC_kwDOCGYnMM5cwxF- codecov[bot] 22429695 2023-05-21T20:45:58Z 2023-05-21T20:57:08Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (e240133) 96.36% compared to head (0b81794) 96.36%.

:exclamation: Current head 0b81794 differs from pull request most recent head 21036a5. Consider uploading reports for the commit 21036a5 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #553 +/- ## ======================================= Coverage 96.36% 96.36% ======================================= Files 6 6 Lines 2726 2726 ======================================= Hits 2627 2627 Misses 99 99 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Reformatted CLI examples in docs 1718635018  
1556241555 https://github.com/simonw/sqlite-utils/pull/549#issuecomment-1556241555 https://api.github.com/repos/simonw/sqlite-utils/issues/549 IC_kwDOCGYnMM5cwlyT codecov[bot] 22429695 2023-05-21T17:57:24Z 2023-05-21T18:28:44Z NONE

Codecov Report

Patch coverage: 83.33% and project coverage change: +0.06 :tada:

Comparison is base (b3b100d) 96.30% compared to head (948692a) 96.36%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #549 +/- ## ========================================== + Coverage 96.30% 96.36% +0.06% ========================================== Files 6 6 Lines 2707 2726 +19 ========================================== + Hits 2607 2627 +20 + Misses 100 99 -1 ``` | [Impacted Files](https://app.codecov.io/gh/simonw/sqlite-utils/pull/549?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/cli.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/549?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2NsaS5weQ==) | `95.22% <83.33%> (-0.03%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/simonw/sqlite-utils/pull/549/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
TUI powered by Trogon 1718586377  
1556213031 https://github.com/simonw/sqlite-utils/pull/546#issuecomment-1556213031 https://api.github.com/repos/simonw/sqlite-utils/issues/546 IC_kwDOCGYnMM5cwe0n codecov[bot] 22429695 2023-05-21T15:56:05Z 2023-05-21T16:18:03Z NONE

Codecov Report

Patch coverage: 93.75% and no project coverage change.

Comparison is base (b3b100d) 96.30% compared to head (9f23e68) 96.31%.

:exclamation: Current head 9f23e68 differs from pull request most recent head 2eca17d. Consider uploading reports for the commit 2eca17d to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #546 +/- ## ======================================= Coverage 96.30% 96.31% ======================================= Files 6 6 Lines 2707 2712 +5 ======================================= + Hits 2607 2612 +5 Misses 100 100 ``` | [Impacted Files](https://app.codecov.io/gh/simonw/sqlite-utils/pull/546?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage Δ | | |---|---|---| | [sqlite\_utils/db.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/546?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2RiLnB5) | `97.37% <90.90%> (+<0.01%)` | :arrow_up: | | [sqlite\_utils/cli.py](https://app.codecov.io/gh/simonw/sqlite-utils/pull/546?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-c3FsaXRlX3V0aWxzL2NsaS5weQ==) | `95.26% <100.00%> (+0.01%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Analyze tables options: --common-limit, --no-most, --no-least 1718550688  
1548913065 https://github.com/simonw/sqlite-utils/issues/399#issuecomment-1548913065 https://api.github.com/repos/simonw/sqlite-utils/issues/399 IC_kwDOCGYnMM5cUomp chrislkeller 433780 2023-05-16T03:11:03Z 2023-05-16T03:11:52Z NONE

Using this thread and some other resources I managed to cobble together a couple of sqlite-utils lines to add a geometry column for a table that already has a lat/lng column.

```

add a geometry column

sqlite-utils add-geometry-column [db name] [table name] geometry --type POINT --srid 4326

add a point for each row to geometry column

sqlite-utils --load-extension=spatialite [db name] 'update [table name] SET Geometry=MakePoint(longitude, latitude, 4326);' ```

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Make it easier to insert geometries, with documentation and maybe code 1124731464  
1547944971 https://github.com/simonw/datasette/pull/2075#issuecomment-1547944971 https://api.github.com/repos/simonw/datasette/issues/2075 IC_kwDOBm6k_c5cQ8QL codecov[bot] 22429695 2023-05-15T14:12:20Z 2023-05-15T14:12:20Z NONE

Codecov Report

Patch and project coverage have no change.

Comparison is base (49184c5) 92.40% compared to head (b99e1d3) 92.40%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2075 +/- ## ======================================= Coverage 92.40% 92.40% ======================================= Files 38 38 Lines 5751 5751 ======================================= Hits 5314 5314 Misses 437 437 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Bump sphinx from 6.1.3 to 7.0.1 1710164693  
1538975545 https://github.com/simonw/sqlite-utils/issues/538#issuecomment-1538975545 https://api.github.com/repos/simonw/sqlite-utils/issues/538 IC_kwDOCGYnMM5buuc5 xavdid 1231935 2023-05-08T20:06:35Z 2023-05-08T20:06:35Z NONE

perfect, thank you!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`table.upsert_all` fails to write rows when `not_null` is present 1695428235  
1537744000 https://github.com/simonw/sqlite-utils/issues/540#issuecomment-1537744000 https://api.github.com/repos/simonw/sqlite-utils/issues/540 IC_kwDOCGYnMM5bqByA pquentin 42327 2023-05-08T04:56:12Z 2023-05-08T04:56:12Z NONE

Hey @simonw, urllib3 maintainer here :wave:

Sorry for breaking your CI. I understand you may prefer to pin the Python version, but note that specifying just python: "3" will get you the latest. We use that in urllib3: https://github.com/urllib3/urllib3/blob/main/.readthedocs.yml

I can open PRs to sqlite-utils / datasette if you're interested

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
sphinx.builders.linkcheck build error 1699184583  
1537277919 https://github.com/simonw/datasette/issues/2069#issuecomment-1537277919 https://api.github.com/repos/simonw/datasette/issues/2069 IC_kwDOBm6k_c5boP_f yqlbu 31861128 2023-05-07T03:17:35Z 2023-05-07T03:17:35Z NONE

Some updates:

I notice that there is an option in the CLI where we can explicitly set immutable mode when spinning up the server

console Options: -i, --immutable PATH Database files to open in immutable mode

Then, the question is - how can I disable immutable mode in the deployed instance on Vercel?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
[BUG] Cannot insert new data to deployed instance 1698865182  

Next page

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 361.551ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows