html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,issue,performed_via_github_app
https://github.com/simonw/datasette/issues/26#issuecomment-343645327,https://api.github.com/repos/simonw/datasette/issues/26,343645327,MDEyOklzc3VlQ29tbWVudDM0MzY0NTMyNw==,9599,2017-11-11T06:51:16Z,2017-11-11T06:51:16Z,OWNER,"I can create the temporary directory like so:
import tempfile
t = tempfile.TemporaryDirectory()
t
t.name
'/var/folders/w9/0xm39tk94ng9h52g06z4b54c0000gp/T/tmpkym70wlp'
And then to delete it all:
t.cleanup()
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",267861210,
https://github.com/simonw/datasette/issues/26#issuecomment-343645249,https://api.github.com/repos/simonw/datasette/issues/26,343645249,MDEyOklzc3VlQ29tbWVudDM0MzY0NTI0OQ==,9599,2017-11-11T06:48:59Z,2017-11-11T06:48:59Z,OWNER,"Doing this works:
import os
os.link('/tmp/databases/northwind.db', '/tmp/tmp-blah/northwind.db')
That creates a link in tmp-blah - and then when I delete that entire directory like so:
import shutil
shutil.rmtree('/tmp/tmp-blah')
The original database is not deleted, just the link.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",267861210,
https://github.com/simonw/datasette/issues/26#issuecomment-343644976,https://api.github.com/repos/simonw/datasette/issues/26,343644976,MDEyOklzc3VlQ29tbWVudDM0MzY0NDk3Ng==,9599,2017-11-11T06:42:23Z,2017-11-11T06:42:23Z,OWNER,"Simplest version of this:
1. Create a temporary directory
2. Write a Dockerfile into it that pulls an image and pip installs datasette
3. Add symlinks to the DBs they listed (so we don't have to copy them)
4. Shell out to ""now""
5. Done!
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",267861210,