plone.api 2.2.1__tar.gz → 2.2.3__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_api-2.2.1 → plone_api-2.2.3}/CHANGES.rst +19 -0
- plone_api-2.2.3/CONTRIBUTING.rst +1 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/PKG-INFO +24 -3
- {plone_api-2.2.1 → plone_api-2.2.3}/README.md +1 -2
- plone_api-2.2.3/docs/contribute.md +244 -0
- {plone_api-2.2.1/src/plone/api/tests/doctests → plone_api-2.2.3/docs}/env.md +1 -1
- {plone_api-2.2.1/src/plone/api/tests/doctests → plone_api-2.2.3/docs}/group.md +1 -1
- {plone_api-2.2.1 → plone_api-2.2.3}/docs/index.md +1 -1
- {plone_api-2.2.1/src/plone/api/tests/doctests → plone_api-2.2.3/docs}/portal.md +1 -1
- {plone_api-2.2.1/src/plone/api/tests/doctests → plone_api-2.2.3/docs}/relation.md +1 -1
- {plone_api-2.2.1 → plone_api-2.2.3}/docs/user.md +1 -1
- {plone_api-2.2.1 → plone_api-2.2.3}/setup.py +6 -1
- {plone_api-2.2.1/docs → plone_api-2.2.3/src/plone/api/tests/doctests}/env.md +1 -1
- {plone_api-2.2.1/docs → plone_api-2.2.3/src/plone/api/tests/doctests}/group.md +1 -1
- {plone_api-2.2.1/docs → plone_api-2.2.3/src/plone/api/tests/doctests}/portal.md +1 -1
- {plone_api-2.2.1/docs → plone_api-2.2.3/src/plone/api/tests/doctests}/relation.md +1 -1
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/doctests/user.md +1 -1
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/PKG-INFO +24 -3
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/SOURCES.txt +1 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/tox.ini +19 -6
- plone_api-2.2.1/CONTRIBUTING.rst +0 -1
- {plone_api-2.2.1 → plone_api-2.2.3}/LICENSE +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/MANIFEST.in +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/docs/about.md +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/docs/content.md +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/pyproject.toml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/setup.cfg +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/__init__.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/__init__.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/configure.zcml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/content.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/env.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/exc.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/group.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/portal.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/profiles/testfixture/metadata.xml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/profiles/testfixture/types/Dexterity_Folder.xml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/profiles/testfixture/types/Dexterity_Item.xml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/profiles/testfixture/types.xml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/relation.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/testing.zcml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/Dexterity_Folder.xml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/Dexterity_Item.xml +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/__init__.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/base.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/doctests/about.md +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/doctests/content.md +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_content.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_doctests.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_env.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_group.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_portal.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_relation.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_user.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/tests/test_validation.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/user.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/validation.py +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/dependency_links.txt +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/namespace_packages.txt +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/not-zip-safe +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/requires.txt +0 -0
- {plone_api-2.2.1 → plone_api-2.2.3}/src/plone.api.egg-info/top_level.txt +0 -0
|
@@ -8,6 +8,25 @@ Changelog
|
|
|
8
8
|
|
|
9
9
|
.. towncrier release notes start
|
|
10
10
|
|
|
11
|
+
2.2.3 (2024-10-23)
|
|
12
|
+
------------------
|
|
13
|
+
|
|
14
|
+
Documentation:
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- Fixed spelling of prerequisites. @stevepiercy (#541)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
2.2.2 (2024-07-30)
|
|
21
|
+
------------------
|
|
22
|
+
|
|
23
|
+
Documentation:
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- Overhaul contributing documentation for Plone 6. @stevepiercy (#539)
|
|
27
|
+
- Use correct syntax for `no-index` in documentation. @stevepiercy (#540)
|
|
28
|
+
|
|
29
|
+
|
|
11
30
|
2.2.1 (2024-06-26)
|
|
12
31
|
------------------
|
|
13
32
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Please see [Contributing to Plone](https://6.docs.plone.org/contributing/index.html) and [Contributing to `plone.api`](https://6.docs.plone.org/plone.api/contribute/index.html).
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plone.api
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: A Plone API.
|
|
5
5
|
Home-page: https://github.com/plone/plone.api
|
|
6
6
|
Author: Plone Foundation
|
|
7
7
|
Author-email: plone-developers@lists.sourceforge.net
|
|
8
8
|
License: GPL version 2
|
|
9
|
+
Project-URL: Documentation, https://6.docs.plone.org/plone.api/index.html
|
|
10
|
+
Project-URL: Changelog, https://github.com/plone/plone.api/blob/master/CHANGES.rst
|
|
11
|
+
Project-URL: Issue Tracker, https://github.com/plone/plone.api/issues
|
|
9
12
|
Keywords: plone api
|
|
10
13
|
Platform: Any
|
|
11
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -85,8 +88,7 @@ Recipes try to assume the user does not have extensive knowledge about Plone int
|
|
|
85
88
|
|
|
86
89
|
|
|
87
90
|
Contributors
|
|
88
|
-
Please read
|
|
89
|
-
Also consult the section about contribution in the [plone.api contributors documentation](https://5.docs.plone.org/develop/plone.api/docs/contribute/index.html).
|
|
91
|
+
Please read [Contributing to Plone](https://6.docs.plone.org/contributing/index.html) and [Contributing to `plone.api`](https://6.docs.plone.org/plone.api/contribute/index.html).
|
|
90
92
|
|
|
91
93
|
Source Code
|
|
92
94
|
at the [Plone code repository hosted at GitHub](https://github.com/plone/plone.api).
|
|
@@ -111,6 +113,25 @@ Changelog
|
|
|
111
113
|
|
|
112
114
|
.. towncrier release notes start
|
|
113
115
|
|
|
116
|
+
2.2.3 (2024-10-23)
|
|
117
|
+
------------------
|
|
118
|
+
|
|
119
|
+
Documentation:
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
- Fixed spelling of prerequisites. @stevepiercy (#541)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
2.2.2 (2024-07-30)
|
|
126
|
+
------------------
|
|
127
|
+
|
|
128
|
+
Documentation:
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
- Overhaul contributing documentation for Plone 6. @stevepiercy (#539)
|
|
132
|
+
- Use correct syntax for `no-index` in documentation. @stevepiercy (#540)
|
|
133
|
+
|
|
134
|
+
|
|
114
135
|
2.2.1 (2024-06-26)
|
|
115
136
|
------------------
|
|
116
137
|
|
|
@@ -29,8 +29,7 @@ Recipes try to assume the user does not have extensive knowledge about Plone int
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
Contributors
|
|
32
|
-
Please read
|
|
33
|
-
Also consult the section about contribution in the [plone.api contributors documentation](https://5.docs.plone.org/develop/plone.api/docs/contribute/index.html).
|
|
32
|
+
Please read [Contributing to Plone](https://6.docs.plone.org/contributing/index.html) and [Contributing to `plone.api`](https://6.docs.plone.org/plone.api/contribute/index.html).
|
|
34
33
|
|
|
35
34
|
Source Code
|
|
36
35
|
at the [Plone code repository hosted at GitHub](https://github.com/plone/plone.api).
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
---
|
|
2
|
+
myst:
|
|
3
|
+
html_meta:
|
|
4
|
+
"description": "Contribute to plone.api"
|
|
5
|
+
"property=og:description": "Contribute to plone.api"
|
|
6
|
+
"property=og:title": "Contribute to plone.api"
|
|
7
|
+
"keywords": "plone.api, contribute, Plone, API, development"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Contribute to `plone.api`
|
|
11
|
+
|
|
12
|
+
This section describes how to contribute to the `plone.api` project.
|
|
13
|
+
It extends {doc}`plone:contributing/index`.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
Prepare your system by installing prerequisites.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### System libraries
|
|
22
|
+
|
|
23
|
+
You need to install system libraries, as described in {ref}`plone:plone-prerequisites-label`, with the exception of GNU make.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### tox
|
|
27
|
+
|
|
28
|
+
[tox](https://tox.wiki/en/stable/index.html) automates and standardizes testing in Python.
|
|
29
|
+
Install tox into your Python user space with the following command.
|
|
30
|
+
|
|
31
|
+
```shell
|
|
32
|
+
python -m pip install --user tox
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### pre-commit
|
|
36
|
+
|
|
37
|
+
`plone.api` uses [pre-commit](https://pre-commit.com/) to automate code quality checks before every commit.
|
|
38
|
+
|
|
39
|
+
Install pre-commit either with your system package manager.
|
|
40
|
+
Alternatively you can install pre-commit into your Python user.
|
|
41
|
+
|
|
42
|
+
```shell
|
|
43
|
+
python -m pip install --user pre-commit
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Once installed, set up the git hook scripts to run on every commit.
|
|
47
|
+
|
|
48
|
+
```shell
|
|
49
|
+
pre-commit install
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## Create development environment
|
|
54
|
+
|
|
55
|
+
After satisfying the prerequisites, you are ready to create your development environment.
|
|
56
|
+
`plone.api` uses `tox` as a wrapper around `coredev.buildout` to simplify development, whereas Plone core uses `coredev.buildout` directly.
|
|
57
|
+
|
|
58
|
+
Start by changing your working directory to your project folder, and download the latest `plone.api` source code.
|
|
59
|
+
|
|
60
|
+
```shell
|
|
61
|
+
cd <your_project_folder>
|
|
62
|
+
git clone https://github.com/plone/plone.api.git
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Next go into the newly created directory, and build your environment.
|
|
66
|
+
|
|
67
|
+
```shell
|
|
68
|
+
cd plone.api
|
|
69
|
+
tox
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Go make some tea while `tox` runs all tasks listed by issuing the command `tox -l`.
|
|
73
|
+
|
|
74
|
+
Open `tox.ini` in your code editor to see all configured commands and what they do.
|
|
75
|
+
Some helpful `tox` commands are shown below.
|
|
76
|
+
|
|
77
|
+
```shell
|
|
78
|
+
tox -e py39-plone-60 # run all tests for Python 3.9 and Plone 6
|
|
79
|
+
tox -e plone6docs # build documentation
|
|
80
|
+
tox -e livehtml # build, serve, and reload changes to documentation
|
|
81
|
+
tox -l # list all tox environments
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
(git-workflow)=
|
|
86
|
+
|
|
87
|
+
## git
|
|
88
|
+
|
|
89
|
+
Use the following git branches when contributing to `plone.api`.
|
|
90
|
+
|
|
91
|
+
feature branches
|
|
92
|
+
: All development for a new feature or bug fix must be done on a new branch.
|
|
93
|
+
|
|
94
|
+
`master`
|
|
95
|
+
: Pull requests should be made from a feature branch against the `master` branch.
|
|
96
|
+
When features and bug fixes are complete and approved, they are merged into the `master` branch.
|
|
97
|
+
|
|
98
|
+
```{seealso}
|
|
99
|
+
{ref}`plone:contributing-core-work-with-git-label`
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## Continuous integration
|
|
104
|
+
|
|
105
|
+
`plone.api` uses GitHub workflows for continuous integration.
|
|
106
|
+
On every push to the `master` branch, GitHub runs its workflows for all tests and code quality checks.
|
|
107
|
+
GitHub workflows are configured in the directory `.github/workflows` at the root of this package.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## Documentation
|
|
111
|
+
|
|
112
|
+
For every feature change or addition to `plone.api`, you must add documentation of it.
|
|
113
|
+
`plone.api` uses [MyST](https://myst-parser.readthedocs.io/en/latest/) for documentation syntax.
|
|
114
|
+
|
|
115
|
+
```{seealso}
|
|
116
|
+
{doc}`plone:contributing/documentation/index`
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
After adding or modifying documentation, you can build the documentation with the following command.
|
|
120
|
+
|
|
121
|
+
```shell
|
|
122
|
+
tox -e plone6docs
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Alternatively, you can automatically reload changes to the documentation as you edit it in a web browser.
|
|
126
|
+
|
|
127
|
+
```shell
|
|
128
|
+
tox -e livehtml
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
The [`plone.api` documentation](https://6.docs.plone.org/plone.api) is automatically generated from the documentation source files when its submodule is updated in the [main Plone `documentation` repository](https://github.com/plone/documentation/).
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## Add a function to an existing module
|
|
135
|
+
|
|
136
|
+
This section describes how to add a new function `foo` to `plone.api`.
|
|
137
|
+
|
|
138
|
+
The function would go in the module `plone.api.content`, located in the file {file}`src/plone/api/content.py`.
|
|
139
|
+
|
|
140
|
+
% invisible-code-block: python
|
|
141
|
+
%
|
|
142
|
+
% from plone.api.validation import at_least_one_of
|
|
143
|
+
% from plone.api.validation import mutually_exclusive_parameters
|
|
144
|
+
|
|
145
|
+
```python
|
|
146
|
+
@mutually_exclusive_parameters('path', 'UID')
|
|
147
|
+
@at_least_one_of('path', 'UID')
|
|
148
|
+
def foo(path=None, UID=None):
|
|
149
|
+
"""Do foo.
|
|
150
|
+
|
|
151
|
+
:param path: Path to the object we want to get,
|
|
152
|
+
relative to the portal root.
|
|
153
|
+
:type path: string
|
|
154
|
+
|
|
155
|
+
:param UID: UID of the object we want to get.
|
|
156
|
+
:type UID: string
|
|
157
|
+
|
|
158
|
+
:returns: String
|
|
159
|
+
:raises:
|
|
160
|
+
:class:`~plone.api.exc.MissingParameterError`,
|
|
161
|
+
:class:`~plone.api.exc.InvalidParameterError`
|
|
162
|
+
:Example: :ref:`content-foo-example`
|
|
163
|
+
"""
|
|
164
|
+
return "foo"
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
% invisible-code-block: python
|
|
168
|
+
%
|
|
169
|
+
% bar = foo('/plone/blog')
|
|
170
|
+
% self.assertEqual(bar,"foo")
|
|
171
|
+
%
|
|
172
|
+
% from plone.api.exc import InvalidParameterError
|
|
173
|
+
% self.assertRaises(
|
|
174
|
+
% InvalidParameterError,
|
|
175
|
+
% lambda: foo("/plone/blog", "abcd001")
|
|
176
|
+
% )
|
|
177
|
+
|
|
178
|
+
Add documentation in {file}`docs/api/content.md`.
|
|
179
|
+
Narrative documentation should describe what your function does.
|
|
180
|
+
|
|
181
|
+
You should also write some tests in code blocks.
|
|
182
|
+
`TestCase` methods, such as `self.assertEqual()`, are available in `doctests`.
|
|
183
|
+
See [unittest.TestCase assert methods](https://docs.python.org/3/library/unittest.html#unittest.TestCase.debug) for all available methods.
|
|
184
|
+
The file is linked in `/src/plone/api/tests/doctests/`, which includes the doctests in `plone.api`'s test setup.
|
|
185
|
+
The package `manuel` allows you to write doctests as common Python code in code blocks.
|
|
186
|
+
|
|
187
|
+
The following example shows narrative documentation and doctests.
|
|
188
|
+
|
|
189
|
+
````markdown
|
|
190
|
+
(content-foo-example)=
|
|
191
|
+
|
|
192
|
+
## Get the foo of an object
|
|
193
|
+
|
|
194
|
+
You can use the {meth}`api.content.foo` function to get the `foo` of an object.
|
|
195
|
+
|
|
196
|
+
```python
|
|
197
|
+
from plone import api
|
|
198
|
+
blog_foo = api.content.foo(path="/plone/blog")
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
% invisible-code-block: python
|
|
202
|
+
%
|
|
203
|
+
% self.assertEqual(blog_foo,"foo")
|
|
204
|
+
````
|
|
205
|
+
|
|
206
|
+
Code blocks are rendered in documentation.
|
|
207
|
+
|
|
208
|
+
````markdown
|
|
209
|
+
```python
|
|
210
|
+
from plone import api
|
|
211
|
+
blog_foo = api.content.foo(path="/plone/blog")
|
|
212
|
+
```
|
|
213
|
+
````
|
|
214
|
+
|
|
215
|
+
Invisible code blocks are not rendered in documentation and can be used for tests.
|
|
216
|
+
|
|
217
|
+
```markdown
|
|
218
|
+
% invisible-code-block: python
|
|
219
|
+
%
|
|
220
|
+
% self.assertEqual(blog_foo,"foo")
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
Invisible code blocks are also handy for enriching the namespace without cluttering the narrative documentation.
|
|
224
|
+
|
|
225
|
+
```markdown
|
|
226
|
+
% invisible-code-block: python
|
|
227
|
+
%
|
|
228
|
+
% portal = api.portal.get()
|
|
229
|
+
% image = api.content.create(type='Image', id='image', container=portal)
|
|
230
|
+
% blog = api.content.create(type='Link', id='blog', container=portal)
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Functions and examples in documentation are mutually referenced.
|
|
234
|
+
The function references the narrative documentation via the label `content-foo-example`.
|
|
235
|
+
The narrative documentation references the API function documentation via `` {meth}`api.content.foo` ``.
|
|
236
|
+
The documentation is rendered with a link from the API reference to the narrative documentation, which in turn links back to the API reference.
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
## Resources
|
|
240
|
+
|
|
241
|
+
- {doc}`plone:index`
|
|
242
|
+
- [Source code](https://github.com/plone/plone.api)
|
|
243
|
+
- [Issue tracker](https://github.com/plone/plone.api/issues)
|
|
244
|
+
- [Code Coverage](https://coveralls.io/github/plone/plone.api)
|
|
@@ -3,7 +3,7 @@ from setuptools import find_packages
|
|
|
3
3
|
from setuptools import setup
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
version = "2.2.
|
|
6
|
+
version = "2.2.3"
|
|
7
7
|
|
|
8
8
|
long_description = (
|
|
9
9
|
f"{Path('README.md').read_text()}\n"
|
|
@@ -80,4 +80,9 @@ setup(
|
|
|
80
80
|
"Programming Language :: Python :: 3.11",
|
|
81
81
|
],
|
|
82
82
|
platforms="Any",
|
|
83
|
+
project_urls={
|
|
84
|
+
"Documentation": "https://6.docs.plone.org/plone.api/index.html",
|
|
85
|
+
"Changelog": "https://github.com/plone/plone.api/blob/master/CHANGES.rst",
|
|
86
|
+
"Issue Tracker": "https://github.com/plone/plone.api/issues",
|
|
87
|
+
},
|
|
83
88
|
)
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plone.api
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: A Plone API.
|
|
5
5
|
Home-page: https://github.com/plone/plone.api
|
|
6
6
|
Author: Plone Foundation
|
|
7
7
|
Author-email: plone-developers@lists.sourceforge.net
|
|
8
8
|
License: GPL version 2
|
|
9
|
+
Project-URL: Documentation, https://6.docs.plone.org/plone.api/index.html
|
|
10
|
+
Project-URL: Changelog, https://github.com/plone/plone.api/blob/master/CHANGES.rst
|
|
11
|
+
Project-URL: Issue Tracker, https://github.com/plone/plone.api/issues
|
|
9
12
|
Keywords: plone api
|
|
10
13
|
Platform: Any
|
|
11
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -85,8 +88,7 @@ Recipes try to assume the user does not have extensive knowledge about Plone int
|
|
|
85
88
|
|
|
86
89
|
|
|
87
90
|
Contributors
|
|
88
|
-
Please read
|
|
89
|
-
Also consult the section about contribution in the [plone.api contributors documentation](https://5.docs.plone.org/develop/plone.api/docs/contribute/index.html).
|
|
91
|
+
Please read [Contributing to Plone](https://6.docs.plone.org/contributing/index.html) and [Contributing to `plone.api`](https://6.docs.plone.org/plone.api/contribute/index.html).
|
|
90
92
|
|
|
91
93
|
Source Code
|
|
92
94
|
at the [Plone code repository hosted at GitHub](https://github.com/plone/plone.api).
|
|
@@ -111,6 +113,25 @@ Changelog
|
|
|
111
113
|
|
|
112
114
|
.. towncrier release notes start
|
|
113
115
|
|
|
116
|
+
2.2.3 (2024-10-23)
|
|
117
|
+
------------------
|
|
118
|
+
|
|
119
|
+
Documentation:
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
- Fixed spelling of prerequisites. @stevepiercy (#541)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
2.2.2 (2024-07-30)
|
|
126
|
+
------------------
|
|
127
|
+
|
|
128
|
+
Documentation:
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
- Overhaul contributing documentation for Plone 6. @stevepiercy (#539)
|
|
132
|
+
- Use correct syntax for `no-index` in documentation. @stevepiercy (#540)
|
|
133
|
+
|
|
134
|
+
|
|
114
135
|
2.2.1 (2024-06-26)
|
|
115
136
|
------------------
|
|
116
137
|
|
|
@@ -257,17 +257,15 @@ allowlist_externals =
|
|
|
257
257
|
[testenv:plone6docs]
|
|
258
258
|
# New docs with sphinx-book-theme
|
|
259
259
|
# See [testenv:docs] for classic documentation
|
|
260
|
-
basepython = python3.
|
|
260
|
+
basepython = python3.11
|
|
261
261
|
skip_install = False
|
|
262
|
-
|
|
262
|
+
package = editable
|
|
263
263
|
allowlist_externals =
|
|
264
264
|
mkdir
|
|
265
265
|
extras =
|
|
266
266
|
tests
|
|
267
|
-
|
|
268
267
|
deps =
|
|
269
268
|
-r requirements-docs.txt
|
|
270
|
-
|
|
271
269
|
commands =
|
|
272
270
|
python -VV
|
|
273
271
|
mkdir -p {toxinidir}/_build/plone6docs
|
|
@@ -294,9 +292,9 @@ whitelist_externals =
|
|
|
294
292
|
mkdir
|
|
295
293
|
|
|
296
294
|
[testenv:linkcheck]
|
|
297
|
-
basepython =
|
|
295
|
+
basepython = python3.11
|
|
298
296
|
skip_install = False
|
|
299
|
-
|
|
297
|
+
package = editable
|
|
300
298
|
allowlist_externals =
|
|
301
299
|
mkdir
|
|
302
300
|
extras =
|
|
@@ -308,6 +306,21 @@ commands =
|
|
|
308
306
|
mkdir -p {toxinidir}/_build/plone6docs
|
|
309
307
|
sphinx-build -b linkcheck -d _build/plone6docs/doctrees docs _build/plone6docs/linkcheck
|
|
310
308
|
|
|
309
|
+
[testenv:livehtml]
|
|
310
|
+
basepython = python3.11
|
|
311
|
+
skip_install = False
|
|
312
|
+
package = editable
|
|
313
|
+
allowlist_externals =
|
|
314
|
+
mkdir
|
|
315
|
+
extras =
|
|
316
|
+
{[testenv:plone6docs]extras}
|
|
317
|
+
deps =
|
|
318
|
+
{[testenv:plone6docs]deps}
|
|
319
|
+
commands =
|
|
320
|
+
python -VV
|
|
321
|
+
mkdir -p {toxinidir}/_build/plone6docs
|
|
322
|
+
sphinx-autobuild -b html -d _build/plone6docs/doctrees docs _build/plone6docs/html
|
|
323
|
+
|
|
311
324
|
##
|
|
312
325
|
# Add extra configuration options in .meta.toml:
|
|
313
326
|
# [tox]
|
plone_api-2.2.1/CONTRIBUTING.rst
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Please see https://5.docs.plone.org/develop/coredev/docs/guidelines.html
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/profiles/testfixture/types/Dexterity_Folder.xml
RENAMED
|
File without changes
|
{plone_api-2.2.1 → plone_api-2.2.3}/src/plone/api/profiles/testfixture/types/Dexterity_Item.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|