lockss-turtles 0.6.0.dev11__tar.gz → 0.6.0.dev12__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lockss-turtles
3
- Version: 0.6.0.dev11
3
+ Version: 0.6.0.dev12
4
4
  Summary: Library and command line tool to manage LOCKSS plugin sets and LOCKSS plugin registries
5
5
  License: BSD-3-Clause
6
6
  Author: Thib Guicherd-Callin
@@ -28,7 +28,7 @@
28
28
 
29
29
  [project]
30
30
  name = "lockss-turtles"
31
- version = "0.6.0-dev11" # Always change in __init__.py, and at release time in README.rst and CHANGELOG.rst
31
+ version = "0.6.0-dev12" # Always change in __init__.py, and at release time in README.rst and CHANGELOG.rst
32
32
  description = "Library and command line tool to manage LOCKSS plugin sets and LOCKSS plugin registries"
33
33
  license = { text = "BSD-3-Clause" }
34
34
  readme = "README.rst"
@@ -5,7 +5,7 @@ Library and command line tool to manage LOCKSS plugin sets and LOCKSS plugin
5
5
  registries.
6
6
  """
7
7
 
8
- __version__ = '0.6.0-dev11'
8
+ __version__ = '0.6.0-dev12'
9
9
 
10
10
  __copyright__ = '''
11
11
  Copyright (c) 2000-2025, Board of Trustees of Leland Stanford Jr. University
@@ -146,7 +146,7 @@ class RcsPluginRegistryLayout(DirectoryPluginRegistryLayout):
146
146
  def _copy_jar(self, src_path: Path, dst_path: Path, interactive: bool=False) -> None:
147
147
  basename = dst_path.name
148
148
  plugin = Plugin.from_jar(src_path)
149
- rcs_path = self.get_path().joinpath('RCS', f'{basename},v')
149
+ rcs_path = dst_path.joinpath('RCS', f'{basename},v')
150
150
  # Maybe do co -l before the parent's copy
151
151
  if dst_path.exists() and rcs_path.is_file():
152
152
  cmd = ['co', '-l', basename]
@@ -178,7 +178,7 @@ class PluginRegistryLayer(BaseModel, ABC):
178
178
  _plugin_registry: Optional[PluginRegistry]
179
179
 
180
180
  def deploy_plugin(self, plugin_id: PluginIdentifier, src_path: Path, interactive: bool=False) -> Optional[tuple[Path, Plugin]]:
181
- self.get_plugin_registry().get_layout().deploy_plugin(plugin_id, self, src_path, interactive)
181
+ return self.get_plugin_registry().get_layout().deploy_plugin(plugin_id, self, src_path, interactive)
182
182
 
183
183
  def get_id(self) -> PluginRegistryLayerIdentifier:
184
184
  return self.id