home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where author_association = "OWNER" and issue = 325373747 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 6

issue 1

  • Build Dockerfile with recent Sqlite + Spatialite · 6 ✖

author_association 1

  • OWNER · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
401003061 https://github.com/simonw/datasette/pull/280#issuecomment-401003061 https://api.github.com/repos/simonw/datasette/issues/280 MDEyOklzc3VlQ29tbWVudDQwMTAwMzA2MQ== simonw 9599 2018-06-28T11:26:23Z 2018-06-28T11:26:23Z OWNER

I pushed this to Docker Hub https://hub.docker.com/r/datasetteproject/datasette/ and added notes on how to use it to the documentation: http://datasette.readthedocs.io/en/latest/installation.html#using-docker

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Build Dockerfile with recent Sqlite + Spatialite 325373747  
391437199 https://github.com/simonw/datasette/pull/280#issuecomment-391437199 https://api.github.com/repos/simonw/datasette/issues/280 MDEyOklzc3VlQ29tbWVudDM5MTQzNzE5OQ== simonw 9599 2018-05-23T17:44:20Z 2018-05-23T17:44:20Z OWNER

Thank you very much! This is most excellent.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Build Dockerfile with recent Sqlite + Spatialite 325373747  
391354237 https://github.com/simonw/datasette/pull/280#issuecomment-391354237 https://api.github.com/repos/simonw/datasette/issues/280 MDEyOklzc3VlQ29tbWVudDM5MTM1NDIzNw== simonw 9599 2018-05-23T13:51:22Z 2018-05-23T13:51:22Z OWNER

@r4vi any objections to me merging this?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Build Dockerfile with recent Sqlite + Spatialite 325373747  
391190497 https://github.com/simonw/datasette/pull/280#issuecomment-391190497 https://api.github.com/repos/simonw/datasette/issues/280 MDEyOklzc3VlQ29tbWVudDM5MTE5MDQ5Nw== simonw 9599 2018-05-23T01:22:53Z 2018-05-23T01:22:53Z OWNER

I grabbed just your Dockerfile and built it like this:

docker build . -t datasette

Once it had built, I ran it like this:

docker run -p 8001:8001 -v `pwd`:/mnt datasette \
    datasette -p 8001 -h 0.0.0.0 /mnt/fixtures.db \
        --load-extension=/usr/local/lib/mod_spatialite.so

(The fixtures.db file is created by running python tests/fixtures.py fixtures.db)

Then I visited http://localhost:8001/-/versions and I got this:

{
    "datasette": {
        "version": "0+unknown"
    },
    "python": {
        "full": "3.6.3 (default, Dec 12 2017, 06:37:05) \n[GCC 6.3.0 20170516]",
        "version": "3.6.3"
    },
    "sqlite": {
        "extensions": {
            "json1": null,
            "spatialite": "4.4.0-RC0"
        },
        "fts_versions": [
            "FTS4",
            "FTS3"
        ],
        "version": "3.23.1"
    }
}

Fantastic! I'm getting SQLite 3.23.1 and SpatiaLite 4.4.0-RC0

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Build Dockerfile with recent Sqlite + Spatialite 325373747  
391076458 https://github.com/simonw/datasette/pull/280#issuecomment-391076458 https://api.github.com/repos/simonw/datasette/issues/280 MDEyOklzc3VlQ29tbWVudDM5MTA3NjQ1OA== simonw 9599 2018-05-22T17:34:13Z 2018-05-22T17:34:13Z OWNER

Yeah let's try this without pysqlite3 and see if we still get the correct version.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Build Dockerfile with recent Sqlite + Spatialite 325373747  
391076239 https://github.com/simonw/datasette/pull/280#issuecomment-391076239 https://api.github.com/repos/simonw/datasette/issues/280 MDEyOklzc3VlQ29tbWVudDM5MTA3NjIzOQ== simonw 9599 2018-05-22T17:33:33Z 2018-05-22T17:33:33Z OWNER

This looks amazing! Can't wait to try this out this evening.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Build Dockerfile with recent Sqlite + Spatialite 325373747  

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