{"sha": "295d005ca48747faf046ed30c3c61e7563c61ed2", "message": "Renamed variable, since docs are not written in Markdown", "author_date": "2018-07-28T04:56:51Z", "committer_date": "2018-07-28T04:56:51Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "8128497b7946ab68fff703e207fc7c5b26b6e9c9", "message": "Only run documented_views() fixture once per session\n\nSpeeds up tests, because previously it ran once per view class.", "author_date": "2018-07-28T04:49:20Z", "committer_date": "2018-07-28T04:49:20Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "788a542d3c739da5207db7d1fb91789603cdd336", "message": "Docs for IndexView, TableView, RowView, closes #299\n\nAlso removed xfail from test_view_classes_are_documented, so any future *View\nclasses that are added without documentation will cause the tests to fail.", "author_date": "2018-07-28T04:21:42Z", "committer_date": "2018-07-28T04:21:42Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "8da6b0d542c7ea276df8b5467d4be6cd08cf867f", "message": "Added labels so unit tests can detect docs, refs #299", "author_date": "2018-07-28T03:26:18Z", "committer_date": "2018-07-28T03:26:18Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "e8625695a3b7938f37b64dff09c14e47d9428fe5", "message": "xfail documentation unit tests for view classes, refs #299\n\nMore documentation unit tests. These ones check that every single **View class\nimported into the datasette/app.py module are covered by our documentation.\n\nJust one problem: they aren't documented yet. So I'm using the xfail pytest\ndecorator to mark these tests as allowed-to-fail. When you run the test suite\nyou now get a report of how many views still need to be documented, but it\ndoesn't fail the tests.\n\nThe output looks something like this:\n\n $ pytest tests/test_docs.py\n collected 31 items\n\n tests/test_docs.py ..........................XXXxx. [100%]\n\n ============ 26 passed, 2 xfailed, 3 xpassed in 1.06 seconds ============\n\nOnce I have documented all the views I will remove the xfail so any future\nviews that are added without documentation will cause a test failure.\n\nWe can detect that a view is documented by looking for ReST label in the docs,\nfor example:\n\n .. _IndexView:\n\nSome view classes can be used to power multiple URLs - the JsonDataView class\nfor example is used to power /-/metadata and /-/config and /-/plugins\n\nIn this case, the second part of the label can indicate the variety of page, e.g:\n\n .. _JsonDataView_metadata:\n\nThe test will pass as long as there is at least one label that starts with\n_JsonDataView.", "author_date": "2018-07-28T03:13:26Z", "committer_date": "2018-07-28T03:13:26Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "29c897bb5649c35463618a32d095f72755aae8c6", "message": "Started the docs with a meaty example", "author_date": "2018-07-28T23:52:07Z", "committer_date": "2018-07-28T23:52:07Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "e51f36d3ebb28378d0938aabb80a432720269bce", "message": "Added table.foreign_keys property, fixed bug in foreign key creation", "author_date": "2018-07-28T22:41:18Z", "committer_date": "2018-07-28T22:41:18Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "95bce37ad3447d3c265316fa029fc09b7bbdae11", "message": "Store list/dict/tuple values as JSON strings", "author_date": "2018-07-28T22:20:29Z", "committer_date": "2018-07-28T22:20:29Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "acea54877ca65f08cef4f7260bd7f7fcabe31b90", "message": "Create table now works for pure m2m where both rows are foreign keys", "author_date": "2018-07-28T22:06:59Z", "committer_date": "2018-07-28T22:06:59Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "56e29158fe5174a5b06d0a58090da7fb4624ed60", "message": "Don't run black test on Python 3.7\n\nIt breaks on that version - see https://github.com/ambv/black/issues/425\n\nBut that's OK, we only need it to run onder one version anyway.", "author_date": "2018-07-28T18:18:40Z", "committer_date": "2018-07-28T18:18:40Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "501618d0d519f808e54210f3c54420e5559a9343", "message": "Ensure black is correctly installed for tests", "author_date": "2018-07-28T14:36:43Z", "committer_date": "2018-07-28T14:36:43Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "3c50a3600d0975b84d98c93bb2336a790afc6aca", "message": "Unit test for black-approved coding style", "author_date": "2018-07-28T14:29:20Z", "committer_date": "2018-07-28T14:29:20Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "03e3f7d6486123bf3eb852ad007d9761475f138c", "message": "Configured Travis CI", "author_date": "2018-07-28T13:48:53Z", "committer_date": "2018-07-28T13:48:53Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "bd71be32abead38ec0b69695347219024efea0fe", "message": "Initial project layout + database table creation tools", "author_date": "2018-07-28T13:43:18Z", "committer_date": "2018-07-28T13:46:17Z", "raw_author": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "raw_committer": {"value": "2946d096d0cdefdc017559e6b57e87658736e843", "label": "Simon Willison"}, "repo": {"value": 140912432, "label": "sqlite-utils"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}}