collective.ftw.upgrade 4.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.
- collective_ftw_upgrade-4.0.0/.editorconfig +56 -0
- collective_ftw_upgrade-4.0.0/.flake8 +22 -0
- collective_ftw_upgrade-4.0.0/.gitignore +60 -0
- collective_ftw_upgrade-4.0.0/.meta.toml +87 -0
- collective_ftw_upgrade-4.0.0/.pre-commit-config.yaml +94 -0
- collective_ftw_upgrade-4.0.0/CHANGELOG.md +712 -0
- collective_ftw_upgrade-4.0.0/CONTRIBUTORS.md +3 -0
- collective_ftw_upgrade-4.0.0/LICENSE.GPL +339 -0
- collective_ftw_upgrade-4.0.0/LICENSE.md +15 -0
- collective_ftw_upgrade-4.0.0/MANIFEST.in +7 -0
- collective_ftw_upgrade-4.0.0/Makefile +127 -0
- collective_ftw_upgrade-4.0.0/PKG-INFO +1202 -0
- collective_ftw_upgrade-4.0.0/README.md +1154 -0
- collective_ftw_upgrade-4.0.0/bobtemplate.cfg +5 -0
- collective_ftw_upgrade-4.0.0/constraints-mxdev.txt +484 -0
- collective_ftw_upgrade-4.0.0/docs/.gitattributes +1 -0
- collective_ftw_upgrade-4.0.0/docs/HISTORY.txt +824 -0
- collective_ftw_upgrade-4.0.0/docs/LICENSE.GPL +339 -0
- collective_ftw_upgrade-4.0.0/docs/LICENSE.txt +16 -0
- collective_ftw_upgrade-4.0.0/docs/manage-upgrades.png +0 -0
- collective_ftw_upgrade-4.0.0/instance.yaml +3 -0
- collective_ftw_upgrade-4.0.0/mx.ini +17 -0
- collective_ftw_upgrade-4.0.0/news/.changelog_template.jinja +15 -0
- collective_ftw_upgrade-4.0.0/news/.gitkeep +1 -0
- collective_ftw_upgrade-4.0.0/pyproject.toml +333 -0
- collective_ftw_upgrade-4.0.0/requirements.txt +1 -0
- collective_ftw_upgrade-4.0.0/scripts/create-upgrade +30 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/__init__.py +26 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/bbb/__init__.py +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/bbb/interfaces.py +5 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/__init__.py +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/configure.zcml +39 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/manage.py +151 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/icon.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/manage.css +139 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/manage.js +76 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/orphan.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/upgrade-deferrable.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/upgrade-error.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/upgrade-installed.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/upgrade-outdated-fs-version.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/resources/upgrade-proposed.png +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/templates/manage.pt +14 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/browser/templates/manage_plain.pt +324 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/__init__.py +215 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/create.py +106 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/formatter.py +113 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/help.py +53 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/install.py +182 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/jsonapi.py +336 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/list_cmd.py +119 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/plone_upgrade.py +56 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/plone_upgrade_needed.py +43 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/sites.py +44 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/terminal.py +85 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/touch.py +160 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/user.py +35 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/command/utils.py +40 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/configure.zcml +60 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/__init__.py +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/recorder.py +52 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/scaffold.py +54 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/scanner.py +81 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/subscribers.py +61 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/wrapper.py +26 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/directory/zcml.py +151 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/events.py +14 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/exceptions.py +30 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/executioner.py +219 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/gatherer.py +337 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/helpers.py +33 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/indexing.py +55 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/interfaces.py +217 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/intid/__init__.py +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/intid/configure.zcml +11 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/intid/migrate.py +35 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/__init__.py +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/base.py +50 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/configure.zcml +22 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/exceptions.py +107 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/plonesite.py +231 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/utils.py +253 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/jsonapi/zopeapp.py +43 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/locales/de/LC_MESSAGES/ftw.upgrade.po +102 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/locales/ftw.upgrade.pot +105 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/meta.zcml +22 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/placefulworkflow.py +59 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/profiles/default/browserlayer.xml +13 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/profiles/default/controlpanel.xml +21 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/profiles/default/metadata.xml +4 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/profiles/uninstall/browserlayer.xml +8 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/profiles/uninstall/controlpanel.xml +10 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/progresslogger.py +91 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/step.py +523 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/testing.py +103 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/__init__.py +0 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/assets/exclude-from-nav-index.xml +12 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/assets/foo-property.xml +6 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/assets/test-action.xml +29 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/base.py +459 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/builders.py +172 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/helpers.py +77 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/layers.py +180 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_bbb.py +13 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_builders.py +115 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command.py +17 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_create.py +125 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_fake_terminal.py +43 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_help.py +12 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_install.py +462 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_jsonapi.py +266 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_list.py +316 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_plone_upgrade.py +30 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_plone_upgrade_needed.py +29 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_sites.py +34 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_touch.py +236 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_user.py +43 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_command_utils.py +72 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_directory_meta_directive.py +415 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_directory_recorder.py +15 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_directory_scaffold.py +128 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_directory_scanner.py +123 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_directory_upgrade_steps.py +209 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_executioner.py +391 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_gatherer.py +637 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_helpers.py +70 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_jsonapi_plonesite.py +697 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_jsonapi_zopeapp.py +78 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_layers.py +126 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_manage_view.py +226 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_meta_import_profile.py +71 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_placefulworkflow.py +88 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_post_upgrade.py +101 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_progresslogger.py +107 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_savepoint_iterator.py +88 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_transactionnote.py +92 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_upgrade_step.py +1069 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_upgrade_step_intids.py +7 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_utils.py +295 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/tests/test_workflow.py +318 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/transactionnote.py +59 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/utils.py +448 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/workflow.py +232 -0
- collective_ftw_upgrade-4.0.0/src/collective/ftw/upgrade/zcml.py +75 -0
- collective_ftw_upgrade-4.0.0/tox.ini +243 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/src/plone/meta/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/src/plone/meta/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,60 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/src/plone/meta/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
|
+
docs/_build
|
|
19
|
+
__pycache__/
|
|
20
|
+
.tox
|
|
21
|
+
.vscode/
|
|
22
|
+
node_modules/
|
|
23
|
+
forest.dot
|
|
24
|
+
forest.json
|
|
25
|
+
|
|
26
|
+
# venv / buildout related
|
|
27
|
+
bin/
|
|
28
|
+
develop-eggs/
|
|
29
|
+
eggs/
|
|
30
|
+
.eggs/
|
|
31
|
+
etc/
|
|
32
|
+
.installed.cfg
|
|
33
|
+
include/
|
|
34
|
+
lib/
|
|
35
|
+
lib64
|
|
36
|
+
.mr.developer.cfg
|
|
37
|
+
parts/
|
|
38
|
+
pyvenv.cfg
|
|
39
|
+
var/
|
|
40
|
+
local.cfg
|
|
41
|
+
|
|
42
|
+
# mxdev
|
|
43
|
+
/instance/
|
|
44
|
+
/.make-sentinels/
|
|
45
|
+
/*-mxdev.txt
|
|
46
|
+
/reports/
|
|
47
|
+
/sources/
|
|
48
|
+
/venv/
|
|
49
|
+
.installed.txt
|
|
50
|
+
|
|
51
|
+
!/constraints-mxdev.txt
|
|
52
|
+
/.mxdev_cache
|
|
53
|
+
|
|
54
|
+
##
|
|
55
|
+
# Add extra configuration options in .meta.toml:
|
|
56
|
+
# [gitignore]
|
|
57
|
+
# extra_lines = """
|
|
58
|
+
# _your own configuration lines_
|
|
59
|
+
# """
|
|
60
|
+
##
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
|
|
3
|
+
# See the inline comments on how to expand/tweak this configuration file
|
|
4
|
+
[meta]
|
|
5
|
+
template = "default"
|
|
6
|
+
commit-id = "2.3.1"
|
|
7
|
+
|
|
8
|
+
[github]
|
|
9
|
+
jobs = [
|
|
10
|
+
"qa",
|
|
11
|
+
# "coverage",
|
|
12
|
+
# "dependencies",
|
|
13
|
+
# "release_ready",
|
|
14
|
+
"circular",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[pyproject]
|
|
18
|
+
codespell_ignores = "requestor,"
|
|
19
|
+
dependencies_mappings = [
|
|
20
|
+
"""'Plone' = [
|
|
21
|
+
'AccessControl',
|
|
22
|
+
'Acquisition',
|
|
23
|
+
'App',
|
|
24
|
+
'BTrees',
|
|
25
|
+
'lxml',
|
|
26
|
+
'OFS',
|
|
27
|
+
'persistent',
|
|
28
|
+
'plone.app.contenttypes',
|
|
29
|
+
'plone.app.intid',
|
|
30
|
+
'plone.app.relationfield',
|
|
31
|
+
'plone.app.textfield',
|
|
32
|
+
'plone.app.uuid',
|
|
33
|
+
'plone.base',
|
|
34
|
+
'plone.browserlayer',
|
|
35
|
+
'plone.dexterity',
|
|
36
|
+
'plone.namedfile',
|
|
37
|
+
'plone.portlets',
|
|
38
|
+
'plone.protect',
|
|
39
|
+
'plone.registry',
|
|
40
|
+
'plone.uuid',
|
|
41
|
+
'Products.BTreeFolder2',
|
|
42
|
+
'Products.CMFCore',
|
|
43
|
+
'Products.CMFPlacefulWorkflow',
|
|
44
|
+
'Products.CMFPlone',
|
|
45
|
+
'Products.GenericSetup',
|
|
46
|
+
'Products.SiteAccess',
|
|
47
|
+
'Products.ZCatalog',
|
|
48
|
+
'transaction',
|
|
49
|
+
'z3c.relationfield',
|
|
50
|
+
'zExceptions',
|
|
51
|
+
'zope.annotation',
|
|
52
|
+
'zope.browser',
|
|
53
|
+
'zope.component',
|
|
54
|
+
'zope.configuration',
|
|
55
|
+
'zope.container',
|
|
56
|
+
'zope.deprecation',
|
|
57
|
+
'zope.event',
|
|
58
|
+
'zope.globalrequest',
|
|
59
|
+
'zope.interface',
|
|
60
|
+
'zope.intid',
|
|
61
|
+
'zope.keyreference',
|
|
62
|
+
'zope.lifecycleevent',
|
|
63
|
+
'zope.publisher',
|
|
64
|
+
'zope.schema',
|
|
65
|
+
'zope.security',
|
|
66
|
+
'ZPublisher',
|
|
67
|
+
]
|
|
68
|
+
'plone.app.testing' = [
|
|
69
|
+
'plone.testing',
|
|
70
|
+
]
|
|
71
|
+
""",
|
|
72
|
+
]
|
|
73
|
+
dependencies_ignores = "['blessed','cgi','distutils','other.package']"
|
|
74
|
+
extra_lines = """
|
|
75
|
+
[tool.zest-releaser]
|
|
76
|
+
python-file-with-version = "src/collective/ftw/upgrade/__init__.py"
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
[tox]
|
|
80
|
+
use_mxdev = true
|
|
81
|
+
test_matrix = { "6.2" = ["3.13", "3.10"], "6.1" = ["3.13", "3.10"], "6.0" = ["3.13", "3.10"] }
|
|
82
|
+
|
|
83
|
+
[gitignore]
|
|
84
|
+
extra_lines = """
|
|
85
|
+
!/constraints-mxdev.txt
|
|
86
|
+
/.mxdev_cache
|
|
87
|
+
"""
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Generated from:
|
|
2
|
+
# https://github.com/plone/meta/tree/main/src/plone/meta/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.21.2
|
|
11
|
+
hooks:
|
|
12
|
+
- id: pyupgrade
|
|
13
|
+
args: [--py38-plus]
|
|
14
|
+
- repo: https://github.com/pycqa/isort
|
|
15
|
+
rev: 7.0.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: isort
|
|
18
|
+
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
19
|
+
rev: 25.11.0
|
|
20
|
+
hooks:
|
|
21
|
+
- id: black
|
|
22
|
+
- repo: https://github.com/collective/zpretty
|
|
23
|
+
rev: 3.1.1
|
|
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.3.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.4.1
|
|
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.51"
|
|
62
|
+
hooks:
|
|
63
|
+
- id: check-manifest
|
|
64
|
+
- repo: https://github.com/regebro/pyroma
|
|
65
|
+
rev: "5.0"
|
|
66
|
+
hooks:
|
|
67
|
+
- id: pyroma
|
|
68
|
+
- repo: https://github.com/mgedmin/check-python-versions
|
|
69
|
+
rev: "0.24.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.3.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
|
+
##
|