Commit graph

11 commits

Author SHA1 Message Date
Simon Willison
fc3660cfad
Streaming mode for downloading all rows as a CSV (#315)
* table.csv?_stream=1 to download all rows - refs #266

This option causes Datasette to serve ALL rows in the table, by internally
following the _next= pagination links and serving everything out as a stream.

Also added new config option, allow_csv_stream, which can be used to disable
this feature.

* New config option max_csv_mb limiting size of CSV export
2018-06-17 20:21:02 -07:00
Simon Willison
6a32684ebb
Release tagged versions to PyPI and now alias
When a new tagged version is pushed, this should:

* bdist_wheel it and release to https://pypi.python.org/pypi/datasette
* Set an alias of v0-22-1.datasette.io for the deployed demo
2018-06-17 15:24:47 -07:00
Simon Willison
958b75c698
Set Now deployment name with datasette publish, refs #313 2018-06-17 14:46:30 -07:00
Simon Willison
438244c285
Try using a different name for each Now deploy
Refs #313
2018-06-17 14:39:45 -07:00
Simon Willison
f0c17229b7
Deploy latest.datasette.io on commit to master - #313
If the tests pass in Travis CI, deploy an instance containing Datasette's test
fixtures to https://latest.datasette.io/

Also set up an alias of truncated-commit-hash.datasette.io
2018-06-17 14:24:39 -07:00
Simon Willison
62c08d0d71
Revert "Travis should now deploy new tags to PyPI if tests pass"
This reverts commit d39b2e357e.

It failed with this error: https://travis-ci.org/simonw/datasette/jobs/375398977

	Uploading distributions to https://upload.pypi.org/legacy/
	Uploading datasette-0.21-py3-none-any.whl
	100% 182k/182k [00:00<00:00, 694kB/s]
	HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://upload.pypi.org/legacy/
2018-05-05 20:22:21 -03:00
Simon Willison
d39b2e357e
Travis should now deploy new tags to PyPI if tests pass 2018-05-05 20:15:05 -03:00
Simon Willison
932e0a3f91
Don't attempt to deploy new tags to PyPI
This isn't working through Travis at the moment, so I'm disabling it and switching back to manual deploys.
2018-04-14 08:21:37 -07:00
Simon Willison
17fee0cc14
Automatically deploy tags as PyPI releases
https://docs.travis-ci.com/user/deployment/pypi/
2017-11-24 19:32:47 -08:00
Simon Willison
fa8eb0bf1b
Run unit tests against both Python 3.5 and 3.6 2017-11-22 09:43:52 -08:00
Simon Willison
edaa10587e Configured Travis CI 2017-11-04 16:47:46 -07:00