issue_comments
34 rows where "created_at" is on date 2021-11-29 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: issue_url, reactions, created_at (date)
user 3
- simonw 30
- 20after4 2
- codecov[bot] 2
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
982123183 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982123183 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46igKv | codecov[bot] 22429695 | 2021-11-29T23:20:35Z | 2021-12-11T01:02:19Z | NONE | Codecov Report
```diff @@ Coverage Diff @@ main #347 +/-=======================================
Coverage 96.51% 96.52% | Impacted Files | Coverage Δ | |
|---|---|---|
| sqlite_utils/cli.py | Continue to review full report at Codecov.
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982137888 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982137888 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46ijwg | simonw 9599 | 2021-11-29T23:50:54Z | 2021-11-29T23:50:54Z | OWNER | If I'm going to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982137293 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982137293 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46ijnN | simonw 9599 | 2021-11-29T23:49:29Z | 2021-11-29T23:49:29Z | OWNER | A short term fix would be to skip those tests against |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982136747 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982136747 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46ijer | simonw 9599 | 2021-11-29T23:48:05Z | 2021-11-29T23:48:05Z | OWNER | Some interesting test failures in the version that runs with The WAL errors look like this:
The FTS errors are caused by tests that try to deliberately corrupt the FTS index by running
tests/test_fts.py:277: sqlite_utils/db.py:1947: in rebuild_fts self.db.execute( self = <Database \<pysqlite3.dbapi2.Connection object at 0x7fd95d299c30>> sql = "INSERT INTO searchable_fts VALUES('rebuild');" parameters = None
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982133970 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982133970 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46iizS | simonw 9599 | 2021-11-29T23:41:17Z | 2021-11-29T23:41:17Z | OWNER | Took a bit of experimenting to get both Order here matters - this did NOT work for both tools:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982126665 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982126665 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46ihBJ | simonw 9599 | 2021-11-29T23:26:01Z | 2021-11-29T23:33:48Z | OWNER | This configuration means that the numpy=0, Python=3.10, os=Ubuntu build will additionally use It's failing right now: https://github.com/simonw/sqlite-utils/runs/4360593156 - because I can use the workaround from this comment: https://github.com/coleifer/pysqlite3/issues/24#issuecomment-982081267 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982129727 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982129727 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46ihw_ | simonw 9599 | 2021-11-29T23:31:58Z | 2021-11-29T23:31:58Z | OWNER | It failed on other Python versions with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982129218 | https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982129218 | https://api.github.com/repos/simonw/sqlite-utils/issues/347 | IC_kwDOCGYnMM46ihpC | simonw 9599 | 2021-11-29T23:31:02Z | 2021-11-29T23:31:02Z | OWNER | Here's the test run that's installing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Test against pysqlite3 running SQLite 3.37 1066603133 | |
982111751 | https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982111751 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | IC_kwDOCGYnMM46idYH | simonw 9599 | 2021-11-29T23:11:17Z | 2021-11-29T23:12:49Z | OWNER | To keep things simple for the moment I'm only going to add one extra thing to the matrix, and it will be a run of the tests against SQLite 3.37.0 using pysqlite3 on Linux only. I can use this mechanism: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-including-new-combinations |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Way to test SQLite 3.37 (and potentially other versions) in CI 1066563554 | |
982094370 | https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982094370 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | IC_kwDOCGYnMM46iZIi | simonw 9599 | 2021-11-29T22:50:49Z | 2021-11-29T22:50:49Z | OWNER | I have a working recipe for compiling it for macOS here: https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982006544 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Way to test SQLite 3.37 (and potentially other versions) in CI 1066563554 | |
982094020 | https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982094020 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | IC_kwDOCGYnMM46iZDE | simonw 9599 | 2021-11-29T22:50:11Z | 2021-11-29T22:50:11Z | OWNER | For the moment I think I'll combine two problems into one, and just add a single matrix alternative that uses |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Way to test SQLite 3.37 (and potentially other versions) in CI 1066563554 | |
982091363 | https://github.com/simonw/sqlite-utils/issues/345#issuecomment-982091363 | https://api.github.com/repos/simonw/sqlite-utils/issues/345 | IC_kwDOCGYnMM46iYZj | simonw 9599 | 2021-11-29T22:45:26Z | 2021-11-29T22:45:26Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`table.strict` introspection boolean for identifying STRICT mode tables 1066501534 | ||
982090895 | https://github.com/simonw/sqlite-utils/issues/345#issuecomment-982090895 | https://api.github.com/repos/simonw/sqlite-utils/issues/345 | IC_kwDOCGYnMM46iYSP | simonw 9599 | 2021-11-29T22:44:36Z | 2021-11-29T22:44:36Z | OWNER | Documented here: https://sqlite-utils.datasette.io/en/latest/python-api.html#strict |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`table.strict` introspection boolean for identifying STRICT mode tables 1066501534 | |
982078527 | https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982078527 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | IC_kwDOCGYnMM46iVQ_ | simonw 9599 | 2021-11-29T22:23:03Z | 2021-11-29T22:23:03Z | OWNER | Here's a modified version of the ```python @cli.command() @click.argument( "path", type=click.Path(exists=True, file_okay=True, dir_okay=False, allow_dash=False), required=True, ) @load_extension_option def dump(path, load_extension): """Output a SQL dump of the schema and full contents of the database""" db = sqlite_utils.Database(path) _load_extensions(db, load_extension) # pysqlite3 doesn't implement .iterdump() from sqlite3.dump import _iterdump
``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Way to test SQLite 3.37 (and potentially other versions) in CI 1066563554 | |
982077873 | https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982077873 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | IC_kwDOCGYnMM46iVGx | simonw 9599 | 2021-11-29T22:22:05Z | 2021-11-29T22:22:05Z | OWNER | Ideally I'd like an extra set of matrix options for different versions of SQLite. I can use |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Way to test SQLite 3.37 (and potentially other versions) in CI 1066563554 | |
982076924 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982076924 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iU38 | simonw 9599 | 2021-11-29T22:20:44Z | 2021-11-29T22:20:44Z | OWNER | Need to figure out a good pattern for testing this in CI too - it will currently skip the new tests if it doesn't have SQLite 3.37 or higher. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982076702 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982076702 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iU0e | simonw 9599 | 2021-11-29T22:20:22Z | 2021-11-29T22:20:22Z | OWNER | I haven't documented I need to remember to document it once I add documentation for the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982049148 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982049148 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iOF8 | simonw 9599 | 2021-11-29T21:40:59Z | 2021-11-29T21:40:59Z | OWNER | I'm going to add that as |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982048918 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982048918 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iOCW | simonw 9599 | 2021-11-29T21:40:42Z | 2021-11-29T21:40:42Z | OWNER | Here's a function that detects if def supports_strict_tables(db = None): if db is None: db = sqlite3.connect(":memory:") try: table_name = 't{}'.format(secrets.token_hex(16)) with db: db.execute("create table {} (name text) strict".format(table_name)) db.execute("drop table {}".format(table_name)) return True except: return False ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982026918 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982026918 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iIqm | simonw 9599 | 2021-11-29T21:11:42Z | 2021-11-29T21:16:31Z | OWNER | Made myself a test strict table like so: ```pycon
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982020757 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982020757 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iHKV | simonw 9599 | 2021-11-29T21:03:34Z | 2021-11-29T21:03:34Z | OWNER | From the STRICT docs:
So I think I need to read the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982018304 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982018304 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iGkA | simonw 9599 | 2021-11-29T21:00:02Z | 2021-11-29T21:00:02Z | OWNER | Is there a need for an introspection function for telling if a SQLite table is in strict mode or not? How would that work? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982017994 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982017994 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iGfK | simonw 9599 | 2021-11-29T20:59:37Z | 2021-11-29T20:59:37Z | OWNER | I'm leaning towards silently ignore if SQLite version doesn't support it. That means that the first time you attempt to use |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982016594 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982016594 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iGJS | simonw 9599 | 2021-11-29T20:57:42Z | 2021-11-29T20:57:42Z | OWNER | What should happen if you attempt to use An obvious error would be best... but how about silently ignoring it on older versions instead? That would match how we handle |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982014776 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982014776 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iFs4 | simonw 9599 | 2021-11-29T20:55:19Z | 2021-11-29T20:55:19Z | OWNER | There are a few places that the
I'll definitely implement the first one, and likely the second one too. I'm on the fence with regards to the third one. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
982006544 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982006544 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iDsQ | simonw 9599 | 2021-11-29T20:44:37Z | 2021-11-29T20:48:43Z | OWNER | This worked:
```pycon
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
981999025 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-981999025 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iB2x | simonw 9599 | 2021-11-29T20:34:38Z | 2021-11-29T20:35:58Z | OWNER | I'm going to build my own |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
981997973 | https://github.com/simonw/sqlite-utils/issues/344#issuecomment-981997973 | https://api.github.com/repos/simonw/sqlite-utils/issues/344 | IC_kwDOCGYnMM46iBmV | simonw 9599 | 2021-11-29T20:33:52Z | 2021-11-29T20:33:52Z | OWNER | From that page:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support STRICT tables 1066474200 | |
981980048 | https://github.com/simonw/datasette/issues/1304#issuecomment-981980048 | https://api.github.com/repos/simonw/datasette/issues/1304 | IC_kwDOBm6k_c46h9OQ | 20after4 30934 | 2021-11-29T20:13:53Z | 2021-11-29T20:14:11Z | NONE | There isn't any way to do this with sqlite as far as I know. The only option is to insert the right number of ? placeholders into the sql template and then provide an array of values. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Document how to send multiple values for "Named parameters" 863884805 | |
981966693 | https://github.com/simonw/datasette/issues/1532#issuecomment-981966693 | https://api.github.com/repos/simonw/datasette/issues/1532 | IC_kwDOBm6k_c46h59l | 20after4 30934 | 2021-11-29T19:56:52Z | 2021-11-29T19:56:52Z | NONE | FWIW I've written some web components that consume the json api and I think it's a really nice way to work with datasette. I like the combination with datasette+sqlite as a back-end feeding data to a front-end that's entirely javascript + html. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Use datasette-table Web Component to guide the design of the JSON API for 1.0 1065429936 | |
981856895 | https://github.com/simonw/datasette/issues/1538#issuecomment-981856895 | https://api.github.com/repos/simonw/datasette/issues/1538 | IC_kwDOBm6k_c46hfJ_ | simonw 9599 | 2021-11-29T17:32:44Z | 2021-11-29T17:32:44Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Research pattern for re-registering existing Click tools with register_commands 1066288689 | ||
981852280 | https://github.com/simonw/datasette/issues/1538#issuecomment-981852280 | https://api.github.com/repos/simonw/datasette/issues/1538 | IC_kwDOBm6k_c46heB4 | simonw 9599 | 2021-11-29T17:27:12Z | 2021-11-29T17:27:12Z | OWNER | Thanks to https://stackoverflow.com/a/45514541/6083 I found the right pattern: ```python from datasette import hookimpl from git_history.cli import cli as git_history_cli @hookimpl def register_commands(cli): cli.add_command(git_history_cli, name="git-history") ``` I think this is a little bit too obscure to add to the Datasette documentation - I'll turn it into a TIL instead. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Research pattern for re-registering existing Click tools with register_commands 1066288689 | |
981849494 | https://github.com/simonw/datasette/issues/1538#issuecomment-981849494 | https://api.github.com/repos/simonw/datasette/issues/1538 | IC_kwDOBm6k_c46hdWW | simonw 9599 | 2021-11-29T17:23:52Z | 2021-11-29T17:23:52Z | OWNER | Just trying to use
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Research pattern for re-registering existing Click tools with register_commands 1066288689 | |
981631026 | https://github.com/simonw/datasette/pull/1537#issuecomment-981631026 | https://api.github.com/repos/simonw/datasette/issues/1537 | IC_kwDOBm6k_c46goAy | codecov[bot] 22429695 | 2021-11-29T13:23:20Z | 2021-11-29T13:23:20Z | NONE | Codecov Report
```diff @@ Coverage Diff @@ main #1537 +/-==========================================
- Coverage 91.90% 91.83% -0.07% | Impacted Files | Coverage Δ | |
|---|---|---|
| datasette/views/index.py | Continue to review full report at Codecov.
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Update aiofiles requirement from <0.8,>=0.4 to >=0.4,<0.9 1066023866 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
issue 8