-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from plone/update_609_16-30
Update to Volto 16.30.1 and Plone 6.0.9
- Loading branch information
Showing
17 changed files
with
165 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
python: | ||
- 3.11 | ||
plone: | ||
- "6.0.6" | ||
- "6.0.9" | ||
|
||
defaults: | ||
run: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ARG PLONE_VERSION=6.0.6 | ||
ARG PLONE_VERSION=6.0.9 | ||
FROM plone/plone-backend:${PLONE_VERSION} | ||
ARG PLONE_VERSION=6.0.6 | ||
ARG PLONE_VERSION=6.0.9 | ||
|
||
LABEL maintainer="Plone Foundation <[email protected]>" \ | ||
org.label-schema.name="plone.org-backend" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-c https://dist.plone.org/release/6.0.6/constraints.txt | ||
-c https://dist.plone.org/release/6.0.9/constraints.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
default_context: | ||
initial_user_name: 'admin' | ||
initial_user_password: 'admin' | ||
|
||
load_zcml: | ||
package_includes: ['ploneorg'] | ||
|
||
dos_protection_available: true | ||
|
||
db_storage: direct | ||
|
||
db_filestorage_location: ../data/filestorage/Data.fs | ||
db_blobs_location: ../data/blobs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ | |
; version-overrides = | ||
; example.package==2.1.0a2 | ||
|
||
version-overrides = | ||
pip==23.3.2 | ||
mxdev==3.1.0 | ||
|
||
[plone.app.vulnerabilities] | ||
url = https://github.com/plone/plone.app.vulnerabilities.git | ||
pushurl = [email protected]:plone/plone.app.vulnerabilities.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# These packages are installed after creating the virtualenv and are needed to further configure and | ||
# install the main backend application. Keep these versions pinned and add possible subdependencies | ||
pip==23.3.2 | ||
wheel==0.42.0 | ||
cookiecutter==2.5.0 | ||
mxdev==3.1.0 | ||
prettyconf==2.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.0.6 | ||
6.0.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Convert postgresql to filestorage | ||
================================= | ||
|
||
In test and production the plone.org website stores the content data in a | ||
Postgresql database using the relstorage driver. If you want to create | ||
a local filestorage copy of the data to use for local development, you | ||
can use the zodbconvert utility. | ||
|
||
First make sure you are running a local postgresql server with the Plone | ||
content database. The zodbconvert config file assume you use the (datbase) | ||
settings as configured in the docker-compose.yml in the project root. This | ||
compose file starts a local postgresql container on 127.0.0.1:5432 with | ||
ploneorg/ploneorg/ploneorg as the database/role/password . | ||
|
||
zodbconvert writes the data to the ./data directory in the project root, | ||
inside ./data/filestorage and ./data/blobs . | ||
|
||
Now run zodbconvert from the project root: | ||
|
||
> ./backend/bin/zodbconvert ./devops/zodbconvert/relstorage.cfg | ||
|
||
This can take 5-15 minutes, depending on your machine specs. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<relstorage source> | ||
blob-dir /tmp/blobcache | ||
shared-blob-dir false | ||
<postgresql> | ||
dsn dbname='ploneorg' user='ploneorg' host='127.0.0.1' port='5432' password='ploneorg' | ||
</postgresql> | ||
</relstorage> | ||
<filestorage destination> | ||
path ./data/filestorage/Data.fs | ||
blob-dir ./data/blobs | ||
</filestorage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
version: "3" | ||
version: "3.8" | ||
|
||
# To use this override, add a data directory | ||
# rename override.yml.orig to override.yml | ||
|
||
services: | ||
backend: | ||
environment: | ||
- RELSTORAGE_DSN: "" | ||
volumes: | ||
- ${PROJECT_DIR}/data:/data | ||
|
||
services: | ||
db: | ||
profiles: | ||
- relstorage | ||
# rename override.yml.orig to override.yml and fill it with overrides | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.