home / github

Menu
  • GraphQL API

pull_requests

Table actions
  • GraphQL API for pull_requests

2 rows where user = 306240

✎ 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
577953727 MDExOlB1bGxSZXF1ZXN0NTc3OTUzNzI3 5 open 0 WIP: Add Gmail takeout mbox import UtahDave 306240 WIP This PR adds the ability to import emails from a Gmail mbox export from Google Takeout. This is my first PR to a datasette/dogsheep repo. I've tested this on my personal Google Takeout mbox with ~520,000 emails going back to 2004. This took around ~20 minutes to process. To provide some feedback on the progress of the import I added the "rich" python module. I'm happy to remove that if adding a dependency is discouraged. However, I think it makes a nice addition to give feedback on the progress of a long import. Do we want to log emails that have errors when trying to import them? Dealing with encodings with emails is a bit tricky. I'm very open to feedback on how to deal with those better. As well as any other feedback for improvements. 2021-02-22T21:30:40Z 2021-07-28T07:18:56Z     65182811d59451299e75f09b4366bb221bc32b20     0 a3de045eba0fae4b309da21aa3119102b0efc576 e54e544427f1cc3ea8189f0e95f54046301a8645 FIRST_TIME_CONTRIBUTOR google-takeout-to-sqlite 206649770 https://github.com/dogsheep/google-takeout-to-sqlite/pull/5    
579697833 MDExOlB1bGxSZXF1ZXN0NTc5Njk3ODMz 1243 closed 0 fix small typo UtahDave 306240   2021-02-25T00:22:34Z 2021-03-04T05:46:10Z 2021-03-04T05:46:10Z 2021-03-04T05:46:10Z 4f9a2f1f47dcf7e8561d68a8a07f5009a13cfdb3     0 32652d9847f9b32c5d923823001c75d76e2791d2 726f781c50e88f557437f6490b8479c3d6fabfc2 CONTRIBUTOR datasette 107914493 https://github.com/simonw/datasette/pull/1243    

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