home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 310533258 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • simonw 4
  • coleifer 2

author_association 2

  • OWNER 4
  • NONE 2

issue 1

  • Figure out how to bundle a more up-to-date SQLite · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
403908704 https://github.com/simonw/datasette/issues/191#issuecomment-403908704 https://api.github.com/repos/simonw/datasette/issues/191 MDEyOklzc3VlQ29tbWVudDQwMzkwODcwNA== simonw 9599 2018-07-10T17:46:13Z 2018-07-10T17:46:13Z OWNER

I consider this resolved by #46

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Figure out how to bundle a more up-to-date SQLite 310533258  
392831543 https://github.com/simonw/datasette/issues/191#issuecomment-392831543 https://api.github.com/repos/simonw/datasette/issues/191 MDEyOklzc3VlQ29tbWVudDM5MjgzMTU0Mw== simonw 9599 2018-05-29T15:58:33Z 2018-05-29T15:58:33Z OWNER

I ran an informal survey on twitter and most people were on 3.21 - https://twitter.com/simonw/status/1001487546289815553

Maybe this is from upgrading to the latest OS X release.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Figure out how to bundle a more up-to-date SQLite 310533258  
392828475 https://github.com/simonw/datasette/issues/191#issuecomment-392828475 https://api.github.com/repos/simonw/datasette/issues/191 MDEyOklzc3VlQ29tbWVudDM5MjgyODQ3NQ== coleifer 119974 2018-05-29T15:50:18Z 2018-05-29T15:50:18Z NONE

Python standard-library SQLite dynamically links against the system sqlite3. So presumably you installed a more up-to-date sqlite3 somewhere on your LD_LIBRARY_PATH.

To compile a statically-linked pysqlite you need to include an amalgamation in the project root when building the extension. Read the relevant setup.py.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Figure out how to bundle a more up-to-date SQLite 310533258  
392822050 https://github.com/simonw/datasette/issues/191#issuecomment-392822050 https://api.github.com/repos/simonw/datasette/issues/191 MDEyOklzc3VlQ29tbWVudDM5MjgyMjA1MA== simonw 9599 2018-05-29T15:33:25Z 2018-05-29T15:33:25Z OWNER

I don't know how it happened, but I've somehow got myself into a state where my local SQLite for Python 3 on OS X is 3.23.1:

``` ~ $ python3 Python 3.6.5 (default, Mar 30 2018, 06:41:53) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import sqlite3 sqlite3.connect(':memory:').execute('select sqlite_version()').fetchall() [('3.23.1',)]

``` Maybe I did something in homebrew that changed this? I'd love to understand what exactly I did to get to this state.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Figure out how to bundle a more up-to-date SQLite 310533258  
381602005 https://github.com/simonw/datasette/issues/191#issuecomment-381602005 https://api.github.com/repos/simonw/datasette/issues/191 MDEyOklzc3VlQ29tbWVudDM4MTYwMjAwNQ== coleifer 119974 2018-04-16T13:37:32Z 2018-04-16T13:37:32Z NONE

I don't think it should be too difficult... you can look at what @ghaering did with pysqlite (and similarly what I copied for pysqlite3). You would theoretically take an amalgamation build of Sqlite (all code in a single .c and .h file). The AmalgamationLibSqliteBuilder class detects the presence of this amalgamated source file and builds a statically-linked pysqlite.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Figure out how to bundle a more up-to-date SQLite 310533258  
381488049 https://github.com/simonw/datasette/issues/191#issuecomment-381488049 https://api.github.com/repos/simonw/datasette/issues/191 MDEyOklzc3VlQ29tbWVudDM4MTQ4ODA0OQ== simonw 9599 2018-04-16T05:58:15Z 2018-04-16T05:58:15Z OWNER

I think this is pretty hard. @coleifer has done some work in this direction, including https://github.com/coleifer/pysqlite3 which ports the standalone pysqlite module to Python 3.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Figure out how to bundle a more up-to-date SQLite 310533258  

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