home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

12 rows where "created_at" is on date 2020-10-17 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: issue_url, updated_at (date)

issue 6

  • export.xml file name varies with different language settings 7
  • Feature request: enable extensions loading 1
  • Add documentation on serving Datasette behind a proxy using base_url 1
  • About loading spatialite 1
  • fix(docs): broken link 1
  • Switch to using datasette.client 1

user 3

  • simonw 9
  • aborruso 2
  • jarib 1

author_association 3

  • MEMBER 7
  • NONE 3
  • OWNER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
711089647 https://github.com/dogsheep/dogsheep-beta/issues/28#issuecomment-711089647 https://api.github.com/repos/dogsheep/dogsheep-beta/issues/28 MDEyOklzc3VlQ29tbWVudDcxMTA4OTY0Nw== simonw 9599 2020-10-17T22:43:13Z 2020-10-17T22:43:13Z MEMBER

Since my personal Dogsheep uses Datasette authentication, I'm going to need to pass through cookies. https://github.com/simonw/datasette/issues/1020 will solve that in the future but for now I need to solve it explicitly.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Switch to using datasette.client 723861683  
711083698 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711083698 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA4MzY5OA== jarib 572 2020-10-17T21:39:15Z 2020-10-17T21:39:15Z NONE

Nice! Works perfectly. Thanks for the quick response and great tooling in general.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711081703 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711081703 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA4MTcwMw== simonw 9599 2020-10-17T21:18:35Z 2020-10-17T21:18:35Z MEMBER

OK, if you upgrade to the just-released 1.0 this should work (it worked against my Spanish export).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711079760 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711079760 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA3OTc2MA== simonw 9599 2020-10-17T21:00:05Z 2020-10-17T21:00:05Z MEMBER

Checking for either <!DOCTYPE HealthData or <HealthData in the first 1000 bytes should do it.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711079056 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711079056 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA3OTA1Ng== simonw 9599 2020-10-17T20:53:00Z 2020-10-17T20:53:00Z MEMBER

I think the safest thing is to sniff the first few lines of the file. Those should be the same no matter the language that was used: ```xml

<!DOCTYPE HealthData [ ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711078917 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711078917 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA3ODkxNw== simonw 9599 2020-10-17T20:51:55Z 2020-10-17T20:52:03Z MEMBER

I switched my phone to Spanish and ran an export - I got a file called exportar.zip. Unzipped I still got a apple_ health_export folder but the root contained: electrocardiograms/ export_cda.xml exportar.xml workout-routes/ It looks like export_cda.xml does not have a translated name, so maybe I can ignore it and look for the other .xml file in that directory.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711074306 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711074306 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA3NDMwNg== simonw 9599 2020-10-17T20:16:22Z 2020-10-17T20:16:22Z MEMBER

The "first XML file in the root" solution is probably easier though!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711074031 https://github.com/dogsheep/healthkit-to-sqlite/issues/11#issuecomment-711074031 https://api.github.com/repos/dogsheep/healthkit-to-sqlite/issues/11 MDEyOklzc3VlQ29tbWVudDcxMTA3NDAzMQ== simonw 9599 2020-10-17T20:14:01Z 2020-10-17T20:14:01Z MEMBER

I'd be happy to teach the tool to look for export.xml or eksport.xml - and then expand that list to other languages.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
export.xml file name varies with different language settings 723838331  
711072903 https://github.com/simonw/datasette/pull/1029#issuecomment-711072903 https://api.github.com/repos/simonw/datasette/issues/1029 MDEyOklzc3VlQ29tbWVudDcxMTA3MjkwMw== simonw 9599 2020-10-17T20:04:31Z 2020-10-17T20:04:31Z OWNER

Thanks!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
fix(docs): broken link 723837704  
710778368 https://github.com/simonw/sqlite-utils/issues/188#issuecomment-710778368 https://api.github.com/repos/simonw/sqlite-utils/issues/188 MDEyOklzc3VlQ29tbWVudDcxMDc3ODM2OA== aborruso 30607 2020-10-17T08:52:58Z 2020-10-17T08:52:58Z NONE

I have done a stupid question.

If I run

sqlite-utils :memory: "select spatialite_version()" --load-extension=/usr/local/lib/mod_spatialite.so

I have [{"spatialite_version()": "5.0.0"}]

Thank you for this great tool

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
About loading spatialite 723708310  
710768396 https://github.com/simonw/sqlite-utils/issues/69#issuecomment-710768396 https://api.github.com/repos/simonw/sqlite-utils/issues/69 MDEyOklzc3VlQ29tbWVudDcxMDc2ODM5Ng== aborruso 30607 2020-10-17T07:46:59Z 2020-10-17T07:46:59Z NONE

Great @simonw thank you very much

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Feature request: enable extensions loading 534507142  
710750038 https://github.com/simonw/datasette/issues/1027#issuecomment-710750038 https://api.github.com/repos/simonw/datasette/issues/1027 MDEyOklzc3VlQ29tbWVudDcxMDc1MDAzOA== simonw 9599 2020-10-17T05:00:19Z 2020-10-17T05:00:19Z OWNER

Running apachectl -X appears to run Apache in the foreground so I can hit Ctrl+C to quit it again, using the config file at /usr/local/etc/httpd/httpd.conf and serving the index.html file from /usr/local/var/www (which confusingly says "Welcome to nginx", presumably because I installed nginx via Homebrew earlier).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Add documentation on serving Datasette behind a proxy using base_url 722758132  

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 1159.84ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows