lockss-turtles 0.6.0.dev2__py3-none-any.whl → 0.6.0.dev4__py3-none-any.whl
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/__init__.py +1 -1
- lockss/turtles/app.py +127 -74
- lockss/turtles/cli.py +82 -42
- lockss/turtles/plugin.py +18 -13
- lockss/turtles/plugin_registry.py +140 -165
- lockss/turtles/plugin_set.py +102 -137
- lockss/turtles/util.py +28 -17
- {lockss_turtles-0.6.0.dev2.dist-info → lockss_turtles-0.6.0.dev4.dist-info}/METADATA +2 -3
- lockss_turtles-0.6.0.dev4.dist-info/RECORD +15 -0
- unittest/lockss/turtles/__init__.py +65 -0
- unittest/lockss/turtles/test_plugin_set.py +62 -0
- lockss/turtles/resources/__init__.py +0 -29
- lockss/turtles/resources/plugin-registry-catalog-schema.json +0 -27
- lockss/turtles/resources/plugin-registry-schema.json +0 -115
- lockss/turtles/resources/plugin-set-catalog-schema.json +0 -27
- lockss/turtles/resources/plugin-set-schema.json +0 -92
- lockss/turtles/resources/plugin-signing-credentials-schema.json +0 -27
- lockss_turtles-0.6.0.dev2.dist-info/RECORD +0 -19
- {lockss_turtles-0.6.0.dev2.dist-info → lockss_turtles-0.6.0.dev4.dist-info}/LICENSE +0 -0
- {lockss_turtles-0.6.0.dev2.dist-info → lockss_turtles-0.6.0.dev4.dist-info}/WHEEL +0 -0
- {lockss_turtles-0.6.0.dev2.dist-info → lockss_turtles-0.6.0.dev4.dist-info}/entry_points.txt +0 -0
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://assets.lockss.org/schemas/json/plugin-registry-schema.json",
|
|
4
|
-
"title": "Plugin Registry",
|
|
5
|
-
"description": "LOCKSS plugin registry",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"kind",
|
|
9
|
-
"id",
|
|
10
|
-
"name",
|
|
11
|
-
"layout",
|
|
12
|
-
"layers",
|
|
13
|
-
"plugin-identifiers"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"kind": {
|
|
17
|
-
"description": "This object's kind",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"const": "PluginRegistry"
|
|
20
|
-
},
|
|
21
|
-
"id": {
|
|
22
|
-
"description": "An identifier for the plugin registry",
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"name": {
|
|
26
|
-
"description": "A name for the plugin registry",
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
|
-
"layout": {
|
|
30
|
-
"description": "A plugin registry layout",
|
|
31
|
-
"type": "object",
|
|
32
|
-
"required": [
|
|
33
|
-
"type"
|
|
34
|
-
],
|
|
35
|
-
"properties": {
|
|
36
|
-
"type": {
|
|
37
|
-
"description": "A plugin registry layout type",
|
|
38
|
-
"enum": [
|
|
39
|
-
"directory",
|
|
40
|
-
"rcs"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"allOf": [
|
|
45
|
-
{
|
|
46
|
-
"if": {
|
|
47
|
-
"properties": {
|
|
48
|
-
"type": {
|
|
49
|
-
"enum": [
|
|
50
|
-
"directory",
|
|
51
|
-
"rcs"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"then": {
|
|
57
|
-
"properties": {
|
|
58
|
-
"file-naming-convention": {
|
|
59
|
-
"description": "The plugin registry file naming convention",
|
|
60
|
-
"enum": [
|
|
61
|
-
"abbreviated",
|
|
62
|
-
"identifier",
|
|
63
|
-
"underscore"
|
|
64
|
-
],
|
|
65
|
-
"default": "identifier"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"layers": {
|
|
73
|
-
"description": "A list of plugin registry layers",
|
|
74
|
-
"type": "array",
|
|
75
|
-
"minItems": 1,
|
|
76
|
-
"items": {
|
|
77
|
-
"type": "object",
|
|
78
|
-
"required": [
|
|
79
|
-
"id",
|
|
80
|
-
"name",
|
|
81
|
-
"path"
|
|
82
|
-
],
|
|
83
|
-
"properties": {
|
|
84
|
-
"id": {
|
|
85
|
-
"description": "An identifier for the plugin registry layer",
|
|
86
|
-
"type": "string"
|
|
87
|
-
},
|
|
88
|
-
"name": {
|
|
89
|
-
"description": "A name for the plugin registry layer",
|
|
90
|
-
"type": "string"
|
|
91
|
-
},
|
|
92
|
-
"path": {
|
|
93
|
-
"description": "A root path for the plugin registry layer",
|
|
94
|
-
"type": "string"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"plugin-identifiers": {
|
|
100
|
-
"description": "A list of plugin identifiers in the plugin registry",
|
|
101
|
-
"type": "array",
|
|
102
|
-
"minItems": 1,
|
|
103
|
-
"items": {
|
|
104
|
-
"type":"string"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"suppressed-plugin-identifiers": {
|
|
108
|
-
"description": "A list of plugin identifiers excluded from the plugin registry",
|
|
109
|
-
"type": "array",
|
|
110
|
-
"items": {
|
|
111
|
-
"type":"string"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://assets.lockss.org/schemas/json/plugin-set-catalog-schema.json",
|
|
4
|
-
"title": "Plugin Set Catalog",
|
|
5
|
-
"description": "LOCKSS plugin set catalog",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"kind",
|
|
9
|
-
"plugin-set-files"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"kind": {
|
|
13
|
-
"description": "This object's kind",
|
|
14
|
-
"type": "string",
|
|
15
|
-
"const": "PluginSetCatalog"
|
|
16
|
-
},
|
|
17
|
-
"plugin-set-files": {
|
|
18
|
-
"description": "A list of plugin set files",
|
|
19
|
-
"type": "array",
|
|
20
|
-
"minItems": 1,
|
|
21
|
-
"uniqueItems": true,
|
|
22
|
-
"items": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://assets.lockss.org/schemas/json/plugin-set-schema.json",
|
|
4
|
-
"title": "Plugin Set",
|
|
5
|
-
"description": "LOCKSS plugin set",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": [
|
|
8
|
-
"kind",
|
|
9
|
-
"id",
|
|
10
|
-
"name",
|
|
11
|
-
"builder"
|
|
12
|
-
],
|
|
13
|
-
"properties": {
|
|
14
|
-
"kind": {
|
|
15
|
-
"description": "This object's kind",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"const": "PluginSet"
|
|
18
|
-
},
|
|
19
|
-
"id": {
|
|
20
|
-
"description": "An identifier for the plugin set",
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"name": {
|
|
24
|
-
"description": "A name for the plugin set",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"builder": {
|
|
28
|
-
"description": "A plugin builder",
|
|
29
|
-
"type": "object",
|
|
30
|
-
"required": [
|
|
31
|
-
"type"
|
|
32
|
-
],
|
|
33
|
-
"properties": {
|
|
34
|
-
"type": {
|
|
35
|
-
"description": "A plugin builder type",
|
|
36
|
-
"enum": [
|
|
37
|
-
"ant",
|
|
38
|
-
"mvn"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"allOf": [
|
|
43
|
-
{
|
|
44
|
-
"if": {
|
|
45
|
-
"properties": {
|
|
46
|
-
"type": {
|
|
47
|
-
"const": "ant"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"then": {
|
|
52
|
-
"properties": {
|
|
53
|
-
"main": {
|
|
54
|
-
"description": "The path (relative to the root of the project) to the plugins' source code",
|
|
55
|
-
"type": "string",
|
|
56
|
-
"default": "plugins/src"
|
|
57
|
-
},
|
|
58
|
-
"test": {
|
|
59
|
-
"description": "The path (relative to the root of the project) to the plugins' unit tests",
|
|
60
|
-
"type": "string",
|
|
61
|
-
"default": "plugins/test/src"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"if": {
|
|
68
|
-
"properties": {
|
|
69
|
-
"type": {
|
|
70
|
-
"const": "mvn"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"then": {
|
|
75
|
-
"properties": {
|
|
76
|
-
"main": {
|
|
77
|
-
"description": "The path (relative to the root of the project) to the plugins' source code",
|
|
78
|
-
"type": "string",
|
|
79
|
-
"default": "src/main/java"
|
|
80
|
-
},
|
|
81
|
-
"test": {
|
|
82
|
-
"description": "The path (relative to the root of the project) to the plugins' unit tests",
|
|
83
|
-
"type": "string",
|
|
84
|
-
"default": "src/test/java"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://assets.lockss.org/schemas/json/plugin-signing-credentials-schema.json",
|
|
4
|
-
"title": "Plugin Signing Credentials",
|
|
5
|
-
"description": "LOCKSS plugin signing credentials",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"kind": {
|
|
9
|
-
"description": "This object's kind",
|
|
10
|
-
"type": "string",
|
|
11
|
-
"const": "PluginSigningCredentials"
|
|
12
|
-
},
|
|
13
|
-
"plugin-signing-keystore": {
|
|
14
|
-
"description": "A path to the plugin signing keystore",
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
"plugin-signing-alias": {
|
|
18
|
-
"description": "The plugin signing alias to use",
|
|
19
|
-
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"kind",
|
|
24
|
-
"plugin-signing-keystore",
|
|
25
|
-
"plugin-signing-alias"
|
|
26
|
-
]
|
|
27
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
lockss/turtles/__init__.py,sha256=ePAfaiEczEPnLCJsAoKl2EIge_qS7o58BaadG0nooaU,1743
|
|
2
|
-
lockss/turtles/__main__.py,sha256=825geLIwXS0LKRqxifJXlLaAZrY8nllXfHzw5ch5ysM,1624
|
|
3
|
-
lockss/turtles/app.py,sha256=lc84MwJ3gPN2UXa1M9s1H1PQ9v3awp0bIlEXDye63R0,9947
|
|
4
|
-
lockss/turtles/cli.py,sha256=yOuvoTMHsG72x6857jIQwei8ch5R2dhkFI1Zj3yCyHI,15894
|
|
5
|
-
lockss/turtles/plugin.py,sha256=saZZW_oLkL6YXi1INRZSOyH43UrAay22eZptF-RwEQg,5303
|
|
6
|
-
lockss/turtles/plugin_registry.py,sha256=6wqO2wAaC33oOHQrembzsbhYh6mkRa4z9UlVD2yoi24,10397
|
|
7
|
-
lockss/turtles/plugin_set.py,sha256=VtVr5MXcP9ps6CDQPsBPSbEdJ5ZuTumGhVGlv6iLQcY,11615
|
|
8
|
-
lockss/turtles/resources/__init__.py,sha256=uEuqtibBLM9fuwA_xFvzUmLRJsSoVrW-2YM8iyBiLuE,1579
|
|
9
|
-
lockss/turtles/resources/plugin-registry-catalog-schema.json,sha256=etH0ytEXTw1QFFRaxJySCNX9fWP63BXo8n91Snv5Yjc,685
|
|
10
|
-
lockss/turtles/resources/plugin-registry-schema.json,sha256=dvNSxkU0McAe-fYIYBMJ9ezBvRSAW3kvhCcfESq5BrY,2766
|
|
11
|
-
lockss/turtles/resources/plugin-set-catalog-schema.json,sha256=UbB0BCd9jdROGyXf2pZg4GV4lxToM9uBgN5WVyndK4w,650
|
|
12
|
-
lockss/turtles/resources/plugin-set-schema.json,sha256=EeptOiipJdWwfLIxUHXap59Hbq32UXzT2MpI2eADM1U,2338
|
|
13
|
-
lockss/turtles/resources/plugin-signing-credentials-schema.json,sha256=VLld14jOMG8V_ru0jtQD5GunNDNLp2MoRGMSZg9xVn8,753
|
|
14
|
-
lockss/turtles/util.py,sha256=nl3EovLik6EBzXRgFSQenAWSr5qps1ICfszTFBnrcfU,2339
|
|
15
|
-
lockss_turtles-0.6.0.dev2.dist-info/LICENSE,sha256=O9ONND4uDxY_jucI4jZDf2liAk05ScEJaYu-Al7EOdQ,1506
|
|
16
|
-
lockss_turtles-0.6.0.dev2.dist-info/METADATA,sha256=qwbcnIoWayQnTQbbQldvpcLzkpZiY7ZjuXsPz3b6ARg,39655
|
|
17
|
-
lockss_turtles-0.6.0.dev2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
18
|
-
lockss_turtles-0.6.0.dev2.dist-info/entry_points.txt,sha256=25BAVFSBRKWAWiXIGZgcr1ypt2mV7nj31Jl8WcNZZOk,51
|
|
19
|
-
lockss_turtles-0.6.0.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{lockss_turtles-0.6.0.dev2.dist-info → lockss_turtles-0.6.0.dev4.dist-info}/entry_points.txt
RENAMED
|
File without changes
|