lockss-turtles 0.5.0.dev3__tar.gz → 0.6.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.
- lockss_turtles-0.6.0/CHANGELOG.rst +200 -0
- {lockss_turtles-0.5.0.dev3 → lockss_turtles-0.6.0}/LICENSE +1 -1
- lockss_turtles-0.6.0/PKG-INFO +64 -0
- lockss_turtles-0.6.0/README.rst +31 -0
- lockss_turtles-0.6.0/pyproject.toml +86 -0
- lockss_turtles-0.6.0/src/lockss/turtles/__init__.py +43 -0
- {lockss_turtles-0.5.0.dev3 → lockss_turtles-0.6.0}/src/lockss/turtles/__main__.py +7 -3
- lockss_turtles-0.6.0/src/lockss/turtles/app.py +598 -0
- lockss_turtles-0.6.0/src/lockss/turtles/cli.py +653 -0
- lockss_turtles-0.6.0/src/lockss/turtles/plugin.py +277 -0
- lockss_turtles-0.6.0/src/lockss/turtles/plugin_registry.py +680 -0
- lockss_turtles-0.6.0/src/lockss/turtles/plugin_set.py +635 -0
- lockss_turtles-0.6.0/src/lockss/turtles/plugin_signing_credentials.py +84 -0
- lockss_turtles-0.6.0/src/lockss/turtles/util.py +104 -0
- lockss_turtles-0.6.0/tests/unittest/lockss/turtles/__init__.py +106 -0
- lockss_turtles-0.6.0/tests/unittest/lockss/turtles/test_plugin_registry.py +417 -0
- lockss_turtles-0.6.0/tests/unittest/lockss/turtles/test_plugin_set.py +274 -0
- lockss_turtles-0.6.0/tests/unittest/lockss/turtles/test_plugin_signing_credentials.py +102 -0
- lockss_turtles-0.5.0.dev3/CHANGELOG.rst +0 -113
- lockss_turtles-0.5.0.dev3/PKG-INFO +0 -1041
- lockss_turtles-0.5.0.dev3/README.rst +0 -1009
- lockss_turtles-0.5.0.dev3/pyproject.toml +0 -41
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/__init__.py +0 -63
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/app.py +0 -187
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/cli.py +0 -446
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/plugin.py +0 -120
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/plugin_registry.py +0 -252
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/plugin_set.py +0 -288
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/resources/__init__.py +0 -29
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/resources/plugin-registry-catalog-schema.json +0 -27
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/resources/plugin-registry-schema.json +0 -115
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/resources/plugin-set-catalog-schema.json +0 -27
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/resources/plugin-set-schema.json +0 -92
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/resources/plugin-signing-credentials-schema.json +0 -27
- lockss_turtles-0.5.0.dev3/src/lockss/turtles/util.py +0 -55
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
=============
|
|
2
|
+
Release Notes
|
|
3
|
+
=============
|
|
4
|
+
|
|
5
|
+
-----
|
|
6
|
+
0.6.0
|
|
7
|
+
-----
|
|
8
|
+
|
|
9
|
+
Released: 2025-10-23
|
|
10
|
+
|
|
11
|
+
* **Changes**
|
|
12
|
+
|
|
13
|
+
* The configuration directory for Turtles in ``$XDG_CONFIG_HOME`` (by default ``$HOME/.config`` which is typically ``/home/$USER/.config``), ``/usr/local/share``, and ``/etc`` is now called ``lockss-turtles`` instead of ``lockss.turtles``.
|
|
14
|
+
|
|
15
|
+
* Some long options have been renamed (the corresponding short options remain unchanged):
|
|
16
|
+
|
|
17
|
+
.. list-table::
|
|
18
|
+
:header-rows: 1
|
|
19
|
+
|
|
20
|
+
* * Short option
|
|
21
|
+
* Long option, version 0.5.0
|
|
22
|
+
* Long option, version 0.6.0
|
|
23
|
+
* * ``-i``
|
|
24
|
+
* ``--identifier``
|
|
25
|
+
* ``--plugin-identifier``
|
|
26
|
+
* * ``-I``
|
|
27
|
+
* ``--identifiers``
|
|
28
|
+
* ``--plugin-identifiers``
|
|
29
|
+
* * ``-j``
|
|
30
|
+
* ``--jar``
|
|
31
|
+
* ``--plugin-jar``
|
|
32
|
+
* * ``-J``
|
|
33
|
+
* ``--jars``
|
|
34
|
+
* ``--plugin-jars``
|
|
35
|
+
* * ``-l``
|
|
36
|
+
* ``--layer``
|
|
37
|
+
* ``--plugin-registry-layer``
|
|
38
|
+
* * ``-L``
|
|
39
|
+
* ``--layers``
|
|
40
|
+
* ``--plugin-registry-layers``
|
|
41
|
+
* * n/a
|
|
42
|
+
* ``--password``
|
|
43
|
+
* ``--plugin-signing-password``
|
|
44
|
+
|
|
45
|
+
* Some short options have been renamed (the corresponding long options remain unchanged):
|
|
46
|
+
|
|
47
|
+
.. list-table::
|
|
48
|
+
:header-rows: 1
|
|
49
|
+
|
|
50
|
+
* * Long option
|
|
51
|
+
* Short option, version 0.5.0
|
|
52
|
+
* Short option, version 0.6.0
|
|
53
|
+
* * ``--plugin-registry-catalog``
|
|
54
|
+
* ``-r``
|
|
55
|
+
* ``-R``
|
|
56
|
+
* * ``--plugin-set-catalog``
|
|
57
|
+
* ``-s``
|
|
58
|
+
* ``-S``
|
|
59
|
+
|
|
60
|
+
* Bare arguments are no longer allowed and treated as plugin identifiers or plugin JARs; all plugin identifiers must be specified via ``--plugin-identifier/-i`` or ``--plugin-identifiers/-I`` options and all plugin JARS via ``--plugin-jar/-j`` or ``--plugin-jars/-J`` options.
|
|
61
|
+
|
|
62
|
+
* The ``usage`` command has been removed.
|
|
63
|
+
|
|
64
|
+
* **Features**
|
|
65
|
+
|
|
66
|
+
* New options have been added:
|
|
67
|
+
|
|
68
|
+
.. list-table::
|
|
69
|
+
:header-rows: 1
|
|
70
|
+
|
|
71
|
+
* * Long option
|
|
72
|
+
* Short option
|
|
73
|
+
* * ``--plugin-registry``
|
|
74
|
+
* ``-r``
|
|
75
|
+
* * ``--plugin-set``
|
|
76
|
+
* ``-s``
|
|
77
|
+
|
|
78
|
+
* Options that read YAML files no longer expect each file to contain a single YAML configuration object, which must be of the kind they target; they now read all YAML configuration objects in each file, loading all the ones with the right kind and ignoring all the others with the other kinds. This applies to existing options ``--plugin-registry-catalog``/``-R`` and ``--plugin-set-catalog``/``-S``, and new options ``--plugin-registry``/``-r`` and ``--plugin-set``/``-s``.
|
|
79
|
+
|
|
80
|
+
* In YAML files, values that are paths can now all be either relative with respect to the enclosing file or absolute.
|
|
81
|
+
|
|
82
|
+
* Now using Pydantic for configuration objects instead of maintaining JSON Schema instances.
|
|
83
|
+
|
|
84
|
+
* Now using type hinting throughout.
|
|
85
|
+
|
|
86
|
+
* Now using *lockss-pybasic* and *pydantic-argparse* internally.
|
|
87
|
+
|
|
88
|
+
* `Turtles documentation <https://docs.lockss.org/en/latest/software/turtles>`_ is now on the `LOCKSS Documentation Portal <https://docs.lockss.org/>`_.
|
|
89
|
+
|
|
90
|
+
-----
|
|
91
|
+
0.5.0
|
|
92
|
+
-----
|
|
93
|
+
|
|
94
|
+
Released: 2024-09-04
|
|
95
|
+
|
|
96
|
+
* **Features**
|
|
97
|
+
|
|
98
|
+
* ``AntPluginSet``: also include plugin auxiliary packages (``plugin_aux_packages``).
|
|
99
|
+
|
|
100
|
+
-----
|
|
101
|
+
0.4.0
|
|
102
|
+
-----
|
|
103
|
+
|
|
104
|
+
Released: 2023-05-17
|
|
105
|
+
|
|
106
|
+
* **Features**
|
|
107
|
+
|
|
108
|
+
* ``directory`` plugin registry layout now has the same file naming convention option as ``rcs``.
|
|
109
|
+
|
|
110
|
+
* New ``directory``/``rcs`` file naming convention ``underscore``: replace ``.`` in the plugin identifier by ``_`` and add ``.jar``.
|
|
111
|
+
|
|
112
|
+
* CLI improvements.
|
|
113
|
+
|
|
114
|
+
* **Changes**
|
|
115
|
+
|
|
116
|
+
* The ``--output-format`` option is now only available in the context of commands where it makes sense.
|
|
117
|
+
|
|
118
|
+
-----
|
|
119
|
+
0.3.1
|
|
120
|
+
-----
|
|
121
|
+
|
|
122
|
+
Released: 2023-03-07
|
|
123
|
+
|
|
124
|
+
* **Bug Fixes**
|
|
125
|
+
|
|
126
|
+
* Fixed use of the ``importlib.resources`` library.
|
|
127
|
+
|
|
128
|
+
-----
|
|
129
|
+
0.3.0
|
|
130
|
+
-----
|
|
131
|
+
|
|
132
|
+
Released: 2023-03-07
|
|
133
|
+
|
|
134
|
+
* **Features**
|
|
135
|
+
|
|
136
|
+
* Completely refactored to be in the package ``lockss.turtles``.
|
|
137
|
+
|
|
138
|
+
* Using Poetry to make uploadable to and installable from PyPI as `lockss-turtles <https://pypi.org/project/lockss-turtles>`_. Removed the requirements file.
|
|
139
|
+
|
|
140
|
+
* Validate the various YAML objects (like a ``PluginSet``) against a `JSON Schema <https://json-schema.org/>`_.
|
|
141
|
+
|
|
142
|
+
* **Changes**
|
|
143
|
+
|
|
144
|
+
* Temporarily disabled the ``analyze-registry`` command.
|
|
145
|
+
|
|
146
|
+
* ``$XDG_CONFIG_HOME/turtles`` (by default ``$HOME/.config/turtles``) is now ``$XDG_CONFIG_HOME/lockss.turtles`` (by default ``$HOME/.config/lockss.turtles``) or ``/etc/lockss.turtles`` (formerly ``turtles``).
|
|
147
|
+
|
|
148
|
+
* ``settings.yaml`` is now ``plugin-signing.yaml`` and its ``kind`` is now ``PluginSigning``. The corresponding command line option ``--settings`` is now ``--plugin-signing``.
|
|
149
|
+
|
|
150
|
+
* ``plugin-sets.yaml``, its kind ``PluginSets``, its key ``plugin-sets``, and the command line option ``--plugin-sets`` are now ``plugin-set-catalog.yaml``, ``PluginSetCatalog``, ``plugin-set-files`` and ``--plugin-set-catalog``, respectively. The builder ``options`` key is deprecated.
|
|
151
|
+
|
|
152
|
+
* ``plugin-registries.yaml``, its kind ``PluginRegistries``, its key ``plugin-registries``, and the command line option ``--plugin-registries`` are now ``plugin-registry-catalog.yaml``, ``PluginRegistryCatalog``, ``plugin-registry-files`` and ``--plugin-registry-catalog``, respectively. The ``file-naming-convention`` key is now directly under ``layout`` and the value ``full`` is now ``identifier``. The layout ``options`` key is deprecated.
|
|
153
|
+
|
|
154
|
+
-----
|
|
155
|
+
0.2.0
|
|
156
|
+
-----
|
|
157
|
+
|
|
158
|
+
Released: 2022-10-26
|
|
159
|
+
|
|
160
|
+
* **Features**
|
|
161
|
+
|
|
162
|
+
* ``MavenPluginSet``, for Maven projects inheriting from ``org.lockss:lockss-plugins-parent-pom``.
|
|
163
|
+
|
|
164
|
+
* ``RcsPluginRegistry``: file naming convention layout option.
|
|
165
|
+
|
|
166
|
+
* Tabular output now includes the plugin version.
|
|
167
|
+
|
|
168
|
+
* **Bug Fixes**
|
|
169
|
+
|
|
170
|
+
* ``AntPluginSet``: run ``ant load-plugins`` before building plugins.
|
|
171
|
+
|
|
172
|
+
-----
|
|
173
|
+
0.1.1
|
|
174
|
+
-----
|
|
175
|
+
|
|
176
|
+
Released: 2022-10-23
|
|
177
|
+
|
|
178
|
+
* **Bug Fixes**
|
|
179
|
+
|
|
180
|
+
* ``RcsPluginRegistry``: Better handle incompletely managed RCS areas.
|
|
181
|
+
|
|
182
|
+
* ``DirectoryPluginRegistry``: Better file handling with ``cp``.
|
|
183
|
+
|
|
184
|
+
-----
|
|
185
|
+
0.1.0
|
|
186
|
+
-----
|
|
187
|
+
|
|
188
|
+
Released: 2022-10-10
|
|
189
|
+
|
|
190
|
+
* **Features**
|
|
191
|
+
|
|
192
|
+
* Initial release.
|
|
193
|
+
|
|
194
|
+
* ``AntPluginSet``, based on the classic ``lockss-daemon`` Ant builder.
|
|
195
|
+
|
|
196
|
+
* ``DirectoryPluginRegistry``, for a simple layout.
|
|
197
|
+
|
|
198
|
+
* ``RcsPluginRegistry``, based on the classic RCS layout.
|
|
199
|
+
|
|
200
|
+
* Tabular output by `tabulate <https://pypi.org/project/tabulate/>`_.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2000-
|
|
1
|
+
Copyright (c) 2000-2025, Board of Trustees of Leland Stanford Jr. University
|
|
2
2
|
|
|
3
3
|
Redistribution and use in source and binary forms, with or without
|
|
4
4
|
modification, are permitted provided that the following conditions are met:
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: lockss-turtles
|
|
3
|
+
Version: 0.6.0
|
|
4
|
+
Summary: Library and command line tool to manage LOCKSS plugin sets and LOCKSS plugin registries
|
|
5
|
+
License: BSD-3-Clause
|
|
6
|
+
Author: Thib Guicherd-Callin
|
|
7
|
+
Author-email: thib@cs.stanford.edu
|
|
8
|
+
Maintainer: Thib Guicherd-Callin
|
|
9
|
+
Maintainer-email: thib@cs.stanford.edu
|
|
10
|
+
Requires-Python: >=3.9,<4.0
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Framework :: Pydantic :: 2
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: System Administrators
|
|
16
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
+
Classifier: Topic :: System :: Archiving
|
|
20
|
+
Classifier: Topic :: Utilities
|
|
21
|
+
Requires-Dist: exceptiongroup (>=1.3.0,<1.4.0)
|
|
22
|
+
Requires-Dist: java-manifest (>=1.1.0,<1.2.0)
|
|
23
|
+
Requires-Dist: lockss-pybasic (>=0.1.1,<0.2.0)
|
|
24
|
+
Requires-Dist: pydantic (>=2.11.0,<2.12.0)
|
|
25
|
+
Requires-Dist: pyyaml (>=6.0.0,<6.1.0)
|
|
26
|
+
Requires-Dist: xdg (>=6.0.0,<6.1.0)
|
|
27
|
+
Project-URL: Documentation, https://docs.lockss.org/en/latest/software/turtles
|
|
28
|
+
Project-URL: Repository, https://github.com/lockss/lockss-turtles
|
|
29
|
+
Project-URL: changelog, https://github.com/lockss/lockss-turtles/blob/main/CHANGELOG.rst
|
|
30
|
+
Project-URL: issues, https://github.com/lockss/lockss-turtles/issues
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
|
|
33
|
+
=======
|
|
34
|
+
Turtles
|
|
35
|
+
=======
|
|
36
|
+
|
|
37
|
+
.. |RELEASE| replace:: 0.6.0
|
|
38
|
+
.. |RELEASE_DATE| replace:: 2025-10-23
|
|
39
|
+
.. |TURTLES| replace:: **Turtles**
|
|
40
|
+
|
|
41
|
+
.. image:: https://assets.lockss.org/images/logos/turtles/turtles_128x128.png
|
|
42
|
+
:alt: Turtles logo
|
|
43
|
+
:align: right
|
|
44
|
+
|
|
45
|
+
|TURTLES| is a command line tool and Python library to manage LOCKSS plugin sets and LOCKSS plugin registries.
|
|
46
|
+
|
|
47
|
+
:Latest release: |RELEASE| (|RELEASE_DATE|)
|
|
48
|
+
:Documentation: https://docs.lockss.org/en/latest/software/turtles
|
|
49
|
+
:Release notes: `CHANGELOG.rst <https://github.com/lockss/lockss-turtles/blob/main/CHANGELOG.rst>`_
|
|
50
|
+
:License: `LICENSE <https://github.com/lockss/lockss-turtles/blob/main/LICENSE>`_
|
|
51
|
+
:Repository: https://github.com/lockss/lockss-turtles
|
|
52
|
+
:Issues: https://github.com/lockss/lockss-turtles/issues
|
|
53
|
+
|
|
54
|
+
----
|
|
55
|
+
|
|
56
|
+
Quick Start::
|
|
57
|
+
|
|
58
|
+
# Install with pipx
|
|
59
|
+
pipx install lockss-turtles
|
|
60
|
+
|
|
61
|
+
# Verify installation and discover all the commands
|
|
62
|
+
turtles --help
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
=======
|
|
2
|
+
Turtles
|
|
3
|
+
=======
|
|
4
|
+
|
|
5
|
+
.. |RELEASE| replace:: 0.6.0
|
|
6
|
+
.. |RELEASE_DATE| replace:: 2025-10-23
|
|
7
|
+
.. |TURTLES| replace:: **Turtles**
|
|
8
|
+
|
|
9
|
+
.. image:: https://assets.lockss.org/images/logos/turtles/turtles_128x128.png
|
|
10
|
+
:alt: Turtles logo
|
|
11
|
+
:align: right
|
|
12
|
+
|
|
13
|
+
|TURTLES| is a command line tool and Python library to manage LOCKSS plugin sets and LOCKSS plugin registries.
|
|
14
|
+
|
|
15
|
+
:Latest release: |RELEASE| (|RELEASE_DATE|)
|
|
16
|
+
:Documentation: https://docs.lockss.org/en/latest/software/turtles
|
|
17
|
+
:Release notes: `CHANGELOG.rst <https://github.com/lockss/lockss-turtles/blob/main/CHANGELOG.rst>`_
|
|
18
|
+
:License: `LICENSE <https://github.com/lockss/lockss-turtles/blob/main/LICENSE>`_
|
|
19
|
+
:Repository: https://github.com/lockss/lockss-turtles
|
|
20
|
+
:Issues: https://github.com/lockss/lockss-turtles/issues
|
|
21
|
+
|
|
22
|
+
----
|
|
23
|
+
|
|
24
|
+
Quick Start::
|
|
25
|
+
|
|
26
|
+
# Install with pipx
|
|
27
|
+
pipx install lockss-turtles
|
|
28
|
+
|
|
29
|
+
# Verify installation and discover all the commands
|
|
30
|
+
turtles --help
|
|
31
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Copyright (c) 2000-2025, Board of Trustees of Leland Stanford Jr. University
|
|
2
|
+
#
|
|
3
|
+
# Redistribution and use in source and binary forms, with or without
|
|
4
|
+
# modification, are permitted provided that the following conditions are met:
|
|
5
|
+
#
|
|
6
|
+
# 1. Redistributions of source code must retain the above copyright notice,
|
|
7
|
+
# this list of conditions and the following disclaimer.
|
|
8
|
+
#
|
|
9
|
+
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10
|
+
# this list of conditions and the following disclaimer in the documentation
|
|
11
|
+
# and/or other materials provided with the distribution.
|
|
12
|
+
#
|
|
13
|
+
# 3. Neither the name of the copyright holder nor the names of its contributors
|
|
14
|
+
# may be used to endorse or promote products derived from this software without
|
|
15
|
+
# specific prior written permission.
|
|
16
|
+
#
|
|
17
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
18
|
+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
19
|
+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
20
|
+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
21
|
+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
22
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
23
|
+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
24
|
+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
25
|
+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
26
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
27
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
|
28
|
+
|
|
29
|
+
[project]
|
|
30
|
+
name = "lockss-turtles"
|
|
31
|
+
version = "0.6.0" # Always change in __init__.py, and at release time in README.rst and CHANGELOG.rst
|
|
32
|
+
description = "Library and command line tool to manage LOCKSS plugin sets and LOCKSS plugin registries"
|
|
33
|
+
license = { text = "BSD-3-Clause" }
|
|
34
|
+
readme = "README.rst"
|
|
35
|
+
requires-python = ">=3.9,<4.0"
|
|
36
|
+
authors = [
|
|
37
|
+
{ name = "Thib Guicherd-Callin", email = "thib@cs.stanford.edu" },
|
|
38
|
+
]
|
|
39
|
+
maintainers = [
|
|
40
|
+
{ name = "Thib Guicherd-Callin", email = "thib@cs.stanford.edu" }
|
|
41
|
+
]
|
|
42
|
+
dependencies = [
|
|
43
|
+
"exceptiongroup (>=1.3.0,<1.4.0)",
|
|
44
|
+
"java-manifest (>=1.1.0,<1.2.0)",
|
|
45
|
+
"lockss-pybasic (>=0.1.1,<0.2.0)",
|
|
46
|
+
"pyyaml (>=6.0.0,<6.1.0)",
|
|
47
|
+
"xdg (>=6.0.0,<6.1.0)",
|
|
48
|
+
"pydantic (>=2.11.0,<2.12.0)",
|
|
49
|
+
]
|
|
50
|
+
classifiers = [
|
|
51
|
+
"Development Status :: 5 - Production/Stable",
|
|
52
|
+
"Environment :: Console",
|
|
53
|
+
"Framework :: Pydantic :: 2",
|
|
54
|
+
"Intended Audience :: Developers",
|
|
55
|
+
"Intended Audience :: System Administrators",
|
|
56
|
+
"License :: OSI Approved :: BSD License",
|
|
57
|
+
"Programming Language :: Python",
|
|
58
|
+
"Topic :: Software Development :: Libraries",
|
|
59
|
+
"Topic :: System :: Archiving",
|
|
60
|
+
"Topic :: Utilities",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
# See https://docs.pypi.org/project_metadata/
|
|
64
|
+
[project.urls]
|
|
65
|
+
changelog = "https://github.com/lockss/lockss-turtles/blob/main/CHANGELOG.rst"
|
|
66
|
+
documentation = "https://docs.lockss.org/en/latest/software/turtles"
|
|
67
|
+
issues = "https://github.com/lockss/lockss-turtles/issues"
|
|
68
|
+
repository = "https://github.com/lockss/lockss-turtles"
|
|
69
|
+
|
|
70
|
+
[tool.poetry]
|
|
71
|
+
include = [
|
|
72
|
+
"CHANGELOG.rst",
|
|
73
|
+
"LICENSE",
|
|
74
|
+
"README.rst",
|
|
75
|
+
]
|
|
76
|
+
packages = [
|
|
77
|
+
{ include = "lockss", from = "src" },
|
|
78
|
+
{ include = "unittest", from = "tests" },
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
[tool.poetry.scripts]
|
|
82
|
+
turtles = 'lockss.turtles.cli:main'
|
|
83
|
+
|
|
84
|
+
[build-system]
|
|
85
|
+
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
86
|
+
build-backend = "poetry.core.masonry.api"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Library and command line tool to manage LOCKSS plugin sets and LOCKSS plugin
|
|
5
|
+
registries.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
#: This package's version.
|
|
9
|
+
__version__ = '0.6.0'
|
|
10
|
+
|
|
11
|
+
#: This package's copyright.
|
|
12
|
+
__copyright__ = '''
|
|
13
|
+
Copyright (c) 2000-2025, Board of Trustees of Leland Stanford Jr. University
|
|
14
|
+
'''.strip()
|
|
15
|
+
|
|
16
|
+
#: This package's license.
|
|
17
|
+
__license__ = __copyright__ + '\n\n' + '''
|
|
18
|
+
Redistribution and use in source and binary forms, with or without
|
|
19
|
+
modification, are permitted provided that the following conditions are met:
|
|
20
|
+
|
|
21
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
22
|
+
this list of conditions and the following disclaimer.
|
|
23
|
+
|
|
24
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
25
|
+
this list of conditions and the following disclaimer in the documentation
|
|
26
|
+
and/or other materials provided with the distribution.
|
|
27
|
+
|
|
28
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
29
|
+
may be used to endorse or promote products derived from this software without
|
|
30
|
+
specific prior written permission.
|
|
31
|
+
|
|
32
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
33
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
34
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
35
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
36
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
37
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
38
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
39
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
40
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
41
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
42
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
43
|
+
'''.strip()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
|
-
# Copyright (c) 2000-
|
|
3
|
+
# Copyright (c) 2000-2025, Board of Trustees of Leland Stanford Jr. University
|
|
4
4
|
#
|
|
5
5
|
# Redistribution and use in source and binary forms, with or without
|
|
6
6
|
# modification, are permitted provided that the following conditions are met:
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29
29
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
"""
|
|
32
|
+
Entry point for the ``lockss.turtles`` module.
|
|
33
|
+
"""
|
|
32
34
|
|
|
33
|
-
lockss.turtles.cli
|
|
35
|
+
from lockss.turtles.cli import main
|
|
36
|
+
|
|
37
|
+
main()
|