Skip to content

Commit 8179c14

Browse files
authored
Merge branch '6-dev' into gha-vale
2 parents 8fc9ef3 + 84df2f6 commit 8179c14

File tree

14 files changed

+34
-42
lines changed

14 files changed

+34
-42
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ linkcheck: deps ## Run linkcheck
189189

190190
.PHONY: linkcheckbroken
191191
linkcheckbroken: deps ## Run linkcheck and show only broken links
192-
cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=auto || test $$? = 1
192+
cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | grep -wi "broken\|redirect" | GREP_COLORS='0;31' grep -vi "https://github.com/plone/volto/issues/" --color=auto || test $$? = 1
193193
@echo
194194
@echo "Link check complete; look for any errors in the above output " \
195195
"or in $(BUILDDIR)/linkcheck/ ."

docs/backend/upgrading/version-specific-migration/upgrade-to-python3.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -305,16 +305,6 @@ These should be changed so that Python 3 is the default.
305305
For example, string types (or text) should be represented as `'foo'`, not `u'foo'`, and bytes types (or data) should be represented as `b'bar'`, not `'bar'`.
306306
Search for examples of `Py23DocChecker` in Plone's packages to find a pattern which allows updated doctests to pass in Python 2.
307307

308-
- To test your code against `buildout.coredev`, start by browsing to [Add-ons \[Jenkins\]](https://jenkins.plone.org/view/Add-ons/).
309-
- Note there are jobs set up for Plone 4.3, 5.0, 5.1, and 5.2 on Python 2, and three jobs that run tests for Plone 5.2 on Python 3.6, Python 3.7, Python 3.8, and Python 3.9.
310-
- Click the link {guilabel}`log in` on Jenkins website (top right).
311-
For the first login, you must authorize Jenkins to have access to your GitHub account to authenticate.
312-
- Click the link for the job you want to run.
313-
For example, {guilabel}`Test add-on against Plone 5.2 on Python3.8`.
314-
- Choose the link {guilabel}`Build with parameters` in the menu on the left-hand side.
315-
- Fill the fields {guilabel}`ADDON_URL` and {guilabel}`ADDON_BRANCH` with your repository's URL and the branch name ("python3" if you followed these instructions).
316-
- Start the build with the {guilabel}`Build` button.
317-
318308

319309
## 7. Update add-on information
320310

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ def source_replace(app, docname, source):
295295

296296
# Dict of replacements.
297297
source_replacements = {
298-
"{PLONE_BACKEND_VERSION}": "6.0.0",
298+
"{PLONE_BACKEND_MINOR_VERSION}": "6.0",
299+
"{PLONE_BACKEND_PATCH_VERSION}": "6.0.0.1",
299300
}
300301

301302

docs/install/containers/examples/haproxy-plone-zeo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040
LOG_LEVEL: "info"
4141

4242
backend:
43-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
43+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
4444
restart: always
4545
environment:
4646
ZEO_ADDRESS: zeo:8100

docs/install/containers/examples/nginx-plone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ services:
7676
- "80:80"
7777

7878
backend:
79-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
79+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
8080
environment:
8181
SITE: Plone
8282
TYPE: classic

docs/install/containers/examples/nginx-volto-plone-postgresql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ services:
106106
- backend
107107

108108
backend:
109-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
109+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
110110
environment:
111111
SITE: Plone
112112
RELSTORAGE_DSN: "dbname='plone' user='plone' host='db' password='plone'"

docs/install/containers/examples/nginx-volto-plone-zeo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ services:
106106
- backend
107107

108108
backend:
109-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
109+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
110110
environment:
111111
SITE: Plone
112112
ZEO_ADDRESS: db:8100

docs/install/containers/examples/nginx-volto-plone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ services:
104104
- backend
105105

106106
backend:
107-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
107+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
108108
environment:
109109
SITE: Plone
110110
volumes:

docs/install/containers/images/backend.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This chapter covers Plone backend [Docker](https://www.docker.com/) images using
1818
### Simple usage
1919

2020
```shell
21-
docker run -p 8080:8080 plone/plone-backend:{PLONE_BACKEND_VERSION} start
21+
docker run -p 8080:8080 plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION} start
2222
```
2323

2424
Then point your browser at `http://localhost:8080`.
@@ -62,7 +62,7 @@ Plone 6 example:
6262

6363
```shell
6464
# Makes Zope listen to port 8081 instead of the default 8080.
65-
docker run -p 8081:8081 -e LISTEN_PORT=8081 plone/plone-backend:{PLONE_BACKEND_VERSION}
65+
docker run -p 8081:8081 -e LISTEN_PORT=8081 plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
6666
```
6767

6868
### Site creation variables
@@ -84,13 +84,13 @@ To recreate the Plone site when restarting the container, you can pass the `DELE
8484
Plone 6 example:
8585

8686
```shell
87-
docker run -p 8080:8080 -e ADDONS="eea.api.layout" -e SITE="Plone" -e PROFILES="eea.api.layout:default" plone/plone-backend:{PLONE_BACKEND_VERSION}
87+
docker run -p 8080:8080 -e ADDONS="eea.api.layout" -e SITE="Plone" -e PROFILES="eea.api.layout:default" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
8888
```
8989

9090
Plone 6 Classic example:
9191

9292
```shell
93-
docker run -p 8080:8080 -e ADDONS="eea.facetednavigation" -e SITE="Plone" -e TYPE="classic" -e PROFILES="eea.facetednavigation:default" plone/plone-backend:{PLONE_BACKEND_VERSION}
93+
docker run -p 8080:8080 -e ADDONS="eea.facetednavigation" -e SITE="Plone" -e TYPE="classic" -e PROFILES="eea.facetednavigation:default" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
9494
```
9595

9696
```{warning}
@@ -124,7 +124,7 @@ version: "3"
124124
services:
125125

126126
backend:
127-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
127+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
128128
restart: always
129129
environment:
130130
ZEO_ADDRESS: zeo:8100
@@ -192,7 +192,7 @@ version: "3"
192192
services:
193193

194194
backend:
195-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
195+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
196196
environment:
197197
RELSTORAGE_DSN: "dbname='plone' user='plone' host='db' password='plone'"
198198
ports:
@@ -241,7 +241,7 @@ To do so, pass the `ADDONS` environment variable with a space separated list of
241241
(see below for documentation of the supported variables):
242242

243243
```shell
244-
docker run -p 8080:8080 -e ADDONS="pas.plugins.authomatic" plone/plone-backend:{PLONE_BACKEND_VERSION} start
244+
docker run -p 8080:8080 -e ADDONS="pas.plugins.authomatic" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION} start
245245
```
246246

247247
After Plone has started, you can add your Plone site (if none exists yet) and install the added
@@ -250,7 +250,7 @@ add-ons to your site.
250250
This approach also allows you to test Plone with a specific version of one of its core components
251251

252252
```shell
253-
docker run -p 8080:8080 -e ADDONS="plone.volto==3.1.0a3" plone/plone-backend:{PLONE_BACKEND_VERSION} start
253+
docker run -p 8080:8080 -e ADDONS="plone.volto==3.1.0a3" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION} start
254254
```
255255

256256
#### Add-on variables
@@ -286,13 +286,13 @@ extend the official container images to include your desired add-ons in your own
286286
```
287287

288288
```shell
289-
docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" plone/plone-backend:{PLONE_BACKEND_VERSION} start
289+
docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION} start
290290
```
291291

292292
This approach also allows you to develop local packages by using a volume.
293293

294294
```shell
295-
docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.policy:/app/src/mysite.policy plone/plone-backend:{PLONE_BACKEND_VERSION} start
295+
docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.policy:/app/src/mysite.policy plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION} start
296296
```
297297

298298
(backend-extending-from-this-image-label)=
@@ -302,7 +302,7 @@ docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.p
302302
In a directory create a `Dockerfile` file:
303303

304304
```Dockerfile
305-
FROM plone/plone-backend:{PLONE_BACKEND_VERSION}
305+
FROM plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
306306
307307
RUN apt-get update \
308308
&& apt-get install -y --no-install-recommends gcc \

docs/install/containers/images/frontend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ version: "3"
100100
services:
101101

102102
backend:
103-
image: plone/plone-backend:{PLONE_BACKEND_VERSION}
103+
image: plone/plone-backend:{PLONE_BACKEND_MINOR_VERSION}
104104
# Plone 5.2 series can be used too
105105
# image: plone/plone-backend:5.2.7
106106
ports:

0 commit comments

Comments
 (0)