home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

17 rows where "created_at" is on date 2021-03-29 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 9

  • Latest Datasette tags missing from Docker Hub 7
  • Fallback to databases in inspect-data.json when no -i options are passed 2
  • Fix little typo 2
  • Single failing unit test when run inside the Docker image 1
  • ensure immutable databses when starting in configuration directory mode with 1
  • Updated Dockerfile with SpatiaLite version 5.0 1
  • Add back styling to lists within table cells (fixes #1141) 1
  • Fix: code quality issues 1
  • Minor Docs Update. Added `--app` to fly install command. 1

user 2

  • simonw 16
  • codecov[bot] 1

author_association 2

  • OWNER 16
  • NONE 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
809670294 https://github.com/simonw/datasette/pull/1282#issuecomment-809670294 https://api.github.com/repos/simonw/datasette/issues/1282 MDEyOklzc3VlQ29tbWVudDgwOTY3MDI5NA== simonw 9599 2021-03-29T19:57:29Z 2021-03-29T19:57:29Z OWNER

Thanks!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix little typo 843739658  
809667320 https://github.com/simonw/datasette/pull/1282#issuecomment-809667320 https://api.github.com/repos/simonw/datasette/issues/1282 MDEyOklzc3VlQ29tbWVudDgwOTY2NzMyMA== codecov[bot] 22429695 2021-03-29T19:52:35Z 2021-03-29T19:52:35Z NONE

Codecov Report

Merging #1282 (08f7427) into main (0486303) will not change coverage. The diff coverage is n/a.

```diff @@ Coverage Diff @@

main #1282 +/-

======================================= Coverage 91.51% 91.51%
======================================= Files 34 34
Lines 4255 4255
======================================= Hits 3894 3894
Misses 361 361
```


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0486303...08f7427. Read the comment docs.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix little typo 843739658  
809548363 https://github.com/simonw/datasette/issues/696#issuecomment-809548363 https://api.github.com/repos/simonw/datasette/issues/696 MDEyOklzc3VlQ29tbWVudDgwOTU0ODM2Mw== simonw 9599 2021-03-29T17:04:19Z 2021-03-29T17:04:19Z OWNER

I tried this just now against Datasette 0.56 with the new Dockerfile from #1249 (that uses SQLite and SpatiaLite installed with apt-get install) and the tests all passed.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Single failing unit test when run inside the Docker image 576722115  
809010713 https://github.com/simonw/datasette/pull/1031#issuecomment-809010713 https://api.github.com/repos/simonw/datasette/issues/1031 MDEyOklzc3VlQ29tbWVudDgwOTAxMDcxMw== simonw 9599 2021-03-29T01:46:45Z 2021-03-29T01:46:45Z OWNER

Sorry I didn't get to this PR sooner. I've joint-credited you in the release notes for this fix: https://docs.datasette.io/en/stable/changelog.html#v0-56

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fallback to databases in inspect-data.json when no -i options are passed 724369025  
809009580 https://github.com/simonw/datasette/issues/1281#issuecomment-809009580 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwOTAwOTU4MA== simonw 9599 2021-03-29T01:41:48Z 2021-03-29T01:41:48Z OWNER

https://github.com/simonw/datasette/runs/2214871602?check_suite_focus=true worked:

Here's the 0.56 image on Docker Hub: https://hub.docker.com/layers/datasetteproject/datasette/0.56/images/sha256-701fc0f299a0ea79434a4852c46dab351254b9ac25dbe3c5f36fd5360caf52f9?context=explore

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
809008760 https://github.com/simonw/datasette/issues/1281#issuecomment-809008760 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwOTAwODc2MA== simonw 9599 2021-03-29T01:38:21Z 2021-03-29T01:38:21Z OWNER

Got this error: ``` "docker tag" requires exactly 2 arguments. See 'docker tag --help'.

Usage: docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]

Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
809007255 https://github.com/simonw/datasette/issues/1281#issuecomment-809007255 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwOTAwNzI1NQ== simonw 9599 2021-03-29T01:32:18Z 2021-03-29T01:32:18Z OWNER

I'm going to build a new GitHub Actions workflow for this that lets me manually specify a tag to build and push as a Docker image.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
809001653 https://github.com/simonw/datasette/issues/1281#issuecomment-809001653 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwOTAwMTY1Mw== simonw 9599 2021-03-29T01:08:31Z 2021-03-29T01:08:31Z OWNER

I'm going to attempt to fix this manually for the 0.56 release, by building and tagging it by hand and then pushing the 0.56 tag to Docker Hub.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
809001273 https://github.com/simonw/datasette/issues/1281#issuecomment-809001273 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwOTAwMTI3Mw== simonw 9599 2021-03-29T01:06:45Z 2021-03-29T01:06:45Z OWNER

https://docs.docker.com/engine/reference/commandline/push/#push-all-tags-of-an-image

Use the -a (or --all-tags) option to push all tags of a local image.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
809000903 https://github.com/simonw/datasette/issues/1281#issuecomment-809000903 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwOTAwMDkwMw== simonw 9599 2021-03-29T01:05:10Z 2021-03-29T01:05:10Z OWNER

https://github.com/simonw/datasette/runs/1763835467?check_suite_focus=true for Datasette 0.54 worked, and the output included this:

Successfully tagged ***/datasette:0.54 The push refers to repository [docker.io/***/datasette] aedd33c6b161: Preparing ... aedd33c6b161: Pushed 0.54: digest: sha256:65c7e579d1c29755dac5c1ca86b1e97fa88c48bd3d724ac3e02988d0da296140 size: 2005 aedd33c6b161: Preparing ... 5dacd731af1b: Layer already exists latest: digest: sha256:65c7e579d1c29755dac5c1ca86b1e97fa88c48bd3d724ac3e02988d0da296140 size: 2005 Here's that same section of output from the 0.56 release: Successfully tagged ***/datasette:0.56 Using default tag: latest The push refers to repository [docker.io/***/datasette] 4d4a9976adcc: Preparing ... 9b2132a0d5cf: Pushed latest: digest: sha256:2250d0fbe57b1d615a8d6df0c9d43deb9533532e00bac68854773d8ff8dcf00a size: 1793 The difference here is the "Using default tag: latest" bit.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
808999525 https://github.com/simonw/datasette/issues/1281#issuecomment-808999525 https://api.github.com/repos/simonw/datasette/issues/1281 MDEyOklzc3VlQ29tbWVudDgwODk5OTUyNQ== simonw 9599 2021-03-29T01:00:38Z 2021-03-29T01:00:38Z OWNER

Here's the diff between Dockerfile in 0.54.1 and 0.56: https://github.com/simonw/datasette/compare/0.54.1...0.56#diff-551d1fcf87f78cc3bc18a7b332a4dc5d8773a512062df881c5aba28a6f5c48d7

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Latest Datasette tags missing from Docker Hub 842881221  
808998719 https://github.com/simonw/datasette/issues/1249#issuecomment-808998719 https://api.github.com/repos/simonw/datasette/issues/1249 MDEyOklzc3VlQ29tbWVudDgwODk5ODcxOQ== simonw 9599 2021-03-29T00:57:13Z 2021-03-29T00:57:13Z OWNER

I just shipped Datasette 0.56 - here's the CI run: https://github.com/simonw/datasette/runs/2214701802?check_suite_focus=true

It pushed a new latest tag to https://hub.docker.com/r/datasetteproject/datasette/tags?page=1&ordering=last_updated

docker pull datasetteproject/datasette:latest

And then:

docker run datasetteproject/datasette:latest datasette \
  --load-extension=spatialite \
  --get /-/versions.json | jq .sqlite

Outputs: json { "version": "3.27.2", "fts_versions": [ "FTS5", "FTS4", "FTS3" ], "extensions": { "json1": null, "spatialite": "5.0.1" }, "compile_options": [ "COMPILER=gcc-8.3.0", "ENABLE_COLUMN_METADATA", "ENABLE_DBSTAT_VTAB", "ENABLE_FTS3", "ENABLE_FTS3_PARENTHESIS", "ENABLE_FTS3_TOKENIZER", "ENABLE_FTS4", "ENABLE_FTS5", "ENABLE_JSON1", "ENABLE_LOAD_EXTENSION", "ENABLE_PREUPDATE_HOOK", "ENABLE_RTREE", "ENABLE_SESSION", "ENABLE_STMTVTAB", "ENABLE_UNLOCK_NOTIFY", "ENABLE_UPDATE_DELETE_LIMIT", "HAVE_ISNAN", "LIKE_DOESNT_MATCH_BLOBS", "MAX_SCHEMA_RETRY=25", "MAX_VARIABLE_NUMBER=250000", "OMIT_LOOKASIDE", "SECURE_DELETE", "SOUNDEX", "TEMP_STORE=1", "THREADSAFE=1", "USE_URI" ] }

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Updated Dockerfile with SpatiaLite version 5.0 824064069  
808989067 https://github.com/simonw/datasette/pull/1031#issuecomment-808989067 https://api.github.com/repos/simonw/datasette/issues/1031 MDEyOklzc3VlQ29tbWVudDgwODk4OTA2Nw== simonw 9599 2021-03-29T00:23:41Z 2021-03-29T00:23:41Z OWNER

This bug should have been fixed in #1229 - let me know if that's not the case!

Thanks

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fallback to databases in inspect-data.json when no -i options are passed 724369025  
808988697 https://github.com/simonw/datasette/pull/1260#issuecomment-808988697 https://api.github.com/repos/simonw/datasette/issues/1260 MDEyOklzc3VlQ29tbWVudDgwODk4ODY5Nw== simonw 9599 2021-03-29T00:22:21Z 2021-03-29T00:22:21Z OWNER

This is interesting!

I've decided to apply a subset of these - the if and elif blocks are a deliberate style choice from me, because I find code clearer when it has if/else as opposed to relying on early termination. Likewise the iteration against .keys() on dictionaries.

I like the other fixes though, I'm about to land them in a separate commit that credits you.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Fix: code quality issues 831163537  
808987304 https://github.com/simonw/datasette/pull/1229#issuecomment-808987304 https://api.github.com/repos/simonw/datasette/issues/1229 MDEyOklzc3VlQ29tbWVudDgwODk4NzMwNA== simonw 9599 2021-03-29T00:17:13Z 2021-03-29T00:17:13Z OWNER

Thanks for figuring this out!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
ensure immutable databses when starting in configuration directory mode with 810507413  
808986495 https://github.com/simonw/datasette/pull/1252#issuecomment-808986495 https://api.github.com/repos/simonw/datasette/issues/1252 MDEyOklzc3VlQ29tbWVudDgwODk4NjQ5NQ== simonw 9599 2021-03-29T00:13:59Z 2021-03-29T00:13:59Z OWNER

Neat fix, thank you!

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 1,
    "eyes": 0
}
Add back styling to lists within table cells (fixes #1141) 825217564  
808986036 https://github.com/simonw/datasette/pull/1279#issuecomment-808986036 https://api.github.com/repos/simonw/datasette/issues/1279 MDEyOklzc3VlQ29tbWVudDgwODk4NjAzNg== simonw 9599 2021-03-29T00:11:50Z 2021-03-29T00:11:50Z OWNER

Thanks for the fix.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Minor Docs Update. Added `--app` to fly install command. 842556944  

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 1188.618ms · About: github-to-sqlite