home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where "created_at" is on date 2021-10-19 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 4

  • simonw 1
  • mroswell 1
  • kokes 1
  • MichaelTiemannOSC 1

issue 4

  • Support column descriptions in metadata.json 1
  • "invalid reference format" publishing Docker image 1
  • Rename Datasette.__init__(config=) parameter to settings= 1
  • `--get '/:memory:.json?sql=select+3*5'` error with datasette 0.59 1

author_association 3

  • CONTRIBUTOR 2
  • NONE 1
  • OWNER 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
946493045 https://github.com/simonw/datasette/issues/942#issuecomment-946493045 https://api.github.com/repos/simonw/datasette/issues/942 IC_kwDOBm6k_c44alZ1 kokes 8451755 2021-10-19T08:42:39Z 2021-10-19T08:42:39Z NONE

@simonw I know this is closed, just found this via the annotated release notes, but I wanted to note this one thing:

Not sure how widely used this is, but I've seen CSVW a couple times in the wild. It is trying to address these metadata challenges in a standardised way.

See e.g. - https://www.w3.org/TR/tabular-data-primer/#h-documentation-columns - https://w3c.github.io/csvw/tests/

I'm not suggesting you change the syntax you've implemented, just letting you know of this effort by W3C.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Support column descriptions in metadata.json 681334912  
946467547 https://github.com/simonw/datasette/issues/1396#issuecomment-946467547 https://api.github.com/repos/simonw/datasette/issues/1396 IC_kwDOBm6k_c44afLb MichaelTiemannOSC 72577720 2021-10-19T08:10:26Z 2021-10-19T08:10:26Z CONTRIBUTOR

Now that 0.59 has excellent annotated release notes, you can re-confirm this is fixed by updating the published Docker image and checking that these fixes still work ;-)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
"invalid reference format" publishing Docker image 944903881  
946360891 https://github.com/simonw/datasette/issues/1493#issuecomment-946360891 https://api.github.com/repos/simonw/datasette/issues/1493 IC_kwDOBm6k_c44aFI7 simonw 9599 2021-10-19T04:37:27Z 2021-10-19T04:37:27Z OWNER

I renamed /:memory: to /_memory in version 0.55 - https://docs.datasette.io/en/stable/changelog.html#v0-55

But... in 0.59 I stopped following HTTP redirects by default, which is why this used to work and no longer does!

So the fix is to update the Homebrew regression test to use this instead:

datasette --get '/_memory.json?sql=select+3*5'

Thanks for catching this!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`--get '/:memory:.json?sql=select+3*5'` error with datasette 0.59 1028115674  
946287922 https://github.com/simonw/datasette/issues/1432#issuecomment-946287922 https://api.github.com/repos/simonw/datasette/issues/1432 IC_kwDOBm6k_c44ZzUy mroswell 192568 2021-10-19T01:16:41Z 2021-10-19T01:16:41Z CONTRIBUTOR

Resolved, with assistance from @ashishdotme (Thank you!)

Updated requirements.txt to include: datasette==0.59 datasette-publish-vercel==0.11 sqlite-utils==3.6

Ran: $ pip3 install -r requirements.txt The site is back at work! Yay!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Rename Datasette.__init__(config=) parameter to settings= 969855774  

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