home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 464868844 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw 3

issue 1

  • datasette publish option for setting plugin configuration secrets · 3 ✖

author_association 1

  • OWNER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
508955449 https://github.com/simonw/datasette/issues/543#issuecomment-508955449 https://api.github.com/repos/simonw/datasette/issues/543 MDEyOklzc3VlQ29tbWVudDUwODk1NTQ0OQ== simonw 9599 2019-07-06T21:41:28Z 2019-07-06T21:41:50Z OWNER
$ datasette publish now fixtures.db \
    --branch=master \
    --alias datasette-auth-demo \
    --install=datasette-auth-github \
    --plugin-secret datasette-auth-github client_id 86e397f7fd7a54d26a3a \
    --plugin-secret datasette-auth-github client_secret ...

https://datasette-auth-demo.now.sh/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette publish option for setting plugin configuration secrets 464868844  
508942349 https://github.com/simonw/datasette/issues/543#issuecomment-508942349 https://api.github.com/repos/simonw/datasette/issues/543 MDEyOklzc3VlQ29tbWVudDUwODk0MjM0OQ== simonw 9599 2019-07-06T17:34:05Z 2019-07-06T17:34:05Z OWNER

As soon as I have this working I can use it to ship a live demo of https://github.com/simonw/datasette-auth-github

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette publish option for setting plugin configuration secrets 464868844  
508938015 https://github.com/simonw/datasette/issues/543#issuecomment-508938015 https://api.github.com/repos/simonw/datasette/issues/543 MDEyOklzc3VlQ29tbWVudDUwODkzODAxNQ== simonw 9599 2019-07-06T16:23:56Z 2019-07-06T16:24:16Z OWNER

Potential design: $ datasette publish --plugin-secret datasette-auth-github client_id xxx This would populate the following in metadata.json: json { "plugins": { "datasette-auth-github": { "client_id": {"$env": "DATASETTE_AUTH_GITHUB_CLIENT_ID"} } } } And would ensure that the environment variable DATASETTE_AUTH_GITHUB_CLIENT_ID is set to the correct value.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
datasette publish option for setting plugin configuration secrets 464868844  

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 22.438ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows