home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 1661860507 and user = 9599 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw · 4 ✖

issue 1

  • GitHub Action to lint Python code with ruff · 4 ✖

author_association 1

  • OWNER 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1506179555 https://github.com/simonw/datasette/pull/2056#issuecomment-1506179555 https://api.github.com/repos/simonw/datasette/issues/2056 IC_kwDOBm6k_c5Zxnnj simonw 9599 2023-04-13T01:21:05Z 2023-04-13T01:22:08Z OWNER

OK, I'm sold - this is a really neat improvement.

One thing to change in the PR: right now it runs pip install --user ruff on every commit, which hits PyPI to install the package.

I prefer to avoid hitting PyPI every time, so I like to use the GitHub Actions cache. My usual pattern for that looks like this:

https://github.com/simonw/datasette/blob/5890a20c374fb0812d88c9b0ef26a838bfa06c76/.github/workflows/test-pyodide.yml#L16-L20

Then a separate command that runs pip install ... will benefit from that cache.

Are you OK to make that change?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
GitHub Action to lint Python code with ruff 1661860507  
1506177857 https://github.com/simonw/datasette/pull/2056#issuecomment-1506177857 https://api.github.com/repos/simonw/datasette/issues/2056 IC_kwDOBm6k_c5ZxnNB simonw 9599 2023-04-13T01:18:18Z 2023-04-13T01:18:18Z OWNER

Cool - and now https://github.com/simonw/datasette/pull/2056/files is showing me those inline annotations:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
GitHub Action to lint Python code with ruff 1661860507  
1506177115 https://github.com/simonw/datasette/pull/2056#issuecomment-1506177115 https://api.github.com/repos/simonw/datasette/issues/2056 IC_kwDOBm6k_c5ZxnBb simonw 9599 2023-04-13T01:17:16Z 2023-04-13T01:17:16Z OWNER

Here are the failures: https://github.com/simonw/datasette/actions/runs/4684460653/jobs/8300630794?pr=2056

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
GitHub Action to lint Python code with ruff 1661860507  
1506175208 https://github.com/simonw/datasette/pull/2056#issuecomment-1506175208 https://api.github.com/repos/simonw/datasette/issues/2056 IC_kwDOBm6k_c5Zxmjo simonw 9599 2023-04-13T01:14:13Z 2023-04-13T01:14:13Z OWNER

https://github.com/simonw/datasette/actions/runs/4664796647/jobs/8300596121?pr=2056 it's pretty fast - that finished in 9s.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
GitHub Action to lint Python code with ruff 1661860507  

Advanced export

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

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 557.438ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows