docker-volume-toolkit 1.2.2__tar.gz → 1.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.
@@ -2,6 +2,7 @@
2
2
  dist/
3
3
  build/
4
4
  *.egg-info/
5
+ uv.lock
5
6
 
6
7
  # Bytecode / caches
7
8
  __pycache__/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docker-volume-toolkit
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Docker volume toolkit - copy/migrate volumes across a name-prefix change (CLI + interactive TUI)
5
5
  Project-URL: Homepage, https://github.com/stellarshenson/docker-volume-toolkit
6
6
  Project-URL: Repository, https://github.com/stellarshenson/docker-volume-toolkit
@@ -73,20 +73,20 @@ rename.
73
73
  Run with no arguments for the interactive TUI (designer → plan → execution):
74
74
 
75
75
  ```bash
76
- ./migrate_volumes.py
76
+ ./docker_volume_toolkit.py
77
77
  ```
78
78
 
79
79
  Or drive it entirely from the command line:
80
80
 
81
81
  ```bash
82
82
  # preview the mapping without copying
83
- ./migrate_volumes.py --from myproject_ --to mynewproject_ --dry-run
83
+ ./docker_volume_toolkit.py --from myproject_ --to mynewproject_ --dry-run
84
84
 
85
85
  # copy, skipping the prompt
86
- ./migrate_volumes.py --from myproject_ --to mynewproject_ --yes
86
+ ./docker_volume_toolkit.py --from myproject_ --to mynewproject_ --yes
87
87
 
88
88
  # only the cert volumes, four parallel workers
89
- ./migrate_volumes.py --from myproject_ --to mynewproject_ --filter '_certs$' --workers 4
89
+ ./docker_volume_toolkit.py --from myproject_ --to mynewproject_ --filter '_certs$' --workers 4
90
90
  ```
91
91
 
92
92
  ## Options
@@ -124,14 +124,14 @@ Or skip installation entirely - the script carries an inline dependency block an
124
124
  `uv run --script` shebang, so it auto-installs its own dependencies on first run:
125
125
 
126
126
  ```bash
127
- ./migrate_volumes.py
127
+ ./docker_volume_toolkit.py
128
128
  ```
129
129
 
130
130
  Without `uv`, install the dependencies once and run with any Python:
131
131
 
132
132
  ```bash
133
133
  pip install rich textual
134
- python migrate_volumes.py --help
134
+ python docker_volume_toolkit.py --help
135
135
  ```
136
136
 
137
137
  ---
@@ -45,20 +45,20 @@ rename.
45
45
  Run with no arguments for the interactive TUI (designer → plan → execution):
46
46
 
47
47
  ```bash
48
- ./migrate_volumes.py
48
+ ./docker_volume_toolkit.py
49
49
  ```
50
50
 
51
51
  Or drive it entirely from the command line:
52
52
 
53
53
  ```bash
54
54
  # preview the mapping without copying
55
- ./migrate_volumes.py --from myproject_ --to mynewproject_ --dry-run
55
+ ./docker_volume_toolkit.py --from myproject_ --to mynewproject_ --dry-run
56
56
 
57
57
  # copy, skipping the prompt
58
- ./migrate_volumes.py --from myproject_ --to mynewproject_ --yes
58
+ ./docker_volume_toolkit.py --from myproject_ --to mynewproject_ --yes
59
59
 
60
60
  # only the cert volumes, four parallel workers
61
- ./migrate_volumes.py --from myproject_ --to mynewproject_ --filter '_certs$' --workers 4
61
+ ./docker_volume_toolkit.py --from myproject_ --to mynewproject_ --filter '_certs$' --workers 4
62
62
  ```
63
63
 
64
64
  ## Options
@@ -96,14 +96,14 @@ Or skip installation entirely - the script carries an inline dependency block an
96
96
  `uv run --script` shebang, so it auto-installs its own dependencies on first run:
97
97
 
98
98
  ```bash
99
- ./migrate_volumes.py
99
+ ./docker_volume_toolkit.py
100
100
  ```
101
101
 
102
102
  Without `uv`, install the dependencies once and run with any Python:
103
103
 
104
104
  ```bash
105
105
  pip install rich textual
106
- python migrate_volumes.py --help
106
+ python docker_volume_toolkit.py --help
107
107
  ```
