home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

10 rows where "updated_at" is on date 2019-05-19 and user = 9599 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: comments, updated_at (date), closed_at (date)

type 1

  • issue 10

state 1

  • closed 10

repo 1

  • datasette 10
id node_id number title user state locked assignee milestone comments created_at updated_at ▲ closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
444749373 MDU6SXNzdWU0NDQ3NDkzNzM= 469 publish commands should use new -i option simonw 9599 closed 0     1 2019-05-16T04:31:40Z 2019-05-19T22:53:41Z 2019-05-19T22:53:41Z OWNER  

I can make this change only after releasing 0.28 - if I make the change earlier than that publish heroku etc will break because they will install the latest release of Datasette which will not understand the -i option.

This is a one-line fix: replace this:

https://github.com/simonw/datasette/blob/2ad9d15cd6901654e6801e2faa29e6fc08bae5fa/datasette/utils.py#L489

With this: (need to do it for other publishers too though)

quoted_files = " ".join( ["-i {}".format(shlex.quote(file_name)) for file_name in file_names] )

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/469/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
440313209 MDU6SXNzdWU0NDAzMTMyMDk= 451 Update README simonw 9599 closed 0   0.28 4305096 1 2019-05-04T11:26:07Z 2019-05-19T22:23:43Z 2019-05-19T22:23:43Z OWNER  

The README is quite out of date now. It includes out-dated copies of help files, promotes the old Zeit Now integration and duplicates a lot of material from the docs.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/451/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
443034003 MDU6SXNzdWU0NDMwMzQwMDM= 463 Write release notes for 0.28 simonw 9599 closed 0   0.28 4305096 1 2019-05-11T20:36:56Z 2019-05-19T21:24:44Z 2019-05-19T21:24:20Z OWNER  

So much new stuff!

https://github.com/simonw/datasette/compare/0.27...master

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/463/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
445855789 MDU6SXNzdWU0NDU4NTU3ODk= 474 Do not allow downloads of mutable databases simonw 9599 closed 0   0.28 4305096 1 2019-05-19T19:35:32Z 2019-05-19T20:41:17Z 2019-05-19T20:41:16Z OWNER  

If the file changes during download it will probably result in a corrupt download. Safer not to allow downloads at all of mutable databases.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/474/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
445855910 MDU6SXNzdWU0NDU4NTU5MTA= 475 Documentation for about and about_url metadata simonw 9599 closed 0   0.28 4305096 0 2019-05-19T19:36:59Z 2019-05-19T20:13:36Z 2019-05-19T20:13:36Z OWNER  

Added in https://github.com/simonw/datasette/commit/bf6b0f918de4aeee7c1036ac975ce2fb23237da7 without docs.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/475/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
445858491 MDU6SXNzdWU0NDU4NTg0OTE= 476 Remove "datasette skeleton" simonw 9599 closed 0   0.28 4305096 0 2019-05-19T20:04:11Z 2019-05-19T20:06:06Z 2019-05-19T20:06:06Z OWNER  

It doesn't work any more, and it's not a particularly useful feature - I've hardly used it since I added it.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/476/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
421971339 MDU6SXNzdWU0MjE5NzEzMzk= 420 Fix all the places that currently use .inspect() data simonw 9599 closed 0   0.28 4305096 13 2019-03-17T20:54:37Z 2019-05-19T19:58:31Z 2019-05-02T01:13:46Z OWNER  

See #419: if Datasette is going to work against mutable SQLite files it can no longer assume that the .inspect() method will have cached the correct schema for all tables in all attached databases.

So everywhere in the code at the moment that relies on .inspect() data needs to be modified to use live introspection of the schema instead.

From a comment later on: here are the uses I need to fix as a checklist:

  • [x] table_exists()
  • [x] info["file"] in .execute()
  • [x] resolve_db_name()
  • [x] .database_url(database)
  • [x] DatabaseDownload file path
  • [x] sortable_columns_for_table() uses it to find the columns in a table
  • [x] expandable_columns() uses it to find foreign keys
  • [x] expand_foreign_keys() uses it to find foreign keys
  • [x] display_columns_and_rows() uses it to find primary keys and foreign keys... but also has access to a cursor.description which it uses to list the columns
  • [x] TableView.data uses it to lookup columns and primary keys and the table_rows_count (used if the thing isn't a view) and probably a few more things, this method is huge!
  • [x] RowView.data uses it for primary keys
  • [x] foreign_key_tables() uses it for foreign keys
  • [x] DatabaseView list of tables
  • [x] IndexView
datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/420/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
444997937 MDU6SXNzdWU0NDQ5OTc5Mzc= 470 /-/databases showing currently attached database details simonw 9599 closed 0   0.28 4305096 1 2019-05-16T14:45:18Z 2019-05-19T19:28:44Z 2019-05-16T14:50:26Z OWNER  

Split from #419. Mainly useful to see what is connected as mutable v.s. immutable.

Also helps fill the gap left by /-/inspect until #465

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/470/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
445230077 MDU6SXNzdWU0NDUyMzAwNzc= 472 Rename "publish now" to "publish nowv1" simonw 9599 closed 0   0.28 4305096 1 2019-05-17T01:58:52Z 2019-05-19T18:07:39Z 2019-05-19T18:07:39Z OWNER  

This will help clarify that you need a nowv1 account use it.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/472/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed
421985685 MDU6SXNzdWU0MjE5ODU2ODU= 421 Documentation for ?_hash=1 and Datasette's hashed URL caching simonw 9599 closed 0   0.28 4305096 2 2019-03-17T23:08:36Z 2019-05-19T05:32:37Z 2019-05-19T05:31:27Z OWNER  

Follow on from #418 - the Datasette documentation needs an entire section (probably a new page) describing exactly how the hash-in-URL caching mechanism works.

datasette 107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/421/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [pull_request] TEXT,
   [body] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
, [active_lock_reason] TEXT, [performed_via_github_app] TEXT, [reactions] TEXT, [draft] INTEGER, [state_reason] TEXT);
CREATE INDEX [idx_issues_repo]
                ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
                ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
                ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
                ON [issues] ([user]);
Powered by Datasette · Queries took 1281.011ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows