kinto 19.3.1__tar.gz → 23.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kinto-19.3.1 → kinto-23.3.0}/.github/workflows/publish.yml +15 -6
- kinto-23.3.0/.github/workflows/scheduled.yml +85 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/workflows/test.yml +27 -20
- {kinto-19.3.1 → kinto-23.3.0}/.gitignore +0 -1
- kinto-23.3.0/.readthedocs.yaml +12 -0
- {kinto-19.3.1 → kinto-23.3.0}/CONTRIBUTORS.rst +2 -0
- {kinto-19.3.1 → kinto-23.3.0}/Dockerfile +2 -2
- {kinto-19.3.1 → kinto-23.3.0}/Makefile +58 -66
- {kinto-19.3.1/kinto.egg-info → kinto-23.3.0}/PKG-INFO +8 -8
- {kinto-19.3.1 → kinto-23.3.0}/README.rst +1 -2
- kinto-23.3.0/SUPPORT.md +3 -0
- {kinto-19.3.1 → kinto-23.3.0}/app.wsgi +2 -0
- {kinto-19.3.1 → kinto-23.3.0}/constraints.in +1 -4
- {kinto-19.3.1 → kinto-23.3.0}/constraints.txt +27 -39
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/accounts.rst +0 -131
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/authentication.rst +3 -3
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/errors.rst +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/history.rst +68 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/index.rst +0 -1
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/openapi.rst +3 -3
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/openid.rst +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/permissions.rst +5 -5
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/utilities.rst +5 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/index.rst +7 -6
- {kinto-19.3.1 → kinto-23.3.0}/docs/commandline.rst +17 -25
- {kinto-19.3.1 → kinto-23.3.0}/docs/community.rst +4 -21
- {kinto-19.3.1 → kinto-23.3.0}/docs/concepts.rst +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/docs/conf.py +1 -2
- {kinto-19.3.1 → kinto-23.3.0}/docs/configuration/good-practices.rst +2 -22
- {kinto-19.3.1 → kinto-23.3.0}/docs/configuration/settings.rst +38 -189
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/cache.rst +6 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/glossary.rst +0 -3
- {kinto-19.3.1 → kinto-23.3.0}/docs/faq.rst +37 -77
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/architecture.svg +118 -134
- {kinto-19.3.1 → kinto-23.3.0}/docs/overview.rst +15 -59
- kinto-23.3.0/docs/requirements.txt +11 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/troubleshooting.rst +2 -2
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/first-steps.rst +24 -25
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/index.rst +0 -4
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/install.rst +2 -48
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/notifications-custom.rst +0 -102
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/permissions.rst +12 -12
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/write-plugin.rst +1 -4
- {kinto-19.3.1 → kinto-23.3.0}/kinto/__init__.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/__main__.py +20 -19
- {kinto-19.3.1 → kinto-23.3.0}/kinto/config/__init__.py +23 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/config/kinto.tpl +5 -15
- {kinto-19.3.1 → kinto-23.3.0/kinto}/contribute.json +0 -3
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/__init__.py +19 -7
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/cache/__init__.py +35 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/cache/memcached.py +2 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/cache/memory.py +6 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/cache/postgresql/__init__.py +3 -0
- kinto-23.3.0/kinto/core/cornice/__init__.py +93 -0
- kinto-23.3.0/kinto/core/cornice/cors.py +144 -0
- kinto-23.3.0/kinto/core/cornice/errors.py +40 -0
- kinto-23.3.0/kinto/core/cornice/pyramidhook.py +373 -0
- kinto-23.3.0/kinto/core/cornice/renderer.py +89 -0
- kinto-23.3.0/kinto/core/cornice/resource.py +205 -0
- kinto-23.3.0/kinto/core/cornice/service.py +641 -0
- kinto-23.3.0/kinto/core/cornice/util.py +138 -0
- kinto-23.3.0/kinto/core/cornice/validators/__init__.py +94 -0
- kinto-23.3.0/kinto/core/cornice/validators/_colander.py +142 -0
- kinto-23.3.0/kinto/core/cornice/validators/_marshmallow.py +182 -0
- kinto-23.3.0/kinto/core/cornice_swagger/__init__.py +92 -0
- kinto-23.3.0/kinto/core/cornice_swagger/converters/__init__.py +21 -0
- kinto-23.3.0/kinto/core/cornice_swagger/converters/exceptions.py +6 -0
- kinto-23.3.0/kinto/core/cornice_swagger/converters/parameters.py +90 -0
- kinto-23.3.0/kinto/core/cornice_swagger/converters/schema.py +249 -0
- kinto-23.3.0/kinto/core/cornice_swagger/swagger.py +725 -0
- kinto-23.3.0/kinto/core/cornice_swagger/templates/index.html +73 -0
- kinto-23.3.0/kinto/core/cornice_swagger/templates/index_script_template.html +21 -0
- kinto-23.3.0/kinto/core/cornice_swagger/util.py +42 -0
- kinto-23.3.0/kinto/core/cornice_swagger/views.py +78 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/errors.py +6 -4
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/initialization.py +55 -54
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/metrics.py +8 -7
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/openapi.py +2 -3
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/permission/memory.py +3 -2
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/permission/postgresql/__init__.py +9 -9
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/permission/testing.py +6 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/resource/__init__.py +10 -2
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/resource/schema.py +5 -6
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/resource/viewset.py +3 -3
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/scripts.py +15 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/__init__.py +40 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/memory.py +69 -4
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/__init__.py +111 -3
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/client.py +2 -2
- kinto-23.3.0/kinto/core/storage/postgresql/migrations/migration_022_023.sql +5 -0
- kinto-23.3.0/kinto/core/storage/postgresql/migrations/migration_023_024.sql +6 -0
- kinto-23.3.0/kinto/core/storage/postgresql/migrations/migration_024_025.sql +6 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/pool.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/schema.sql +11 -2
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/testing.py +120 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/testing.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/utils.py +7 -5
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/batch.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/errors.py +4 -3
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/hello.py +4 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/openapi.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/accounts/__init__.py +3 -21
- kinto-23.3.0/kinto/plugins/accounts/authentication.py +63 -0
- kinto-23.3.0/kinto/plugins/accounts/utils.py +13 -0
- kinto-19.3.1/kinto/plugins/accounts/views/__init__.py → kinto-23.3.0/kinto/plugins/accounts/views.py +7 -62
- kinto-23.3.0/kinto/plugins/admin/VERSION +1 -0
- kinto-23.3.0/kinto/plugins/admin/build/VERSION +1 -0
- kinto-23.3.0/kinto/plugins/admin/build/assets/index-CYFwtKtL.css +6 -0
- kinto-23.3.0/kinto/plugins/admin/build/assets/index-DJ0m93zA.js +149 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/admin/build/index.html +2 -2
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/admin/views.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/default_bucket/__init__.py +1 -2
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/flush.py +2 -2
- kinto-23.3.0/kinto/plugins/history/__init__.py +65 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/history/listener.py +58 -5
- kinto-23.3.0/kinto/plugins/history/views.py +185 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/openid/views.py +1 -1
- kinto-23.3.0/kinto/plugins/prometheus.py +300 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/statsd.py +8 -1
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/contribute.py +14 -13
- {kinto-19.3.1 → kinto-23.3.0/kinto.egg-info}/PKG-INFO +8 -8
- {kinto-19.3.1 → kinto-23.3.0}/kinto.egg-info/SOURCES.txt +31 -33
- {kinto-19.3.1 → kinto-23.3.0}/kinto.egg-info/requires.txt +2 -4
- {kinto-19.3.1 → kinto-23.3.0}/pyproject.toml +7 -5
- {kinto-19.3.1 → kinto-23.3.0}/scripts/pull-kinto-admin.sh +2 -1
- {kinto-19.3.1 → kinto-23.3.0}/tests/browser.ini +2 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_events.py +4 -3
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_filter.py +4 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_schema.py +2 -2
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_sync.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_views_cors.py +8 -1
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_viewset.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/support.py +1 -1
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_authentication.py +3 -3
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_initialization.py +25 -34
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_logging.py +25 -1
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_metrics.py +4 -2
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_openapi.py +1 -2
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_scripts.py +19 -2
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_storage.py +4 -2
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_errors.py +10 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_hello.py +18 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/functional.ini +7 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/functional.py +11 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_accounts.py +4 -392
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_history.py +401 -11
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_prometheus.py +93 -12
- {kinto-19.3.1 → kinto-23.3.0}/tests/support.py +1 -1
- kinto-23.3.0/tests/test_cache_metrics.py +70 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_configuration/test.ini +5 -15
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_main.py +34 -19
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_buckets.py +8 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_contribute.py +1 -1
- kinto-23.3.0/tests/test_views_metrics.py +72 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_permissions.py +1 -1
- kinto-19.3.1/SUPPORT.md +0 -10
- kinto-19.3.1/docs/api/1.x/quotas.rst +0 -97
- kinto-19.3.1/docs/images/logo-demos.svg +0 -80
- kinto-19.3.1/docs/images/logo-indexing.svg +0 -1
- kinto-19.3.1/docs/images/logo-livesync.svg +0 -114
- kinto-19.3.1/docs/images/logo-offline.svg +0 -84
- kinto-19.3.1/docs/images/logo-quotas.svg +0 -68
- kinto-19.3.1/docs/images/logo-signature.svg +0 -70
- kinto-19.3.1/docs/requirements.txt +0 -12
- kinto-19.3.1/docs/tutorials/app-examples.rst +0 -14
- kinto-19.3.1/docs/tutorials/authentication-github.rst +0 -360
- kinto-19.3.1/docs/tutorials/client-side-encryption.rst +0 -19
- kinto-19.3.1/docs/tutorials/notifications-websockets.rst +0 -124
- kinto-19.3.1/kinto/plugins/accounts/authentication.py +0 -109
- kinto-19.3.1/kinto/plugins/accounts/mails.py +0 -96
- kinto-19.3.1/kinto/plugins/accounts/utils.py +0 -146
- kinto-19.3.1/kinto/plugins/accounts/views/validation.py +0 -136
- kinto-19.3.1/kinto/plugins/admin/VERSION +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/VERSION +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/asn1-CGOzndHr.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/clojure-BMjYHr_A.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/css-BnMrqG3P.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/index-BKIg2XW8.js +0 -165
- kinto-19.3.1/kinto/plugins/admin/build/assets/index-D8oiN37x.css +0 -6
- kinto-19.3.1/kinto/plugins/admin/build/assets/javascript-iSgyE4tI.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/mllike-C_8OmSiT.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/python-BuPzkPfP.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/rpm-CTu-6PCP.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/sql-C4g8LzGK.js +0 -1
- kinto-19.3.1/kinto/plugins/admin/build/assets/ttcn-cfg-BIkV9KBc.js +0 -1
- kinto-19.3.1/kinto/plugins/history/__init__.py +0 -31
- kinto-19.3.1/kinto/plugins/history/views.py +0 -66
- kinto-19.3.1/kinto/plugins/prometheus.py +0 -186
- kinto-19.3.1/kinto/plugins/quotas/__init__.py +0 -21
- kinto-19.3.1/kinto/plugins/quotas/listener.py +0 -226
- kinto-19.3.1/kinto/plugins/quotas/scripts.py +0 -80
- kinto-19.3.1/kinto/plugins/quotas/utils.py +0 -7
- kinto-19.3.1/kinto/scripts.py +0 -41
- kinto-19.3.1/tests/plugins/test_quotas.py +0 -1142
- kinto-19.3.1/tests/test_scripts.py +0 -32
- kinto-19.3.1/tests/test_views_metrics.py +0 -45
- {kinto-19.3.1 → kinto-23.3.0}/.dockerignore +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/CODE_OF_CONDUCT.md +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/CONTRIBUTING.md +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/dependabot.yml +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/release.yml +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/.github/workflows/labels.yaml +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/CHANGELOG.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/LICENSE +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/SECURITY.md +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docker-compose.yml +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/_static/piwik.js +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/_static/theme_overrides.css +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/_templates/footer.html +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/_templates/indexcontent.html +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/_templates/layout.html +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-delete-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-delete-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-get-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-get-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-head-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-patch-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-post-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_details-put-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-delete-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-delete-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-get-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-get-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-patch-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-post-list.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/_status-put-object.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/admin.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/backoff.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/batch.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/buckets.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/collections.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/deprecation.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/filtering.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/flush.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/groups.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/pagination.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/records.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/selecting_fields.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/sorting.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/1.x/timestamps.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/api/versioning.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/changelog.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/configuration/index.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/configuration/production.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/_static/theme_overrides.css +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/api.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/decorators.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/errors.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/images/cliquet-base.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/images/cliquet-mozilla.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/index.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/notifications.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/permission.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/quickstart.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/rationale.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/resource.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/storage.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/testing.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/utils.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/core/viewsets.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/alwaysdata-button.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/color-formatter.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/concepts-general.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/concepts-permissions.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/heroku-button.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/kinto-logo.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/kinto-logo.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-admin.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-attachment.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-community.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-history.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-javascript.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-jsonschema.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-multiapps.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-permissions.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-python.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-selfhostable.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/logo-synchronisation.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/overview-deployonce-selfhost.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/overview-features.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/overview-synchronisation.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/overview-use-cases.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/scalingo-button.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/screenshot-kinto-admin-1.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/screenshot-kinto-admin-2.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/screenshot-kinto-admin-3.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/screenshot-kinto-admin-4.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/sequence-storage.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/sync-both.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/sync-newest.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/images/sync-oldest.svg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/index.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/kinto-admin.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/custom-id-generator.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/permission-setups.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/docs/tutorials/synchronisation.rst +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/authorization.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/authentication.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/authorization.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/cache/postgresql/schema.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/cache/testing.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/decorators.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/events.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/listeners/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/permission/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/permission/postgresql/migrations/migration_001_002.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/permission/postgresql/schema.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/resource/model.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/schema.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/statsd.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/exceptions.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/generators.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_001_002.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_002_003.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_003_004.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_004_005.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_005_006.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_006_007.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_007_008.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_008_009.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_009_010.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_010_011.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_011_012.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_012_013.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_013_014.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_014_015.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_015_016.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_016_017.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_017_018.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_018_019.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_019_020.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_020_021.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrations/migration_021_022.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/postgresql/migrator.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/storage/utils.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/heartbeat.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/core/views/version.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/events.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/accounts/scripts.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/admin/README.md +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/admin/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/admin/build/assets/logo-VBRiKSPX.png +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/admin/public/help.html +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/openid/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/plugins/openid/utils.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/schema_validation.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/admin.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/buckets.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/collections.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/groups.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/permissions.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto/views/records.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto.egg-info/dependency_links.txt +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto.egg-info/entry_points.txt +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/kinto.egg-info/top_level.txt +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/setup.cfg +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/browser.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/listeners.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_base.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_cache_expires.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_model.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_object.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_object_permissions.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_pagination.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_partial_response.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_preconditions.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_sort.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/resource/test_views.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/schema/postgresql-permission-1.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/schema/postgresql-storage-1.6.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/schema/postgresql-storage-11.sql +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_authorization.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_cache.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_decorators.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_deprecation.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_errors.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_listeners.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_permission.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_schema.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_storage_migrations.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_storage_pool.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_utils.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_batch.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_heartbeat.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_openapi.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_postgresql.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/test_views_transaction.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/testapp/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/testapp/static/index.html +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/testapp/views.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/core/testplugin/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/support.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_plugins.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_resources.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_responses_buckets.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_responses_collections.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_responses_errors.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_responses_groups.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_responses_records.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/openapi/test_validation.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/__init__.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_admin.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_default_bucket.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_flush.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_openid.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/plugins/test_statsd.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_authorization.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_config.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_init.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_admin.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_collections.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_collections_cache.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_disable_default.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_groups.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_hello.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_objects_permissions.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_records.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_schema_collection.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_schema_group.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_schema_record.py +0 -0
- {kinto-19.3.1 → kinto-23.3.0}/tests/test_views_version.py +0 -0
|
@@ -11,14 +11,14 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v5
|
|
15
15
|
|
|
16
16
|
- name: Set up Python
|
|
17
|
-
uses: actions/setup-python@
|
|
17
|
+
uses: actions/setup-python@v6
|
|
18
18
|
with:
|
|
19
19
|
python-version: "3.x"
|
|
20
20
|
|
|
21
|
-
- uses: actions/setup-node@
|
|
21
|
+
- uses: actions/setup-node@v6
|
|
22
22
|
with:
|
|
23
23
|
node-version: "20"
|
|
24
24
|
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
run: python3 -m build
|
|
39
39
|
|
|
40
40
|
- name: Store the distribution packages
|
|
41
|
-
uses: actions/upload-artifact@
|
|
41
|
+
uses: actions/upload-artifact@v5
|
|
42
42
|
with:
|
|
43
43
|
name: python-package-distributions
|
|
44
44
|
path: dist/
|
|
@@ -57,7 +57,7 @@ jobs:
|
|
|
57
57
|
id-token: write
|
|
58
58
|
steps:
|
|
59
59
|
- name: Download all the dists
|
|
60
|
-
uses: actions/download-artifact@
|
|
60
|
+
uses: actions/download-artifact@v6
|
|
61
61
|
with:
|
|
62
62
|
name: python-package-distributions
|
|
63
63
|
path: dist/
|
|
@@ -71,7 +71,15 @@ jobs:
|
|
|
71
71
|
name: release
|
|
72
72
|
steps:
|
|
73
73
|
- name: Check out the repo
|
|
74
|
-
uses: actions/checkout@
|
|
74
|
+
uses: actions/checkout@v5
|
|
75
|
+
|
|
76
|
+
- name: Set up QEMU
|
|
77
|
+
uses: docker/setup-qemu-action@v3
|
|
78
|
+
|
|
79
|
+
- name: Enable multiplatform builds
|
|
80
|
+
uses: docker/setup-buildx-action@v3
|
|
81
|
+
with:
|
|
82
|
+
buildkitd-flags: "--debug" # Enable detailed logging
|
|
75
83
|
|
|
76
84
|
- name: Log in to Docker Hub
|
|
77
85
|
uses: docker/login-action@v3
|
|
@@ -93,3 +101,4 @@ jobs:
|
|
|
93
101
|
push: true
|
|
94
102
|
tags: ${{ steps.meta.outputs.tags }}
|
|
95
103
|
labels: ${{ steps.meta.outputs.labels }}
|
|
104
|
+
platforms: linux/amd64,linux/arm64
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
name: Run scheduled jobs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: '0 0 * * *' # Runs daily at midnight
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
update-kinto-admin:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
defaults:
|
|
11
|
+
run:
|
|
12
|
+
shell: bash
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- name: Checkout repository
|
|
16
|
+
uses: actions/checkout@v5
|
|
17
|
+
|
|
18
|
+
- name: Get current version
|
|
19
|
+
id: current_version
|
|
20
|
+
run: |
|
|
21
|
+
CURRENT_VERSION="$(cat kinto/plugins/admin/VERSION)"
|
|
22
|
+
echo "Current Version: $CURRENT_VERSION"
|
|
23
|
+
echo "version=$CURRENT_VERSION" >> "$GITHUB_OUTPUT"
|
|
24
|
+
|
|
25
|
+
- name: Get latest release version
|
|
26
|
+
id: latest_release_version
|
|
27
|
+
run: |
|
|
28
|
+
LATEST_RELEASE_VERSION=$(curl -s https://api.github.com/repos/Kinto/kinto-admin/releases/latest | jq -r .tag_name)
|
|
29
|
+
echo "Latest Version: $LATEST_RELEASE_VERSION"
|
|
30
|
+
echo "version=${LATEST_RELEASE_VERSION#v}" >> "$GITHUB_OUTPUT"
|
|
31
|
+
|
|
32
|
+
- name: Compare versions
|
|
33
|
+
id: compare_versions
|
|
34
|
+
env:
|
|
35
|
+
LATEST_RELEASE_VERSION: ${{ steps.latest_release_version.outputs.version }}
|
|
36
|
+
CURRENT_VERSION: ${{ steps.current_version.outputs.version }}
|
|
37
|
+
run: |
|
|
38
|
+
LATEST_VERSION=$(npx --yes semver "$CURRENT_VERSION" "$LATEST_RELEASE_VERSION" | tail -n 1)
|
|
39
|
+
if [ "$LATEST_VERSION" != "$CURRENT_VERSION" ]; then
|
|
40
|
+
echo "Kinto Admin update ready"
|
|
41
|
+
echo "update_needed=true" >> "$GITHUB_OUTPUT"
|
|
42
|
+
else
|
|
43
|
+
echo "Kinto Admin up to date"
|
|
44
|
+
echo "update_needed=false" >> "$GITHUB_OUTPUT"
|
|
45
|
+
fi
|
|
46
|
+
|
|
47
|
+
- name: Configure git
|
|
48
|
+
if: ${{ steps.compare_versions.outputs.update_needed == 'true' }}
|
|
49
|
+
# https://github.com/orgs/community/discussions/26560
|
|
50
|
+
run: |
|
|
51
|
+
git config user.name github-actions[bot]
|
|
52
|
+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
|
53
|
+
|
|
54
|
+
- name: Create branch
|
|
55
|
+
id: create_branch
|
|
56
|
+
if: ${{ steps.compare_versions.outputs.update_needed == 'true' }}
|
|
57
|
+
env:
|
|
58
|
+
BRANCH_NAME: updates/kinto-admin-${{ steps.latest_release_version.outputs.version }}
|
|
59
|
+
LATEST_RELEASE: ${{ steps.latest_release_version.outputs.version }}
|
|
60
|
+
run: |
|
|
61
|
+
git fetch origin --no-tags --quiet "refs/heads/updates/*:refs/remotes/origin/updates/*"
|
|
62
|
+
|
|
63
|
+
if [ "$(git rev-parse --quiet --verify origin/$"BRANCH_NAME")" ]; then
|
|
64
|
+
echo "Branch $BRANCH_NAME already exists on origin."
|
|
65
|
+
echo "pr_needed=false" >> "$GITHUB_OUTPUT"
|
|
66
|
+
else
|
|
67
|
+
git checkout -b "$BRANCH_NAME"
|
|
68
|
+
echo "$LATEST_RELEASE" > kinto/plugins/admin/VERSION
|
|
69
|
+
git commit -am "Update Kinto Admin to $LATEST_RELEASE"
|
|
70
|
+
git push origin "$BRANCH_NAME"
|
|
71
|
+
echo "pr_needed=true" >> "$GITHUB_OUTPUT"
|
|
72
|
+
fi
|
|
73
|
+
|
|
74
|
+
- name: Create pull request
|
|
75
|
+
if: ${{ steps.compare_versions.outputs.update_needed == 'true' && steps.create_branch.outputs.pr_needed == 'true'}}
|
|
76
|
+
env:
|
|
77
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
78
|
+
BRANCH_NAME: updates/kinto-admin-${{ steps.latest_release_version.outputs.version }}
|
|
79
|
+
run: |
|
|
80
|
+
gh pr create \
|
|
81
|
+
--title "Update Kinto Admin version to ${{ steps.latest_release_version.outputs.version }}" \
|
|
82
|
+
--body "" \
|
|
83
|
+
--base "main" \
|
|
84
|
+
--head "$BRANCH_NAME" \
|
|
85
|
+
--label "dependencies"
|
|
@@ -14,9 +14,12 @@ jobs:
|
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v5
|
|
18
18
|
|
|
19
|
-
-
|
|
19
|
+
- name: Actions Lint
|
|
20
|
+
uses: raven-actions/actionlint@v2
|
|
21
|
+
|
|
22
|
+
- uses: actions/setup-python@v6
|
|
20
23
|
|
|
21
24
|
- name: make lint
|
|
22
25
|
run: make lint
|
|
@@ -32,10 +35,8 @@ jobs:
|
|
|
32
35
|
runs-on: ubuntu-latest
|
|
33
36
|
strategy:
|
|
34
37
|
matrix:
|
|
35
|
-
pyenv: [
|
|
38
|
+
pyenv: [py310, py311, py312, py312-raw]
|
|
36
39
|
include:
|
|
37
|
-
- pyenv: py39
|
|
38
|
-
python-version: "3.9"
|
|
39
40
|
- pyenv: py310
|
|
40
41
|
python-version: "3.10"
|
|
41
42
|
- pyenv: py311
|
|
@@ -67,10 +68,10 @@ jobs:
|
|
|
67
68
|
- 11211:11211
|
|
68
69
|
|
|
69
70
|
steps:
|
|
70
|
-
- uses: actions/checkout@
|
|
71
|
+
- uses: actions/checkout@v5
|
|
71
72
|
|
|
72
73
|
- name: Set up Python ${{ matrix.python-version }}
|
|
73
|
-
uses: actions/setup-python@
|
|
74
|
+
uses: actions/setup-python@v6
|
|
74
75
|
with:
|
|
75
76
|
python-version: ${{ matrix.python-version }}
|
|
76
77
|
cache: pip
|
|
@@ -107,7 +108,7 @@ jobs:
|
|
|
107
108
|
needs: unit-test
|
|
108
109
|
runs-on: ubuntu-latest
|
|
109
110
|
steps:
|
|
110
|
-
- uses: actions/setup-python@
|
|
111
|
+
- uses: actions/setup-python@v6
|
|
111
112
|
with:
|
|
112
113
|
python-version: "3.x"
|
|
113
114
|
- name: Install coveralls
|
|
@@ -139,9 +140,9 @@ jobs:
|
|
|
139
140
|
- 5432:5432
|
|
140
141
|
|
|
141
142
|
steps:
|
|
142
|
-
- uses: actions/checkout@
|
|
143
|
+
- uses: actions/checkout@v5
|
|
143
144
|
|
|
144
|
-
- uses: actions/setup-python@
|
|
145
|
+
- uses: actions/setup-python@v6
|
|
145
146
|
|
|
146
147
|
- name: Print environment
|
|
147
148
|
run: |
|
|
@@ -158,11 +159,11 @@ jobs:
|
|
|
158
159
|
run: |
|
|
159
160
|
psql -c "CREATE DATABASE testdb ENCODING 'UTF8' TEMPLATE template0;" -U postgres -h localhost
|
|
160
161
|
|
|
161
|
-
- run: mkdir ${DOCKER_CACHE}
|
|
162
|
+
- run: mkdir "${DOCKER_CACHE}"
|
|
162
163
|
|
|
163
164
|
- name: Compute cache key
|
|
164
165
|
# Create hash of hashes of checked in files not in Dockerignore
|
|
165
|
-
run: echo "CACHE_KEY=$(git ls-tree --full-tree -r HEAD | grep -v -f .dockerignore | awk '{print $3}' | git hash-object --stdin)" >> $GITHUB_ENV
|
|
166
|
+
run: echo "CACHE_KEY=$(git ls-tree --full-tree -r HEAD | grep -v -f .dockerignore | awk '{print $3}' | git hash-object --stdin)" >> "$GITHUB_ENV"
|
|
166
167
|
|
|
167
168
|
- uses: actions/cache@v4
|
|
168
169
|
with:
|
|
@@ -187,16 +188,22 @@ jobs:
|
|
|
187
188
|
context: .
|
|
188
189
|
|
|
189
190
|
- name: Run container
|
|
191
|
+
env:
|
|
192
|
+
PROMETHEUS_MULTIPROC_DIR: /tmp/metrics
|
|
190
193
|
run: |
|
|
191
194
|
docker run --net=host --detach --rm \
|
|
192
195
|
-p 8888:8888 \
|
|
193
|
-
-v
|
|
196
|
+
-v "$(pwd)"/tests/functional.ini:/etc/functional.ini \
|
|
194
197
|
-e KINTO_INI=/etc/functional.ini \
|
|
195
|
-
${{ env.TEST_TAG }} && sleep 5
|
|
198
|
+
"${{ env.TEST_TAG }}" && sleep 5
|
|
196
199
|
|
|
197
200
|
- name: Functional Tests
|
|
198
201
|
run: |
|
|
199
|
-
make functional
|
|
202
|
+
make functional || sleep 5 && make functional
|
|
203
|
+
|
|
204
|
+
- name: Show logs on failure
|
|
205
|
+
if: failure()
|
|
206
|
+
run: docker logs "$(docker ps -q --filter ancestor=${{ env.TEST_TAG }})"
|
|
200
207
|
|
|
201
208
|
kinto-admin:
|
|
202
209
|
name: Kinto Admin
|
|
@@ -204,11 +211,11 @@ jobs:
|
|
|
204
211
|
runs-on: ubuntu-latest
|
|
205
212
|
|
|
206
213
|
steps:
|
|
207
|
-
- uses: actions/checkout@
|
|
214
|
+
- uses: actions/checkout@v5
|
|
208
215
|
|
|
209
|
-
- uses: actions/setup-python@
|
|
216
|
+
- uses: actions/setup-python@v6
|
|
210
217
|
|
|
211
|
-
- uses: actions/setup-node@
|
|
218
|
+
- uses: actions/setup-node@v6
|
|
212
219
|
with:
|
|
213
220
|
node-version: "18.x"
|
|
214
221
|
|
|
@@ -245,9 +252,9 @@ jobs:
|
|
|
245
252
|
runs-on: ubuntu-latest
|
|
246
253
|
|
|
247
254
|
steps:
|
|
248
|
-
- uses: actions/checkout@
|
|
255
|
+
- uses: actions/checkout@v5
|
|
249
256
|
|
|
250
|
-
- uses: actions/setup-python@
|
|
257
|
+
- uses: actions/setup-python@v6
|
|
251
258
|
|
|
252
259
|
- name: Print environment
|
|
253
260
|
run: |
|
|
@@ -17,6 +17,7 @@ Contributors
|
|
|
17
17
|
* Balthazar Rouberol <br@imap.cc>
|
|
18
18
|
* Boris Feld <lothiraldan@gmail.com>
|
|
19
19
|
* Brady Dufresne <dufresnebrady@gmail.com>
|
|
20
|
+
* Can Berk Güder <cbguder@mozilla.com>
|
|
20
21
|
* Castro
|
|
21
22
|
* Chirag B. Jadwani <chirag.jadwani@gmail.com>
|
|
22
23
|
* Christophe Gragnic <cgragnic@protonmail.com>
|
|
@@ -111,3 +112,4 @@ Contributors
|
|
|
111
112
|
* Dan Milgram <danm@intervivo.com>
|
|
112
113
|
* Dex Devlon <@bxff>
|
|
113
114
|
* Varun Koranne <@varun-dhruv>
|
|
115
|
+
* Robin Sharma <robinrythm123@gmail.com>
|
|
@@ -20,7 +20,6 @@ RUN cp -r /kinto-admin/kinto/plugins/admin/build kinto/plugins/admin/
|
|
|
20
20
|
RUN pip install ".[postgresql,memcached,monitoring]" -c constraints.txt && pip install kinto-attachment kinto-emailer httpie
|
|
21
21
|
|
|
22
22
|
FROM python:3.10-slim-bullseye
|
|
23
|
-
RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev
|
|
24
23
|
RUN groupadd --gid 10001 app && \
|
|
25
24
|
useradd --uid 10001 --gid 10001 --home /app --create-home app
|
|
26
25
|
|
|
@@ -28,7 +27,8 @@ COPY --from=python-builder /opt/venv /opt/venv
|
|
|
28
27
|
|
|
29
28
|
ENV KINTO_INI=/etc/kinto/kinto.ini \
|
|
30
29
|
PORT=8888 \
|
|
31
|
-
PATH="/opt/venv/bin:$PATH"
|
|
30
|
+
PATH="/opt/venv/bin:$PATH" \
|
|
31
|
+
PROMETHEUS_MULTIPROC_DIR="/tmp/metrics"
|
|
32
32
|
|
|
33
33
|
RUN kinto init --ini $KINTO_INI --host 0.0.0.0 --backend=memory --cache-backend=memory
|
|
34
34
|
|
|
@@ -1,43 +1,30 @@
|
|
|
1
|
+
VENV ?= .venv
|
|
2
|
+
PYTHON := $(VENV)/bin/python3
|
|
3
|
+
SPHINX_BUILDDIR ?= docs/_build
|
|
4
|
+
|
|
1
5
|
SERVER_CONFIG = config/kinto.ini
|
|
6
|
+
NAME := kinto
|
|
7
|
+
SOURCE := $(shell git config remote.origin.url | sed -e 's|git@|https://|g' | sed -e 's|github.com:|github.com/|g')
|
|
8
|
+
VERSION := $(shell git describe --always --tag)
|
|
9
|
+
COMMIT := $(shell git log --pretty=format:'%H' -n 1)
|
|
10
|
+
|
|
11
|
+
.IGNORE: clean
|
|
2
12
|
|
|
3
|
-
SPHINX_BUILDDIR = docs/_build
|
|
4
|
-
VENV := $(shell echo $${VIRTUAL_ENV-.venv})
|
|
5
|
-
PYTHON = $(VENV)/bin/python3
|
|
6
13
|
DEV_STAMP = $(VENV)/.dev_env_installed.stamp
|
|
7
14
|
DOC_STAMP = $(VENV)/.doc_env_installed.stamp
|
|
8
15
|
INSTALL_STAMP = $(VENV)/.install.stamp
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.IGNORE: clean distclean maintainer-clean
|
|
12
|
-
.PHONY: all install tests
|
|
13
|
-
|
|
14
|
-
OBJECTS = .venv .coverage
|
|
16
|
+
OBJECTS = .venv .coverage .pytest_cache/ .ruff_cache/ $(INSTALL_STAMP) $(DEV_STAMP) $(DOC_STAMP)
|
|
17
|
+
.DEFAULT_GOAL := help
|
|
15
18
|
|
|
16
19
|
help:
|
|
17
|
-
@echo "Please use 'make <target>' where <target> is one of"
|
|
18
|
-
@
|
|
19
|
-
@echo "
|
|
20
|
-
@echo " install-monitoring enable monitoring features like StatsD and Newrelic"
|
|
21
|
-
@echo " install-postgres install postgresql support"
|
|
22
|
-
@echo " install-dev install dependencies and everything needed to run tests"
|
|
23
|
-
@echo " pull-kinto-admin pull the Kinto admin UI plugin (requires npm)"
|
|
24
|
-
@echo " serve start the kinto server on default port"
|
|
25
|
-
@echo " migrate run the kinto migrations"
|
|
26
|
-
@echo " lint run the code linters"
|
|
27
|
-
@echo " tests run all the tests with all the supported python interpreters (same as CI)"
|
|
28
|
-
@echo " test-deps pulls and runs docker postgres and memcached containers for tests"
|
|
29
|
-
@echo " tdd run pytest-watch to rerun tests automatically on changes for tdd"
|
|
30
|
-
@echo " tests-once only run the tests once with the default python interpreter"
|
|
31
|
-
@echo " functional run functional test against a real kinto"
|
|
32
|
-
@echo " browser-test run browser test against a real kinto"
|
|
33
|
-
@echo " clean remove *.pyc files and __pycache__ directory"
|
|
34
|
-
@echo " distclean remove *.egg-info files and *.egg, build and dist directories"
|
|
35
|
-
@echo " maintainer-clean remove the .venv directory"
|
|
36
|
-
@echo " docs build the docs"
|
|
37
|
-
@echo "Check the Makefile to know exactly what each target is doing."
|
|
20
|
+
@echo "Please use 'make <target>' where <target> is one of the following commands.\n"
|
|
21
|
+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
22
|
+
@echo "\nCheck the Makefile to know exactly what each target is doing."
|
|
38
23
|
|
|
24
|
+
.PHONY: all
|
|
39
25
|
all: install
|
|
40
|
-
|
|
26
|
+
|
|
27
|
+
install: $(INSTALL_STAMP) ## install dependencies and prepare environment
|
|
41
28
|
$(INSTALL_STAMP): $(PYTHON) constraints.txt pyproject.toml
|
|
42
29
|
$(VENV)/bin/pip install -U pip
|
|
43
30
|
$(VENV)/bin/pip install -Ue . -c constraints.txt
|
|
@@ -46,21 +33,21 @@ $(INSTALL_STAMP): $(PYTHON) constraints.txt pyproject.toml
|
|
|
46
33
|
$(PYTHON):
|
|
47
34
|
python3 -m venv $(VENV)
|
|
48
35
|
|
|
49
|
-
install-monitoring: $(INSTALL_STAMP) $(DEV_STAMP)
|
|
36
|
+
install-monitoring: $(INSTALL_STAMP) $(DEV_STAMP) ## enable monitoring features like Prometheus and Newrelic
|
|
50
37
|
$(VENV)/bin/pip install -Ue ".[monitoring]" -c constraints.txt
|
|
51
38
|
|
|
52
|
-
install-postgres: $(INSTALL_STAMP) $(DEV_STAMP)
|
|
39
|
+
install-postgres: $(INSTALL_STAMP) $(DEV_STAMP) ## install postgresql support
|
|
53
40
|
$(VENV)/bin/pip install -Ue ".[postgresql]" -c constraints.txt
|
|
54
41
|
|
|
55
|
-
install-memcached: $(INSTALL_STAMP) $(DEV_STAMP)
|
|
42
|
+
install-memcached: $(INSTALL_STAMP) $(DEV_STAMP) ## install memcached support
|
|
56
43
|
$(VENV)/bin/pip install -Ue ".[memcached]" -c constraints.txt
|
|
57
44
|
|
|
58
|
-
install-dev: $(INSTALL_STAMP) $(DEV_STAMP)
|
|
45
|
+
install-dev: $(INSTALL_STAMP) $(DEV_STAMP) ## install dependencies and everything needed to run tests
|
|
59
46
|
$(DEV_STAMP): $(PYTHON) constraints.txt
|
|
60
|
-
$(VENV)/bin/pip install -Ue ".[dev,test]" -c constraints.txt
|
|
47
|
+
$(VENV)/bin/pip install -Ue ".[dev,test,monitoring,postgresql,memcached]" -c constraints.txt
|
|
61
48
|
touch $(DEV_STAMP)
|
|
62
49
|
|
|
63
|
-
install-docs: $(DOC_STAMP)
|
|
50
|
+
install-docs: $(DOC_STAMP) ## install dependencies to build the docs
|
|
64
51
|
$(DOC_STAMP): $(PYTHON) docs/requirements.txt
|
|
65
52
|
$(VENV)/bin/pip install -r docs/requirements.txt
|
|
66
53
|
touch $(DOC_STAMP)
|
|
@@ -68,33 +55,36 @@ $(DOC_STAMP): $(PYTHON) docs/requirements.txt
|
|
|
68
55
|
constraints.txt: constraints.in
|
|
69
56
|
pip-compile -o constraints.txt constraints.in
|
|
70
57
|
|
|
71
|
-
pull-kinto-admin:
|
|
58
|
+
pull-kinto-admin: kinto/plugins/admin/build ## pull the Kinto admin UI plugin
|
|
59
|
+
kinto/plugins/admin/build:
|
|
72
60
|
scripts/pull-kinto-admin.sh
|
|
73
61
|
|
|
74
62
|
$(SERVER_CONFIG):
|
|
75
63
|
$(VENV)/bin/kinto init --ini $(SERVER_CONFIG)
|
|
76
64
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
VERSION := $(shell git describe --always --tag)
|
|
80
|
-
COMMIT := $(shell git log --pretty=format:'%H' -n 1)
|
|
81
|
-
version-file:
|
|
65
|
+
version-file: version.json
|
|
66
|
+
version.json:
|
|
82
67
|
echo '{"name":"$(NAME)","version":"$(VERSION)","source":"$(SOURCE)","commit":"$(COMMIT)"}' > version.json
|
|
83
68
|
|
|
84
|
-
|
|
69
|
+
.PHONY: serve
|
|
70
|
+
serve: install-dev $(SERVER_CONFIG) migrate version-file ## start the kinto server on default port
|
|
85
71
|
$(VENV)/bin/kinto start --ini $(SERVER_CONFIG) --reload
|
|
86
72
|
|
|
73
|
+
.PHONY: migrate
|
|
87
74
|
migrate: install $(SERVER_CONFIG)
|
|
88
75
|
$(VENV)/bin/kinto migrate --ini $(SERVER_CONFIG)
|
|
89
76
|
|
|
90
|
-
|
|
77
|
+
.PHONY: test
|
|
78
|
+
test: tests ## run all the tests with all the supported python interpreters (same as CI)
|
|
79
|
+
.PHONY: test-once
|
|
91
80
|
tests-once: tests
|
|
92
|
-
|
|
81
|
+
.PHONY: tests
|
|
82
|
+
tests: version-file install-dev
|
|
93
83
|
$(VENV)/bin/py.test --cov-config pyproject.toml --cov-report term-missing --cov-fail-under 100 --cov kinto
|
|
94
|
-
|
|
84
|
+
.PHONY: tests-raw
|
|
95
85
|
tests-raw: version-file install-dev
|
|
96
86
|
$(VENV)/bin/py.test
|
|
97
|
-
|
|
87
|
+
.PHONY: test-deps
|
|
98
88
|
test-deps:
|
|
99
89
|
docker pull memcached
|
|
100
90
|
docker pull postgres
|
|
@@ -103,53 +93,55 @@ test-deps:
|
|
|
103
93
|
sleep 2
|
|
104
94
|
PGPASSWORD=postgres psql -c "CREATE DATABASE testdb ENCODING 'UTF8' TEMPLATE template0;" -U postgres -h localhost
|
|
105
95
|
|
|
106
|
-
|
|
96
|
+
.PHONY: lint
|
|
97
|
+
lint: install-dev ## run the code linters
|
|
107
98
|
$(VENV)/bin/ruff check kinto tests docs/conf.py
|
|
108
99
|
$(VENV)/bin/ruff format --check kinto tests docs/conf.py
|
|
109
100
|
|
|
110
|
-
|
|
101
|
+
.PHONY: format
|
|
102
|
+
format: install-dev ## reformat code
|
|
111
103
|
$(VENV)/bin/ruff check --fix kinto tests docs/conf.py
|
|
112
104
|
$(VENV)/bin/ruff format kinto tests docs/conf.py
|
|
113
105
|
|
|
114
|
-
|
|
106
|
+
.PHONY: tdd
|
|
107
|
+
tdd: install-dev ## run pytest-watch to rerun tests automatically on changes for tdd
|
|
115
108
|
$(VENV)/bin/ptw --runner $(VENV)/bin/py.test
|
|
116
109
|
|
|
117
110
|
need-kinto-running:
|
|
118
111
|
@curl http://localhost:8888/v0/ 2>/dev/null 1>&2 || (echo "Run 'make runkinto' before starting tests." && exit 1)
|
|
119
112
|
|
|
120
|
-
|
|
113
|
+
.PHONY: runkinto
|
|
114
|
+
runkinto: install-dev ## run a kinto server
|
|
121
115
|
$(VENV)/bin/kinto migrate --ini tests/functional.ini
|
|
122
|
-
$(VENV)/bin/
|
|
116
|
+
PROMETHEUS_MULTIPROC_DIR=/tmp/metrics KINTO_INI=tests/functional.ini $(VENV)/bin/uwsgi --http :8888 --ini tests/functional.ini
|
|
123
117
|
|
|
124
|
-
|
|
118
|
+
.PHONY: functional
|
|
119
|
+
functional: install-dev need-kinto-running ## run functional tests against a real kinto
|
|
125
120
|
$(VENV)/bin/py.test tests/functional.py
|
|
126
121
|
|
|
127
|
-
browser-test
|
|
122
|
+
.PHONY: browser-test
|
|
123
|
+
browser-test: need-kinto-running ## run browser tests against a real kinto
|
|
128
124
|
$(VENV)/bin/playwright install firefox
|
|
129
125
|
$(VENV)/bin/py.test tests/browser.py
|
|
130
126
|
|
|
131
|
-
clean:
|
|
132
|
-
|
|
127
|
+
clean: ## remove built files and start fresh
|
|
128
|
+
rm -fr $(OBJECTS)
|
|
133
129
|
find . -name '__pycache__' -type d | xargs rm -fr
|
|
134
130
|
rm -fr docs/_build/
|
|
131
|
+
rm -fr kinto/plugins/admin/build/ kinto/plugins/admin/node_modules/
|
|
135
132
|
docker rm -f kinto-memcached || echo ""
|
|
136
133
|
docker rm -f kinto-postgres || echo ""
|
|
137
134
|
|
|
138
|
-
|
|
139
|
-
rm -fr *.egg *.egg-info/ dist/ build/
|
|
140
|
-
|
|
141
|
-
maintainer-clean: distclean
|
|
142
|
-
rm -fr .venv/ kinto/plugins/admin/build/ kinto/plugins/admin/node_modules/
|
|
143
|
-
|
|
144
|
-
docs: install-docs
|
|
135
|
+
docs: install-docs ## build the docs
|
|
145
136
|
$(VENV)/bin/sphinx-build -a -W -n -b html -d $(SPHINX_BUILDDIR)/doctrees docs $(SPHINX_BUILDDIR)/html
|
|
146
137
|
@echo
|
|
147
138
|
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html/index.html"
|
|
148
139
|
|
|
149
140
|
.PHONY: build
|
|
150
|
-
build:
|
|
141
|
+
build: ## build the docker image
|
|
151
142
|
docker build --build-arg="KINTO_VERSION=$(shell git describe --abbrev=0)" --pull -t kinto/kinto-server:latest .
|
|
152
143
|
|
|
153
|
-
test-description
|
|
144
|
+
.PHONY: test-description
|
|
145
|
+
test-description: install-dev ## test the built wheel metadata
|
|
154
146
|
$(VENV)/bin/python -m build
|
|
155
147
|
$(VENV)/bin/twine check dist/*.whl
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: kinto
|
|
3
|
-
Version:
|
|
3
|
+
Version: 23.3.0
|
|
4
4
|
Summary: Kinto Web Service - Store, Sync, Share, and Self-Host.
|
|
5
5
|
Author-email: Mozilla Services <developers@kinto-storage.org>
|
|
6
6
|
License: Copyright 2012 - Mozilla Foundation
|
|
@@ -33,15 +33,12 @@ Description-Content-Type: text/x-rst
|
|
|
33
33
|
License-File: LICENSE
|
|
34
34
|
Requires-Dist: bcrypt
|
|
35
35
|
Requires-Dist: colander
|
|
36
|
-
Requires-Dist: cornice
|
|
37
|
-
Requires-Dist: cornice_swagger
|
|
38
36
|
Requires-Dist: dockerflow
|
|
39
37
|
Requires-Dist: jsonschema
|
|
40
38
|
Requires-Dist: jsonpatch
|
|
41
39
|
Requires-Dist: logging-color-formatter
|
|
42
40
|
Requires-Dist: python-dateutil
|
|
43
41
|
Requires-Dist: pyramid
|
|
44
|
-
Requires-Dist: pyramid_mailer
|
|
45
42
|
Requires-Dist: pyramid_multiauth
|
|
46
43
|
Requires-Dist: transaction
|
|
47
44
|
Requires-Dist: pyramid_tm
|
|
@@ -54,7 +51,7 @@ Provides-Extra: memcached
|
|
|
54
51
|
Requires-Dist: python-memcached; extra == "memcached"
|
|
55
52
|
Provides-Extra: postgresql
|
|
56
53
|
Requires-Dist: SQLAlchemy<3; extra == "postgresql"
|
|
57
|
-
Requires-Dist: psycopg2; extra == "postgresql"
|
|
54
|
+
Requires-Dist: psycopg2-binary; extra == "postgresql"
|
|
58
55
|
Requires-Dist: zope.sqlalchemy; extra == "postgresql"
|
|
59
56
|
Provides-Extra: monitoring
|
|
60
57
|
Requires-Dist: newrelic; extra == "monitoring"
|
|
@@ -73,6 +70,8 @@ Provides-Extra: dev
|
|
|
73
70
|
Requires-Dist: build; extra == "dev"
|
|
74
71
|
Requires-Dist: ruff; extra == "dev"
|
|
75
72
|
Requires-Dist: twine; extra == "dev"
|
|
73
|
+
Requires-Dist: uwsgi; extra == "dev"
|
|
74
|
+
Dynamic: license-file
|
|
76
75
|
|
|
77
76
|
Kinto
|
|
78
77
|
=====
|
|
@@ -108,13 +107,12 @@ Kinto is a minimalist JSON storage service with synchronisation and sharing abil
|
|
|
108
107
|
* `Tutorial <https://kinto.readthedocs.io/en/latest/tutorials/first-steps.html>`_
|
|
109
108
|
* `Issue tracker <https://github.com/Kinto/kinto/issues>`_
|
|
110
109
|
* `Contributing <https://kinto.readthedocs.io/en/latest/community.html#how-to-contribute>`_
|
|
111
|
-
* `Try our daily flushed instance at: https://demo.kinto-storage.org/v1/ <https://demo.kinto-storage.org/v1/>`_
|
|
112
110
|
* `Docker Hub <https://hub.docker.com/r/kinto/kinto-server>`_
|
|
113
111
|
|
|
114
112
|
Requirements
|
|
115
113
|
------------
|
|
116
114
|
|
|
117
|
-
* **Python**: 3.
|
|
115
|
+
* **Python**: 3.10+
|
|
118
116
|
* **Backends**: In-memory (development), PostgreSQL 9.5+ (production)
|
|
119
117
|
|
|
120
118
|
Contributors
|
|
@@ -136,6 +134,7 @@ Contributors
|
|
|
136
134
|
* Balthazar Rouberol <br@imap.cc>
|
|
137
135
|
* Boris Feld <lothiraldan@gmail.com>
|
|
138
136
|
* Brady Dufresne <dufresnebrady@gmail.com>
|
|
137
|
+
* Can Berk Güder <cbguder@mozilla.com>
|
|
139
138
|
* Castro
|
|
140
139
|
* Chirag B. Jadwani <chirag.jadwani@gmail.com>
|
|
141
140
|
* Christophe Gragnic <cgragnic@protonmail.com>
|
|
@@ -230,3 +229,4 @@ Contributors
|
|
|
230
229
|
* Dan Milgram <danm@intervivo.com>
|
|
231
230
|
* Dex Devlon <@bxff>
|
|
232
231
|
* Varun Koranne <@varun-dhruv>
|
|
232
|
+
* Robin Sharma <robinrythm123@gmail.com>
|
|
@@ -32,11 +32,10 @@ Kinto is a minimalist JSON storage service with synchronisation and sharing abil
|
|
|
32
32
|
* `Tutorial <https://kinto.readthedocs.io/en/latest/tutorials/first-steps.html>`_
|
|
33
33
|
* `Issue tracker <https://github.com/Kinto/kinto/issues>`_
|
|
34
34
|
* `Contributing <https://kinto.readthedocs.io/en/latest/community.html#how-to-contribute>`_
|
|
35
|
-
* `Try our daily flushed instance at: https://demo.kinto-storage.org/v1/ <https://demo.kinto-storage.org/v1/>`_
|
|
36
35
|
* `Docker Hub <https://hub.docker.com/r/kinto/kinto-server>`_
|
|
37
36
|
|
|
38
37
|
Requirements
|
|
39
38
|
------------
|
|
40
39
|
|
|
41
|
-
* **Python**: 3.
|
|
40
|
+
* **Python**: 3.10+
|
|
42
41
|
* **Backends**: In-memory (development), PostgreSQL 9.5+ (production)
|
kinto-23.3.0/SUPPORT.md
ADDED
|
@@ -8,6 +8,8 @@ here = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
ini_path = os.environ.get('KINTO_INI')
|
|
10
10
|
if ini_path is None:
|
|
11
|
+
# WARNING: if you modify this default value, you should
|
|
12
|
+
# also change the default in `kinto.config.config_attributes()`
|
|
11
13
|
ini_path = os.path.join(here, 'config', 'kinto.ini')
|
|
12
14
|
|
|
13
15
|
# Set up logging
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
# main dependencies
|
|
2
2
|
bcrypt
|
|
3
3
|
colander
|
|
4
|
-
cornice
|
|
5
|
-
cornice_swagger
|
|
6
4
|
dockerflow
|
|
7
5
|
jsonschema
|
|
8
6
|
jsonpatch
|
|
9
7
|
logging-color-formatter
|
|
10
8
|
python-dateutil
|
|
11
9
|
pyramid
|
|
12
|
-
pyramid_mailer
|
|
13
10
|
pyramid_multiauth
|
|
14
11
|
transaction
|
|
15
12
|
pyramid_tm
|
|
@@ -21,7 +18,7 @@ python-rapidjson
|
|
|
21
18
|
python-memcached
|
|
22
19
|
# postgresql
|
|
23
20
|
SQLAlchemy < 3
|
|
24
|
-
psycopg2
|
|
21
|
+
psycopg2-binary
|
|
25
22
|
zope.sqlalchemy
|
|
26
23
|
# monitoring
|
|
27
24
|
newrelic
|