home / github

Menu
  • GraphQL API

pull_requests

Table actions
  • GraphQL API for pull_requests

2 rows where user = 51016

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association repo url merged_by auto_merge
727436404 MDExOlB1bGxSZXF1ZXN0NzI3NDM2NDA0 1458 closed 0 Rework the `--static` documentation a bit ctb 51016 Per https://github.com/simonw/datasette/issues/1457, I was confused by the current docs and took a few minutes to sort out what the right combination of locations was. This is a PR that differentiates the docs to split out `/static/` in URL from `--static` option and `./static/` path. Not wedded to the details in any way, happy to change to suit. Fixes #1457. 2021-09-05T17:08:48Z 2021-10-15T13:24:29Z 2021-10-14T18:39:55Z 2021-10-14T18:39:55Z 0fdbf004843850f200e077a3c87427fe16c18b85     0 e00c3a274d073c09707f4b6edd2ed652efe03918 d57ab156b35ec642549fb69d08279850065027d2 CONTRIBUTOR datasette 107914493 https://github.com/simonw/datasette/pull/1458    
729704537 MDExOlB1bGxSZXF1ZXN0NzI5NzA0NTM3 1465 open 0 add support for -o --get /path ctb 51016 Fixes https://github.com/simonw/datasette/issues/1459 Adds support for `--open --get /path` to be used in combination. If `--open` is provided alone, datasette will open a web page to a default URL. If `--get <url>` is provided alone, datasette will output the result of doing a GET to that URL and then exit. If `--open --get <url>` are provided together, datasette will open a web page to that URL. TODO items: - [ ] update documentation - [ ] print out error message when `--root --open --get <url>` is used - [ ] adjust code to require that `<url>` start with a `/` when `-o --get <url>` is used - [ ] add test(s) note, '@CTB' is used in this PR to flag code that needs revisiting. 2021-09-08T14:30:42Z 2021-09-08T14:31:45Z     064e9511923fc4e50566bf9430b4a5b26f169357     1 9b66a7d9ba55bad8a3b409ede8855f4b4fff1f88 d57ab156b35ec642549fb69d08279850065027d2 CONTRIBUTOR datasette 107914493 https://github.com/simonw/datasette/pull/1465    

Advanced export

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

CSV options:

CREATE TABLE [pull_requests] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [state] TEXT,
   [locked] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [body] TEXT,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [merged_at] TEXT,
   [merge_commit_sha] TEXT,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [draft] INTEGER,
   [head] TEXT,
   [base] TEXT,
   [author_association] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [url] TEXT,
   [merged_by] INTEGER REFERENCES [users]([id])
, [auto_merge] TEXT);
CREATE INDEX [idx_pull_requests_merged_by]
    ON [pull_requests] ([merged_by]);
CREATE INDEX [idx_pull_requests_repo]
    ON [pull_requests] ([repo]);
CREATE INDEX [idx_pull_requests_milestone]
    ON [pull_requests] ([milestone]);
CREATE INDEX [idx_pull_requests_assignee]
    ON [pull_requests] ([assignee]);
CREATE INDEX [idx_pull_requests_user]
    ON [pull_requests] ([user]);
Powered by Datasette · Queries took 40.182ms · About: simonw/datasette-graphql