home / github

Menu
  • GraphQL API

commits

Table actions
  • GraphQL API for commits

3 rows where "author_date" is on date 2019-03-17 sorted by author_date

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: raw_author, raw_committer, committer, committer_date (date)

author_date (date) 1 ✖

  • 2019-03-17 · 3 ✖
sha message author_date ▼ committer_date raw_author raw_committer repo author committer
6f6d0ff2b41f1cacaf42287b1b230b646bcba9ee URL hashing is now off by default - closes #418 Prior to this commit Datasette would calculate the content hash of every database and redirect to a URL containing that hash, like so: https://v0-27.datasette.io/fixtures => https://v0-27.datasette.io/fixtures-dd88475 This assumed that all databases were opened in immutable mode and were not expected to change. This will be changing as a result of #419 - so this commit takes the first step in implementing that change by changing this default behaviour. Datasette will now only redirect hash-free URLs under two circumstances: * The new `hash_urls` config option is set to true (it defaults to false). * The user passes `?_hash=1` in the URL 2019-03-17T22:55:04Z 2019-03-17T22:55:04Z Simon Willison 2946d096d0cdefdc017559e6b57e87658736e843 GitHub cd792325681cbad9f663f2879d8b69f1edbb678f datasette 107914493 simonw 9599 web-flow 19864447
47032636b55718dd711670f19b753f4ada9e8f2f 'datasette serve -i immutable.db' option, refs #419 2019-03-17T23:25:15Z 2019-03-17T23:25:15Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599
82fec6048148b58748040a7e2caa163387e982a3 Fix for TypeError File "../datasette/app.py", line 138, in __init__ self.files = files + immutables TypeError: can only concatenate tuple (not "list") to tuple 2019-03-17T23:36:35Z 2019-03-17T23:36:35Z Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 Simon Willison 13ae486343ea6454a93114c6f558ffea2f2c6874 datasette 107914493 simonw 9599 simonw 9599

Advanced export

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

CSV options:

CREATE TABLE [commits] (
   [sha] TEXT PRIMARY KEY,
   [message] TEXT,
   [author_date] TEXT,
   [committer_date] TEXT,
   [raw_author] TEXT REFERENCES [raw_authors]([id]),
   [raw_committer] TEXT REFERENCES [raw_authors]([id]),
   [repo] INTEGER REFERENCES [repos]([id]),
   [author] INTEGER REFERENCES [users]([id]),
   [committer] INTEGER REFERENCES [users]([id])
);
CREATE INDEX [idx_commits_committer]
                ON [commits] ([committer]);
CREATE INDEX [idx_commits_author]
                ON [commits] ([author]);
CREATE INDEX [idx_commits_repo]
                ON [commits] ([repo]);
CREATE INDEX [idx_commits_raw_committer]
                ON [commits] ([raw_committer]);
CREATE INDEX [idx_commits_raw_author]
                ON [commits] ([raw_author]);
Powered by Datasette · Queries took 93.033ms · About: simonw/datasette-graphql