Simon Willison
bca2d95d02
Configure readthedocs/readthedocs-preview
2022-08-02 16:38:02 -07:00
Naveen
2e9751672d
chore: Set permissions for GitHub actions ( #1740 )
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 12:28:40 -07:00
Simon Willison
d60f163528
Run on push and PR, closes #1737
2022-05-02 16:40:49 -07:00
Simon Willison
c0cbcf2aba
Tweaks to test scripts, refs #1737
2022-05-02 16:36:58 -07:00
Simon Willison
847d6b1aac
Test wheel against Pyodide, refs #1737 , #1733
2022-05-02 16:32:24 -07:00
Simon Willison
289e4cf80a
Finished applying blacken-docs, closes #1718
2022-04-24 09:17:59 -07:00
Simon Willison
36573638b0
Apply Black to code examples in documentation, refs #1718
...
Uses blacken-docs. This has a deliberate error which I hope will fail CI.
2022-04-24 08:50:43 -07:00
Simon Willison
40ef8ebac2
Run tests on pull requests
2022-04-24 07:10:13 -07:00
Simon Willison
c4c9dbd038
google-github-actions/setup-gcloud@v0
2022-03-22 09:49:26 -07:00
Simon Willison
12f3ca7995
google-github-actions/setup-gcloud@v0
2022-03-21 18:42:03 -07:00
Simon Willison
e10da9af35
alternative-route demo, refs #1668
2022-03-19 17:21:56 -07:00
Simon Willison
a9d8824617
Test against Python 3.11-dev
...
Closes #1621
2022-02-02 13:58:52 -08:00
Simon Willison
d194db4204
Output pip freeze to show installed packages, refs #1609
2022-01-20 18:02:04 -08:00
Simon Willison
fae3983c51
Drop support for Python 3.6, closes #1577
...
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison
4b23f01f3e
CLI reference docs, maintained by cog - refs #1594
2022-01-13 13:35:54 -08:00
Simon Willison
3a2ed6300d
Run tests on 3.10 during publish, refs #1482
2021-10-24 15:37:43 -07:00
Simon Willison
96a823f283
Fix compatibility with Python 3.10 ( #1481 )
...
* Run tests against Python 3.10
* Upgrade to Janus 0.6.2 for Python 3.10
* Add 3.10 to classifiers
Closes #1482
2021-10-24 15:19:54 -07:00
Simon Willison
4eb3ae40fb
Don't bother building docs if not on main
...
Refs ##1442
2021-08-19 14:17:44 -07:00
Simon Willison
d84e574e59
Ability to deploy demos of branches
...
* Ability to deploy additional branch demos, closes #1442
* Only run tests before deploy on main branch
* Documentation for continuous deployment
2021-08-19 14:09:38 -07:00
Simon Willison
cd8b7bee8f
Run codespell against datasette source code too, refs #1417
2021-08-03 10:03:48 -07:00
Simon Willison
2208c3c68e
Spelling corrections plus CI job for codespell
...
* Use codespell to check spelling in documentation, refs #1417
* Fixed spelling errors spotted by codespell, closes #1417
* Make codespell a docs dependency
See also this TIL: https://til.simonwillison.net/python/codespell
2021-08-03 09:36:38 -07:00
Simon Willison
74b775e20f
Use consistent pattern for test before deploy, refs #1406
2021-07-29 17:50:45 -07:00
Simon Willison
721a8d3cd4
Hopeful fix for publish problem in #1396
2021-07-14 18:51:36 -07:00
Simon Willison
953a64467d
Only publish stable docs on non-preview release
...
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-24 09:42:02 -07:00
Simon Willison
7bc85b26d6
Deploy stable-docs.datasette.io on publish
...
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-23 12:30:03 -07:00
Simon Willison
0dfb924171
Temporarily reverting buildx support
...
I need to push a container for 0.57 using this action, and I'm not ready to ship other architecture builds until we have tested them in #1344 .
2021-06-05 15:55:07 -07:00
Simon Willison
ff29dd55fa
?_trace=1 now depends on trace_debug setting, closes #1359
2021-06-05 13:18:37 -07:00
Blair Drummond
89822d10be
Docker multi-arch support with Buildx ( #1319 )
...
Thanks, @blairdrummond
2021-05-27 09:49:23 -07:00
dependabot-preview[bot]
5e60bad404
Upgrade to GitHub-native Dependabot ( #1314 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-29 08:47:21 -07:00
Simon Willison
0a7621f96f
Use pytest-xdist to speed up tests ( #1290 )
...
* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist
Closes #1289
2021-04-02 20:42:28 -07:00
Simon Willison
0486303b60
Explicitly push version tag, refs #1281
2021-03-28 18:42:42 -07:00
Simon Willison
8291065b13
Hopeful fix for Docker tag error, refs #1281
2021-03-28 18:39:02 -07:00
Simon Willison
849c4f06ea
Workflow for manually pushing a Docker tag, refs #1281
2021-03-28 18:36:07 -07:00
Simon Willison
13fd9bdf01
docker push --all-tags, refs #1281
2021-03-28 18:07:49 -07:00
Simon Willison
5fd0289065
Build Dockerfile with SpatiaLite 5, refs #1249
2021-03-26 21:27:40 -07:00
Simon Willison
6f41c8a2be
--crossdb option for joining across databases ( #1232 )
...
* Test for cross-database join, refs #283
* Warn if --crossdb used with more than 10 DBs, refs #283
* latest.datasette.io demo of --crossdb joins, refs #283
* Show attached databases on /_memory page, refs #283
* Documentation for cross-database queries, refs #283
2021-02-18 14:09:12 -08:00
Simon Willison
5af2b99111
Create FUNDING.yml
2021-02-18 10:22:01 -08:00
Simon Willison
ffff3a4c53
Easier way to run Prettier locally ( #1203 )
...
Thanks, Ben Pickles - refs #1167
2021-01-24 17:41:46 -08:00
Simon Willison
ab7767acbe
tmate session mac
...
So I can test https://github.com/simonw/datasette/issues/93
2021-01-04 13:31:55 -08:00
Ben Pickles
3054e0f730
Install Prettier via package.json ( #1170 )
...
* Error if Prettier isn't already installed
* Temporarily run Prettier check on every commit
* Install and run Prettier via package.json
* Trigger another prettier check on CI
2021-01-04 11:52:33 -08:00
Simon Willison
1e8fa3ac7c
Only run prettier on changes to datasette/static
...
Refs #1166
2021-01-01 13:45:55 -08:00
Simon Willison
9cbc099492
GitHub Actions workflow for Prettier, refs #1166
2020-12-31 13:42:14 -08:00
Simon Willison
e2fea36540
Switch to google-github-actions/setup-gcloud - refs #1126
2020-12-03 19:12:33 -08:00
Simon Willison
a970276b99
Try pysqlite3 on latest.datasette.io
...
--install=pysqlite3-binary to get a working demo of generated columns, refs #1119
2020-11-30 17:19:09 -08:00
Simon Willison
5a77f7a649
Updated docs renaming config to settings
...
- config.html is now settings.html
- ConfigOption in app.py is now Setting
- updated documentation unit tests
Refs #1106
2020-11-24 13:22:33 -08:00
Simon Willison
d6db47f5c1
Deploy demo plugins to latest.datasette.io, refs #1074
2020-10-31 10:36:46 -07:00
Simon Willison
d0cc6f4c32
Use sphinx-to-sqlite==0.1a1
...
To address this bug: https://github.com/simonw/sphinx-to-sqlite/issues/2
2020-10-21 21:57:00 -07:00
Simon Willison
c37a0a93ec
Build and deploy docs.db to datasette-docs-latest
2020-10-18 14:35:26 -07:00
Simon Willison
6421ca2b22
Use actions/setup-python@v2 to deploy latest
...
This should fix an error with Python 3.9.
2020-10-09 09:28:17 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9
2020-10-09 09:22:49 -07:00