Skip to content

Commit 15017f2

Browse files
committed
Test backend/requirements-docker.txt updating relstorage/psycopg2 versions.
Update to Plone 6.0.10.1. Sync requirements-bootstrap.txt Add collective.revisionmanager 1.2.2. Update instance.yaml for cookiecutter-zope-instance
1 parent b5417ac commit 15017f2

File tree

12 files changed

+32
-27
lines changed

12 files changed

+32
-27
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
## 1.0.17 (unreleased)
22

3+
4+
- Pin cookiecutter-zope-instance version in backend/Makefile. [fredvd]
5+
6+
- Update instance(-filstorage).yaml to remove deprecated load_zcml. [fredvd]
7+
8+
- Test backend/requirements-docker.txt updating relstorage/psycopg2 versions. [fredvd]
9+
10+
- Update to Plone 6.0.10.1. Sync requirements-bootstrap.txt[fredvd]
11+
12+
- Add collective.revisionmanager 1.2.2. [fredvd]
13+
314
- Add volto-fullcalendar-block [fredvd]
415

516
- Add recurrence index to catalog.xml [fredvd]

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ARG PLONE_VERSION=6.0.9
1+
ARG PLONE_VERSION=6.0.10.1
22
FROM plone/plone-backend:${PLONE_VERSION}
3-
ARG PLONE_VERSION=6.0.9
3+
ARG PLONE_VERSION=6.0.10.1
44

55
LABEL maintainer="Plone Foundation <[email protected]>" \
66
org.label-schema.name="plone.org-backend" \

backend/Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,17 @@ clean-test: ## remove test and coverage artifacts
8888
bin/pip:
8989
@echo "$(GREEN)==> Setup Virtual Env$(RESET)"
9090
$(PYTHON) -m venv .
91-
bin/pip install -U -r requirements-bootstrap.txt -c constraints-mxdev.txt
91+
bin/pip install -U -r requirements-bootstrap.txt
9292

9393
.PHONY: config
9494
config: bin/pip ## Create instance configuration
9595
@echo "$(GREEN)==> Create instance configuration$(RESET)"
96-
bin/cookiecutter -f --no-input --config-file instance.yaml gh:plone/cookiecutter-zope-instance
96+
bin/cookiecutter -f --no-input --config-file instance.yaml --checkout 2.1.0 gh:plone/cookiecutter-zope-instance
9797

9898
.PHONY: config-fs
9999
config-fs: bin/pip ## Create instance configuration
100100
@echo "$(GREEN)==> Create instance configuration$(RESET)"
101-
bin/cookiecutter -f --no-input --config-file instance-filestorage.yaml gh:plone/cookiecutter-zope-instance
102-
103-
101+
bin/cookiecutter -f --no-input --config-file instance-filestorage.yaml --checkout 2.1.0 gh:plone/cookiecutter-zope-instance
104102

105103
# i18n
106104
bin/i18ndude: bin/pip

backend/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-c https://dist.plone.org/release/6.0.9/constraints.txt
1+
-c https://dist.plone.org/release/6.0.10.1/constraints.txt

backend/instance-filestorage.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
default_context:
22
initial_user_name: 'admin'
3-
initial_user_password: 'admin'
4-
5-
load_zcml:
6-
package_includes: ['ploneorg']
7-
3+
initial_user_password: 'adminadmin'
4+
zcml_package_includes: ploneorg, collective.revisionmanager
85
dos_protection_available: true
9-
106
db_storage: direct
11-
127
db_filestorage_location: ../data/filestorage/Data.fs
138
db_blobs_location: ../data/blobs

backend/instance.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
default_context:
22
initial_user_name: 'admin'
3-
initial_user_password: 'admin'
4-
5-
load_zcml:
6-
package_includes: ['ploneorg']
7-
3+
initial_user_password: 'adminadmin'
4+
zcml_package_includes: ploneorg
85
dos_protection_available: true
9-
106
db_storage: relstorage
117
db_relstorage_postgresql_driver: psycopg2
128
db_relstorage_postgresql_dsn: dbname='ploneorg' user='ploneorg' host='127.0.0.1' password='ploneorg'

backend/mx.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
; version-overrides =
99
; example.package==2.1.0a2
1010

11-
version-overrides =
12-
pip==23.3.2
13-
mxdev==3.1.0
11+
;version-overrides =
1412

1513
[plone.app.vulnerabilities]
1614
url = https://github.com/plone/plone.app.vulnerabilities.git

backend/requirements-bootstrap.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# These packages are installed after creating the virtualenv and are needed to further configure and
22
# install the main backend application. Keep these versions pinned and add possible subdependencies
3-
pip==23.3.2
3+
# We cannoot use the generated constraints-mxdev.txt because it doesn't exist when bootstrapping
4+
pip==24.0
45
wheel==0.42.0
5-
cookiecutter==2.5.0
66
mxdev==3.1.0
7+
cookiecutter==2.6.0
78
prettyconf==2.2.1

backend/requirements-docker.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
-c constraints.txt
22
-e src/ploneorg
3+
4+
relstorage==4.0.0
5+
psycopg2==2.9.9
6+
collective.revisionmanager==1.2.2

backend/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33

44
relstorage==4.0.0
55
psycopg2==2.9.9
6+
collective.revisionmanager==1.2.2
67
zope.testrunner

0 commit comments

Comments
 (0)