home / github

Menu
  • GraphQL API

pull_requests

Table actions
  • GraphQL API for pull_requests

3 rows where milestone = 8711695

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: base, 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
1144085408 PR_kwDOBm6k_c5EMVug 1931 closed 0 /db/table/-/upsert simonw 9599 Refs #1878 Still todo: - [x] Support `"return": true` properly for upserts (with tests) - [x] Require both `insert-row` and `update-row` permissions - [x] Tests are going to need to cover both rowid-only and compound primary key tables, including all of the error states - [x] Documentation <!-- readthedocs-preview datasette start --> ---- :books: Documentation preview :books:: https://datasette--1931.org.readthedocs.build/en/1931/ <!-- readthedocs-preview datasette end --> 2022-12-03T07:01:44Z 2022-12-08T01:12:17Z 2022-12-08T01:12:16Z 2022-12-08T01:12:16Z 272982e8a6f45700ff93c3917b4688a86de0e672   Datasette 1.0a2 8711695 0 7cd6fd9f76913196d4f99a194a30e406f33aa363 93ababe6f7150454d2cf278dae08569e505d2a5b OWNER datasette 107914493 https://github.com/simonw/datasette/pull/1931    
1154884166 PR_kwDOBm6k_c5E1iJG 1938 closed 0 "permissions" blocks in metadata.json/yaml simonw 9599 Refs #1636 - [x] Documentation - [ ] Implementation - [ ] Validate metadata to check there are no nonsensical permissions (like `debug-menu` set at the table level) - [ ] Tests <!-- readthedocs-preview datasette start --> ---- :books: Documentation preview :books:: https://datasette--1938.org.readthedocs.build/en/1938/ <!-- readthedocs-preview datasette end --> 2022-12-08T22:07:36Z 2022-12-13T05:23:19Z 2022-12-13T05:23:18Z   271ea3ae0c858de2d392b61a1a4a9f5837cbddf8   Datasette 1.0a2 8711695 0 6e35a6b4f7ea9ba3fb6f02f45452eeb41de69786 e539c1c024bc62d88df91d9107cbe37e7f0fe55f OWNER datasette 107914493 https://github.com/simonw/datasette/pull/1938    
1155365505 PR_kwDOBm6k_c5E3XqB 1940 closed 0 register_permissions() plugin hook simonw 9599 Refs #1939 From this comment: https://github.com/simonw/datasette/issues/1939#issuecomment-1343872168 - [x] Unit test for the registration plugin hook itself - [x] Use them in `check_permission_actions_are_documented` test in `conftest.py` - [x] Add description field to `Permissions` (and update tests and docs) - [x] Documentation for `datasette.permissions` dictionary - [x] If no `default=` provided in call to `permission_allowed()` then use default from `datasette.permissions` list - [x] Remove `default=` from a bunch of places - [x] Throw an error if two permissions are registered with the same name or abbreviation (but other attributes differ) - [x] Update authentication and permissions documentation to explain that permissions are now registered and have a registered default <!-- readthedocs-preview datasette start --> ---- :books: Documentation preview :books:: https://datasette--1940.org.readthedocs.build/en/1940/ <!-- readthedocs-preview datasette end --> 2022-12-09T05:09:28Z 2022-12-13T02:05:55Z 2022-12-13T02:05:54Z 2022-12-13T02:05:54Z 8bf06a76b51bc9ace7cf72cf0cca8f1da7704ea7   Datasette 1.0a2 8711695 0 94e5c75397a96b86a3349123808cd02cb20f7440 e539c1c024bc62d88df91d9107cbe37e7f0fe55f OWNER datasette 107914493 https://github.com/simonw/datasette/pull/1940    

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 43.728ms · About: simonw/datasette-graphql