plone.exportimport 1.0.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.
- plone_exportimport-1.0.0/.editorconfig +56 -0
- plone_exportimport-1.0.0/.flake8 +22 -0
- plone_exportimport-1.0.0/.gitignore +56 -0
- plone_exportimport-1.0.0/.meta.toml +35 -0
- plone_exportimport-1.0.0/.pre-commit-config.yaml +94 -0
- plone_exportimport-1.0.0/CHANGES.md +145 -0
- plone_exportimport-1.0.0/CONTRIBUTING.md +1 -0
- plone_exportimport-1.0.0/LICENSE +339 -0
- plone_exportimport-1.0.0/MANIFEST.in +13 -0
- plone_exportimport-1.0.0/Makefile +121 -0
- plone_exportimport-1.0.0/PKG-INFO +316 -0
- plone_exportimport-1.0.0/README.md +100 -0
- plone_exportimport-1.0.0/constraints.txt +1 -0
- plone_exportimport-1.0.0/dependabot.yml +11 -0
- plone_exportimport-1.0.0/instance.yaml +7 -0
- plone_exportimport-1.0.0/mx.ini +6 -0
- plone_exportimport-1.0.0/pyproject.toml +170 -0
- plone_exportimport-1.0.0/requirements.txt +3 -0
- plone_exportimport-1.0.0/setup.cfg +4 -0
- plone_exportimport-1.0.0/setup.py +97 -0
- plone_exportimport-1.0.0/src/plone/__init__.py +1 -0
- plone_exportimport-1.0.0/src/plone/exportimport/__init__.py +8 -0
- plone_exportimport-1.0.0/src/plone/exportimport/cli/__init__.py +78 -0
- plone_exportimport-1.0.0/src/plone/exportimport/configure.zcml +21 -0
- plone_exportimport-1.0.0/src/plone/exportimport/deserializers/__init__.py +0 -0
- plone_exportimport-1.0.0/src/plone/exportimport/deserializers/blob.py +44 -0
- plone_exportimport-1.0.0/src/plone/exportimport/deserializers/blocks.py +15 -0
- plone_exportimport-1.0.0/src/plone/exportimport/deserializers/configure.zcml +4 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/__init__.py +85 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/base.py +80 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/configure.zcml +61 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/content.py +165 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/discussions.py +34 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/portlets.py +19 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/principals.py +24 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/redirects.py +19 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/relations.py +19 -0
- plone_exportimport-1.0.0/src/plone/exportimport/exporters/translations.py +21 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/__init__.py +66 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/base.py +93 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/configure.zcml +67 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/content.py +166 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/discussions.py +24 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/final.py +44 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/portlets.py +16 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/principals.py +34 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/redirects.py +16 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/relations.py +23 -0
- plone_exportimport-1.0.0/src/plone/exportimport/importers/translations.py +16 -0
- plone_exportimport-1.0.0/src/plone/exportimport/interfaces.py +23 -0
- plone_exportimport-1.0.0/src/plone/exportimport/serializers/__init__.py +0 -0
- plone_exportimport-1.0.0/src/plone/exportimport/serializers/blob.py +100 -0
- plone_exportimport-1.0.0/src/plone/exportimport/serializers/blocks.py +15 -0
- plone_exportimport-1.0.0/src/plone/exportimport/serializers/configure.zcml +10 -0
- plone_exportimport-1.0.0/src/plone/exportimport/serializers/fields.py +93 -0
- plone_exportimport-1.0.0/src/plone/exportimport/settings.py +19 -0
- plone_exportimport-1.0.0/src/plone/exportimport/testing/__init__.py +27 -0
- plone_exportimport-1.0.0/src/plone/exportimport/types.py +71 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/__init__.py +1 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/cli.py +63 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/content/__init__.py +19 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/content/blocks.py +47 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/content/core.py +81 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/content/export_helpers.py +365 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/content/import_helpers.py +382 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/content/revisions.py +45 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/dates.py +21 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/discussions.py +137 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/path.py +21 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/permissions.py +49 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/portlets.py +312 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/principals/__init__.py +4 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/principals/groups.py +50 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/principals/helpers.py +41 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/principals/members.py +152 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/redirects.py +30 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/relations.py +102 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/translations.py +143 -0
- plone_exportimport-1.0.0/src/plone/exportimport/utils/zca.py +13 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/PKG-INFO +316 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/SOURCES.txt +165 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/dependency_links.txt +1 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/entry_points.txt +6 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/namespace_packages.txt +1 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/not-zip-safe +1 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/requires.txt +36 -0
- plone_exportimport-1.0.0/src/plone.exportimport.egg-info/top_level.txt +1 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/35661c9bb5be42c68f665aa1ed291418/data.json +71 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/3e0dd7c4b2714eafa1d6fc6a1493f953/data.json +49 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/3e0dd7c4b2714eafa1d6fc6a1493f953/file/plone.pdf +0 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/45b0b46f17104a7b8fa7bb94d3dd5bd9/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/5d77cd5686184ec49ab077017b1fbc3a/data.json +70 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/70844f7bec1843b8ab2796c972c9ebfe/data.json +68 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/7c1393f615c4447c80db0d784390c5b7/data.json +79 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/7c1393f615c4447c80db0d784390c5b7/image/brazil-coins.png +0 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/90b11c863598495ba699b22ca76b1041/data.json +52 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/90b11c863598495ba699b22ca76b1041/image/2025.png +0 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/__metadata__.json +113 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/e7359727ace64e609b79c4091c38822a/data.json +141 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/content/plone_site_root/data.json +631 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/discussions.json +158 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/portlets.json +83 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/principals.json +90 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/redirects.json +1 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/relations.json +1 -0
- plone_exportimport-1.0.0/tests/_resources/base_import/translations.json +1 -0
- plone_exportimport-1.0.0/tests/_resources/empty_import/.gitkeep +0 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/01fbca4cccd448d880959ba93aa8176e/data.json +51 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/1cbf4ae73c74459485d3fd6cb9714e43/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/20737423549c43a88488242ec629e087/data.json +54 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/2be023c76b3e4e0aa9908c70f19a14df/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/2d099ac593344be7aaf2e4aafbba9065/data.json +57 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/3e3d4bf2cac4482f9c03e34b52092f02/data.json +51 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/496cbe4f17904d6bb9321b23f91dc8cc/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/59e06b23024a4c4b9d93672fe440e019/data.json +54 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/5ffe1d0c89c745eaab26df0e71ac82de/data.json +57 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/6d8a2b38d445462aa19f604b0801a13c/data.json +54 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/85a60611c2744e7abe53e3f356df236a/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/__metadata__.json +182 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/b69412b6d0b0438d85b340c13a39fc8c/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/cecc6f7007344d3cbac68f1da4bd084a/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/ddb27456033d4b86a78f3ec783874b63/data.json +57 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/f40d3a236b464aa487b715adf3c0be92/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/f9767fbdadf041bd892010d21b290cb5/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/f98b033fa8ce46f487ca8923ddae7480/data.json +51 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/fbcd98e2d1a741e2a90b8f0389203530/data.json +63 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/content/plone_site_root/data.json +37 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/discussions.json +158 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/principals.json +89 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/redirects.json +4 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/relations.json +17 -0
- plone_exportimport-1.0.0/tests/_resources/multilingual_import/translations.json +37 -0
- plone_exportimport-1.0.0/tests/_resources/portlets_import/portlets.json +47 -0
- plone_exportimport-1.0.0/tests/_resources/principals_import/principals.json +77 -0
- plone_exportimport-1.0.0/tests/conftest.py +244 -0
- plone_exportimport-1.0.0/tests/exporters/conftest.py +34 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters.py +88 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_content.py +161 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_discussions.py +55 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_portlets.py +84 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_principals.py +55 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_redirects.py +39 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_relations.py +56 -0
- plone_exportimport-1.0.0/tests/exporters/test_exporters_translations.py +55 -0
- plone_exportimport-1.0.0/tests/importers/conftest.py +22 -0
- plone_exportimport-1.0.0/tests/importers/test_importers.py +124 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_content.py +140 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_discussions.py +36 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_final.py +84 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_portlets.py +50 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_principals.py +42 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_redirects.py +36 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_relations.py +36 -0
- plone_exportimport-1.0.0/tests/importers/test_importers_translations.py +36 -0
- plone_exportimport-1.0.0/tests/utils/conftest.py +0 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_content_core.py +120 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_content_export_helpers.py +41 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_content_revisions.py +25 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_dates.py +55 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_discussions.py +92 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_path.py +48 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_principals_groups.py +38 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_principals_members.py +40 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_redirects.py +39 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_relations.py +156 -0
- plone_exportimport-1.0.0/tests/utils/test_utils_translations.py +142 -0
- plone_exportimport-1.0.0/tox.ini +230 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/config/default
|
|
3
|
+
# See the inline comments on how to expand/tweak this configuration file
|
|
4
|
+
#
|
|
5
|
+
# EditorConfig Configuration file, for more details see:
|
|
6
|
+
# http://EditorConfig.org
|
|
7
|
+
# EditorConfig is a convention description, that could be interpreted
|
|
8
|
+
# by multiple editors to enforce common coding conventions for specific
|
|
9
|
+
# file types
|
|
10
|
+
|
|
11
|
+
# top-most EditorConfig file:
|
|
12
|
+
# Will ignore other EditorConfig files in Home directory or upper tree level.
|
|
13
|
+
root = true
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
[*]
|
|
17
|
+
# Default settings for all files.
|
|
18
|
+
# Unix-style newlines with a newline ending every file
|
|
19
|
+
end_of_line = lf
|
|
20
|
+
insert_final_newline = true
|
|
21
|
+
trim_trailing_whitespace = true
|
|
22
|
+
# Set default charset
|
|
23
|
+
charset = utf-8
|
|
24
|
+
# Indent style default
|
|
25
|
+
indent_style = space
|
|
26
|
+
# Max Line Length - a hard line wrap, should be disabled
|
|
27
|
+
max_line_length = off
|
|
28
|
+
|
|
29
|
+
[*.{py,cfg,ini}]
|
|
30
|
+
# 4 space indentation
|
|
31
|
+
indent_size = 4
|
|
32
|
+
|
|
33
|
+
[*.{yml,zpt,pt,dtml,zcml,html,xml}]
|
|
34
|
+
# 2 space indentation
|
|
35
|
+
indent_size = 2
|
|
36
|
+
|
|
37
|
+
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}]
|
|
38
|
+
# Frontend development
|
|
39
|
+
# 2 space indentation
|
|
40
|
+
indent_size = 2
|
|
41
|
+
max_line_length = 80
|
|
42
|
+
|
|
43
|
+
[{Makefile,.gitmodules}]
|
|
44
|
+
# Tab indentation (no size specified, but view as 4 spaces)
|
|
45
|
+
indent_style = tab
|
|
46
|
+
indent_size = unset
|
|
47
|
+
tab_width = unset
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
##
|
|
51
|
+
# Add extra configuration options in .meta.toml:
|
|
52
|
+
# [editorconfig]
|
|
53
|
+
# extra_lines = """
|
|
54
|
+
# _your own configuration lines_
|
|
55
|
+
# """
|
|
56
|
+
##
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/config/default
|
|
3
|
+
# See the inline comments on how to expand/tweak this configuration file
|
|
4
|
+
[flake8]
|
|
5
|
+
doctests = 1
|
|
6
|
+
ignore =
|
|
7
|
+
# black takes care of line length
|
|
8
|
+
E501,
|
|
9
|
+
# black takes care of where to break lines
|
|
10
|
+
W503,
|
|
11
|
+
# black takes care of spaces within slicing (list[:])
|
|
12
|
+
E203,
|
|
13
|
+
# black takes care of spaces after commas
|
|
14
|
+
E231,
|
|
15
|
+
|
|
16
|
+
##
|
|
17
|
+
# Add extra configuration options in .meta.toml:
|
|
18
|
+
# [flake8]
|
|
19
|
+
# extra_lines = """
|
|
20
|
+
# _your own configuration lines_
|
|
21
|
+
# """
|
|
22
|
+
##
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/config/default
|
|
3
|
+
# See the inline comments on how to expand/tweak this configuration file
|
|
4
|
+
# python related
|
|
5
|
+
*.egg-info
|
|
6
|
+
*.pyc
|
|
7
|
+
*.pyo
|
|
8
|
+
|
|
9
|
+
# translation related
|
|
10
|
+
*.mo
|
|
11
|
+
|
|
12
|
+
# tools related
|
|
13
|
+
build/
|
|
14
|
+
.coverage
|
|
15
|
+
.*project
|
|
16
|
+
coverage.xml
|
|
17
|
+
dist/
|
|
18
|
+
__pycache__/
|
|
19
|
+
.tox
|
|
20
|
+
.vscode/
|
|
21
|
+
node_modules/
|
|
22
|
+
|
|
23
|
+
# venv / buildout related
|
|
24
|
+
bin/
|
|
25
|
+
develop-eggs/
|
|
26
|
+
eggs/
|
|
27
|
+
.eggs/
|
|
28
|
+
etc/
|
|
29
|
+
.installed.cfg
|
|
30
|
+
include/
|
|
31
|
+
lib/
|
|
32
|
+
lib64
|
|
33
|
+
.mr.developer.cfg
|
|
34
|
+
parts/
|
|
35
|
+
pyvenv.cfg
|
|
36
|
+
var/
|
|
37
|
+
local.cfg
|
|
38
|
+
|
|
39
|
+
# mxdev
|
|
40
|
+
/instance/
|
|
41
|
+
/.make-sentinels/
|
|
42
|
+
/*-mxdev.txt
|
|
43
|
+
/reports/
|
|
44
|
+
/sources/
|
|
45
|
+
/venv/
|
|
46
|
+
.installed.txt
|
|
47
|
+
|
|
48
|
+
coverage.xml
|
|
49
|
+
|
|
50
|
+
##
|
|
51
|
+
# Add extra configuration options in .meta.toml:
|
|
52
|
+
# [gitignore]
|
|
53
|
+
# extra_lines = """
|
|
54
|
+
# _your own configuration lines_
|
|
55
|
+
# """
|
|
56
|
+
##
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/config/default
|
|
3
|
+
# See the inline comments on how to expand/tweak this configuration file
|
|
4
|
+
[meta]
|
|
5
|
+
template = "default"
|
|
6
|
+
commit-id = "ae379f1f"
|
|
7
|
+
|
|
8
|
+
[pyproject]
|
|
9
|
+
codespell_skip = "*.min.js"
|
|
10
|
+
codespell_ignores = "vew"
|
|
11
|
+
dependencies_ignores = "['plone.volto', 'plone.app.discussion', 'plone.app.iterate', 'plone.app.multilingual', 'plone.app.upgrade', 'zestreleaser.towncrier', 'zest.releaser', 'pytest', 'pytest-cov', 'pytest-plone', 'plone.testing', 'plone.app.testing', 'plone.portlets', 'plone.app.portlets']"
|
|
12
|
+
dependencies_mappings = [
|
|
13
|
+
"Plone = ['Products.CMFPlone', 'Products.CMFCore', 'Products.GenericSetup']",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[tox]
|
|
17
|
+
test_runner = "pytest"
|
|
18
|
+
test_path = "/tests"
|
|
19
|
+
use_mxdev = true
|
|
20
|
+
test_deps_additional = ""
|
|
21
|
+
|
|
22
|
+
[github]
|
|
23
|
+
py_versions = "[\"3.12\", \"3.11\", \"3.10\"]"
|
|
24
|
+
jobs = [
|
|
25
|
+
"qa",
|
|
26
|
+
"test",
|
|
27
|
+
"coverage",
|
|
28
|
+
"dependencies",
|
|
29
|
+
"release_ready",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[gitignore]
|
|
33
|
+
extra_lines = """
|
|
34
|
+
coverage.xml
|
|
35
|
+
"""
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/config/default
|
|
3
|
+
# See the inline comments on how to expand/tweak this configuration file
|
|
4
|
+
ci:
|
|
5
|
+
autofix_prs: false
|
|
6
|
+
autoupdate_schedule: monthly
|
|
7
|
+
|
|
8
|
+
repos:
|
|
9
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
10
|
+
rev: v3.15.2
|
|
11
|
+
hooks:
|
|
12
|
+
- id: pyupgrade
|
|
13
|
+
args: [--py38-plus]
|
|
14
|
+
- repo: https://github.com/pycqa/isort
|
|
15
|
+
rev: 5.13.2
|
|
16
|
+
hooks:
|
|
17
|
+
- id: isort
|
|
18
|
+
- repo: https://github.com/psf/black
|
|
19
|
+
rev: 24.4.2
|
|
20
|
+
hooks:
|
|
21
|
+
- id: black
|
|
22
|
+
- repo: https://github.com/collective/zpretty
|
|
23
|
+
rev: 3.1.0
|
|
24
|
+
hooks:
|
|
25
|
+
- id: zpretty
|
|
26
|
+
|
|
27
|
+
##
|
|
28
|
+
# Add extra configuration options in .meta.toml:
|
|
29
|
+
# [pre_commit]
|
|
30
|
+
# zpretty_extra_lines = """
|
|
31
|
+
# _your own configuration lines_
|
|
32
|
+
# """
|
|
33
|
+
##
|
|
34
|
+
- repo: https://github.com/PyCQA/flake8
|
|
35
|
+
rev: 7.0.0
|
|
36
|
+
hooks:
|
|
37
|
+
- id: flake8
|
|
38
|
+
|
|
39
|
+
##
|
|
40
|
+
# Add extra configuration options in .meta.toml:
|
|
41
|
+
# [pre_commit]
|
|
42
|
+
# flake8_extra_lines = """
|
|
43
|
+
# _your own configuration lines_
|
|
44
|
+
# """
|
|
45
|
+
##
|
|
46
|
+
- repo: https://github.com/codespell-project/codespell
|
|
47
|
+
rev: v2.2.6
|
|
48
|
+
hooks:
|
|
49
|
+
- id: codespell
|
|
50
|
+
additional_dependencies:
|
|
51
|
+
- tomli
|
|
52
|
+
|
|
53
|
+
##
|
|
54
|
+
# Add extra configuration options in .meta.toml:
|
|
55
|
+
# [pre_commit]
|
|
56
|
+
# codespell_extra_lines = """
|
|
57
|
+
# _your own configuration lines_
|
|
58
|
+
# """
|
|
59
|
+
##
|
|
60
|
+
- repo: https://github.com/mgedmin/check-manifest
|
|
61
|
+
rev: "0.49"
|
|
62
|
+
hooks:
|
|
63
|
+
- id: check-manifest
|
|
64
|
+
- repo: https://github.com/regebro/pyroma
|
|
65
|
+
rev: "4.2"
|
|
66
|
+
hooks:
|
|
67
|
+
- id: pyroma
|
|
68
|
+
- repo: https://github.com/mgedmin/check-python-versions
|
|
69
|
+
rev: "0.22.0"
|
|
70
|
+
hooks:
|
|
71
|
+
- id: check-python-versions
|
|
72
|
+
args: ['--only', 'setup.py,pyproject.toml']
|
|
73
|
+
- repo: https://github.com/collective/i18ndude
|
|
74
|
+
rev: "6.2.0"
|
|
75
|
+
hooks:
|
|
76
|
+
- id: i18ndude
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
##
|
|
80
|
+
# Add extra configuration options in .meta.toml:
|
|
81
|
+
# [pre_commit]
|
|
82
|
+
# i18ndude_extra_lines = """
|
|
83
|
+
# _your own configuration lines_
|
|
84
|
+
# """
|
|
85
|
+
##
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
##
|
|
89
|
+
# Add extra configuration options in .meta.toml:
|
|
90
|
+
# [pre_commit]
|
|
91
|
+
# extra_lines = """
|
|
92
|
+
# _your own configuration lines_
|
|
93
|
+
# """
|
|
94
|
+
##
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
You should *NOT* be adding new change log entries to this file.
|
|
5
|
+
You should create a file in the news directory instead.
|
|
6
|
+
For helpful instructions, please see:
|
|
7
|
+
https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
<!-- towncrier release notes start -->
|
|
11
|
+
|
|
12
|
+
## 1.0.0 (2025-01-31)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug fixes:
|
|
16
|
+
|
|
17
|
+
- Export the raw value of rich text fields, instead of the transformed output.
|
|
18
|
+
This fixes internal links in Classic UI based distributions.
|
|
19
|
+
@mauritsvanrees #48
|
|
20
|
+
- Fix traceback when translation group does not have the default language.
|
|
21
|
+
@mauritsvanrees #50
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Documentation:
|
|
25
|
+
|
|
26
|
+
- Migrate documentation to README.md and https://6.docs.plone.org/admin-guide/export-import.html. @stevepiercy #46
|
|
27
|
+
|
|
28
|
+
## 1.0.0b1 (2025-01-23)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### New features:
|
|
32
|
+
|
|
33
|
+
- Include revisions only when passing `--include-revisions`. @mauritsvanrees #39
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug fixes:
|
|
37
|
+
|
|
38
|
+
- Export principals: sort groups, roles, and members. @mauritsvanrees #39
|
|
39
|
+
- Import: update modification dates again at the end. The original modification dates may have changed. @mauritsvanrees #39
|
|
40
|
+
- Do not export parent info.
|
|
41
|
+
This information is no longer needed: during import, parents are now always found by path and not by UID.
|
|
42
|
+
From now on, the import ignores any parent info that is set.
|
|
43
|
+
@mauritsvanrees #39
|
|
44
|
+
|
|
45
|
+
## 1.0.0a8 (2024-10-11)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Bug fixes:
|
|
49
|
+
|
|
50
|
+
- Use plone.app.discussion and plone.app.multilingual as optional dependencies.
|
|
51
|
+
@davisagli #18
|
|
52
|
+
- Include 'isReferencing' relations in import. @ksuess #32
|
|
53
|
+
- Set constraints after setting local permissions on content [@ericof] #33
|
|
54
|
+
- Export adds a newline at the end of all files.
|
|
55
|
+
This matches the `.editorconfig` settings that we have in most Plone packages.
|
|
56
|
+
[maurits] #35
|
|
57
|
+
- Do not export or import translations when `plone.app.multilingual` is not available.
|
|
58
|
+
[maurits] #35
|
|
59
|
+
- Disallowlisted portlets were not imported when there was no accompanying change in the actual portlet list.
|
|
60
|
+
[maurits] #35
|
|
61
|
+
- Add a fixer for the `allow_discussion` key: this should only contain True or False when this is explicitly set on the object.
|
|
62
|
+
[maurits] #35
|
|
63
|
+
- Do not export or import discussions/comments when `plone.app.discussion` is not available.
|
|
64
|
+
[maurits] #35
|
|
65
|
+
- Renamed `blacklisted_status` key to `blocked_status` to be sensitive.
|
|
66
|
+
We still read the old key for backwards compatibility.
|
|
67
|
+
[maurits] #35
|
|
68
|
+
|
|
69
|
+
## 1.0.0a7 (2024-06-13)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### New features:
|
|
73
|
+
|
|
74
|
+
- Export / Import local permissions for each content [@ericof] #15
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Bug fixes:
|
|
78
|
+
|
|
79
|
+
- Fix `plone.exportimport.utils.principals.members._run_as_manager` function [@ericof] #29
|
|
80
|
+
|
|
81
|
+
## 1.0.0a6 (2024-06-10)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### Bug fixes:
|
|
85
|
+
|
|
86
|
+
- Allow granting roles other than Manager and Member to principals [@ericof] #25
|
|
87
|
+
- Fix export of language for content [@sneridagh] #26
|
|
88
|
+
|
|
89
|
+
## 1.0.0a5 (2024-05-16)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Internal:
|
|
93
|
+
|
|
94
|
+
- Fix list of test dependencies [@ericof]
|
|
95
|
+
|
|
96
|
+
## 1.0.0a4 (2024-05-15)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### New features:
|
|
100
|
+
|
|
101
|
+
- Add pre_deserialize_hooks to content import [@pbauer] #22
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Bug fixes:
|
|
105
|
+
|
|
106
|
+
- Reindex members of relations in case that they contain preview_image_links
|
|
107
|
+
[sneridagh] #13
|
|
108
|
+
- Avoid duplicating portlets registration during import [@ericof] #16
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Internal:
|
|
112
|
+
|
|
113
|
+
- Update plone/meta [@ericof] #20
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## 1.0.0a3 (2024-05-02)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Bug fixes:
|
|
120
|
+
|
|
121
|
+
- Fix importer by issuing a transaction commit
|
|
122
|
+
[sneridagh] #9
|
|
123
|
+
- Account for use case language is empty string
|
|
124
|
+
[sneridagh] #10
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## 1.0.0a2 (2024-04-18)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### New features:
|
|
131
|
+
|
|
132
|
+
- Support export/import of portlets if plone.app.portlets is installed. @davisagli #8
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## 1.0.0a1 (2024-04-17)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### New features:
|
|
139
|
+
|
|
140
|
+
- Implement exporter and importer for content [@ericof] #1
|
|
141
|
+
- Implement exporter and importer for members and groups [@ericof] #2
|
|
142
|
+
- Implement exporter and importer for redirects [@ericof] #3
|
|
143
|
+
- Implement exporter and importer for relations [@ericof] #4
|
|
144
|
+
- Implement exporter and importer for translations [@ericof] #5
|
|
145
|
+
- Implement exporter and importer for discussions [@ericof] #6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Please see [Contributing](https://github.com/plone/plone.exportimport/?tab=readme-ov-file#Contributing).
|