108
108
 
109
109
  ---
@@ -14,10 +14,10 @@ rsync --delete; the source volume is left intact for verification
14
14
  before manual removal.
15
15
 
16
16
  Usage:
17
- ./migrate_volumes.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_
18
- ./migrate_volumes.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_ --filter '_certs$'
19
- ./migrate_volumes.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_ --dry-run
20
- ./migrate_volumes.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_ --yes
17
+ ./docker_volume_toolkit.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_
18
+ ./docker_volume_toolkit.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_ --filter '_certs$'
19
+ ./docker_volume_toolkit.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_ --dry-run
20
+ ./docker_volume_toolkit.py --from stellars-tech-ai-lab_ --to stellars-tech-ai-hub_ --yes
21
21
 
22
22
  Note: Docker encodes '.' in volume names as '-2e' (e.g. 'alice.smith'
23
23
  appears as 'alice-2esmith'). The --filter regex matches against the
@@ -64,11 +64,11 @@ def _preflight() -> None:
64
64
  missing = [spec for mod, spec in required.items() if not _present(mod)]
65
65
  if not missing:
66
66
  return
67
- print("migrate_volumes.py is missing required packages:", file=sys.stderr)
67
+ print("docker_volume_toolkit.py is missing required packages:", file=sys.stderr)
68
68
  for spec in missing:
69
69
  print(f" - {spec}", file=sys.stderr)
70
70
  print(f"\nInstall with: pip install {' '.join(missing)}", file=sys.stderr)
71
- print("Or run via uv: ./scripts/migrate_volumes.py (auto-installs)",
71
+ print("Or run via uv: ./docker_volume_toolkit.py (auto-installs)",
72
72
  file=sys.stderr)
73
73
  sys.exit(1)
74
74
 
@@ -162,8 +162,8 @@ PASTEL_THEME = Theme({
162
162
 
163
163
  console = Console(theme=PASTEL_THEME)
164
164
 
165
- VERSION = "1.2.2"
166
- APP_TITLE = "Docker Volume Migrator"
165
+ VERSION = "1.2.3"
166
+ APP_TITLE = "Docker Volume Toolkit"
167
167
 
168
168
  # Shared top header bar: app name on the left, version pinned to the right
169
169
  # corner. Embedded into each screen's CSS via {HEADER_CSS}.
@@ -25,7 +25,7 @@ classifiers = [
25
25
  "Topic :: System :: Systems Administration",
26
26
  "Topic :: Utilities",
27
27
  ]
28
- # Mirrors the inline PEP 723 block in migrate_volumes.py - keep the two in sync.
28
+ # Mirrors the inline PEP 723 block in docker_volume_toolkit.py - keep the two in sync.
29
29
  dependencies = ["rich>=13", "textual>=0.80"]
30
30
 
31
31
  [project.urls]
@@ -34,18 +34,18 @@ Repository = "https://github.com/stellarshenson/docker-volume-toolkit"
34
34
  Issues = "https://github.com/stellarshenson/docker-volume-toolkit/issues"
35
35
 
36
36
  [project.scripts]
37
- docker-volume-toolkit = "migrate_volumes:main"
37
+ docker-volume-toolkit = "docker_volume_toolkit:main"
38
38
 
39
39
  # Single-source the version from the script's VERSION constant (also shown in the
40
40
  # TUI header), so the package and the tool never drift.
41
41
  [tool.hatch.version]
42
- path = "migrate_volumes.py"
42
+ path = "docker_volume_toolkit.py"
43
43
  pattern = 'VERSION = "(?P<version>[^"]+)"'
44
44
 
45
45
  # Single top-level module whose name differs from the distribution name, so it
46
46
  # must be listed explicitly.
47
47
  [tool.hatch.build.targets.wheel]
48
- include = ["migrate_volumes.py"]
48
+ include = ["docker_volume_toolkit.py"]
49
49
 
50
50
  [tool.hatch.build.targets.sdist]
51
- include = ["migrate_volumes.py", "README.md", "LICENSE", ".resources"]
51
+ include = ["docker_volume_toolkit.py", "README.md", "LICENSE", ".resources"]