withcache 0.8.6__tar.gz → 0.8.7__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.
- {withcache-0.8.6 → withcache-0.8.7}/PKG-INFO +2 -1
- {withcache-0.8.6 → withcache-0.8.7}/README.md +1 -0
- {withcache-0.8.6 → withcache-0.8.7}/deploy/compose.yml +6 -1
- {withcache-0.8.6 → withcache-0.8.7}/shim/build.zig.zon +1 -1
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/__init__.py +1 -1
- {withcache-0.8.6 → withcache-0.8.7}/.gitignore +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/LICENSE +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/deploy/Containerfile +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/hatch_build.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/pyproject.toml +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/shim/build.zig +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/shim/shim.zig +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/_shim.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/client.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/curlwithcache.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/oras.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/server.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/static/bootstrap-icons.min.css +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/static/bootstrap.min.css +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/static/fonts/bootstrap-icons.woff +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/static/fonts/bootstrap-icons.woff2 +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/static/htmx.min.js +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/src/withcache/wgetwithcache.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/tests/test_differential.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/tests/test_oras.py +0 -0
- {withcache-0.8.6 → withcache-0.8.7}/tests/test_withcache.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: withcache
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.7
|
|
4
4
|
Summary: Operator-curated, URL-keyed artifact cache for a small lab (CUDA/ROCm/DOCA/firmware)
|
|
5
5
|
Project-URL: Homepage, https://github.com/safl/withcache
|
|
6
6
|
Author-email: "Simon A. F. Lund" <safl@safl.dk>
|
|
@@ -257,6 +257,7 @@ never log in; the **operator surface** (`/`, `/admin/*`) is gated.
|
|
|
257
257
|
| `CURLWITHCACHE_SERVER` / `WGETWITHCACHE_SERVER` | Per-tool override of the above |
|
|
258
258
|
| `WITHCACHE_ADMIN_PASSWORD` | Operator login password (unset ⇒ UI open, with a warning) |
|
|
259
259
|
| `WITHCACHE_SESSION_SECRET` | Override the persisted cookie-signing key (optional) |
|
|
260
|
+
| `WITHCACHE_CATALOG_URL` | Pin the image-catalog URL; env value beats the /admin/catalog_set_url override so a locked-down deploy stays locked (optional) |
|
|
260
261
|
|
|
261
262
|
[bty]: https://github.com/safl/bty
|
|
262
263
|
|
|
@@ -239,6 +239,7 @@ never log in; the **operator surface** (`/`, `/admin/*`) is gated.
|
|
|
239
239
|
| `CURLWITHCACHE_SERVER` / `WGETWITHCACHE_SERVER` | Per-tool override of the above |
|
|
240
240
|
| `WITHCACHE_ADMIN_PASSWORD` | Operator login password (unset ⇒ UI open, with a warning) |
|
|
241
241
|
| `WITHCACHE_SESSION_SECRET` | Override the persisted cookie-signing key (optional) |
|
|
242
|
+
| `WITHCACHE_CATALOG_URL` | Pin the image-catalog URL; env value beats the /admin/catalog_set_url override so a locked-down deploy stays locked (optional) |
|
|
242
243
|
|
|
243
244
|
[bty]: https://github.com/safl/bty
|
|
244
245
|
|
|
@@ -14,7 +14,12 @@ services:
|
|
|
14
14
|
# Protect the operator UI. Unset => UI is open (a warning is logged).
|
|
15
15
|
- WITHCACHE_ADMIN_PASSWORD=${WITHCACHE_ADMIN_PASSWORD:-}
|
|
16
16
|
# Optional: pin the session-signing key (else persisted under /data).
|
|
17
|
-
|
|
17
|
+
- WITHCACHE_SESSION_SECRET=${WITHCACHE_SESSION_SECRET:-}
|
|
18
|
+
# Optional: pin the image-catalog URL. When set, the env value
|
|
19
|
+
# wins over any /admin/catalog_set_url operator override so a
|
|
20
|
+
# locked-down deploy stays locked. Unset uses the default
|
|
21
|
+
# (safl/nosi's ``catalog.toml`` on GitHub).
|
|
22
|
+
- WITHCACHE_CATALOG_URL=${WITHCACHE_CATALOG_URL:-}
|
|
18
23
|
volumes:
|
|
19
24
|
- withcache-data:/data
|
|
20
25
|
restart: unless-stopped
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.name = .withcache_shim,
|
|
3
3
|
// Zig requires a literal here; keep it in lockstep with the project's
|
|
4
4
|
// single source (src/withcache/__init__.py) via `make bump` / `make version-check`.
|
|
5
|
-
.version = "0.8.
|
|
5
|
+
.version = "0.8.7",
|
|
6
6
|
.fingerprint = 0xd7d96c5ed212ccaa,
|
|
7
7
|
.minimum_zig_version = "0.16.0",
|
|
8
8
|
.paths = .{
|
|
@@ -17,6 +17,6 @@ All modules are stdlib-only and self-contained.
|
|
|
17
17
|
from . import oras
|
|
18
18
|
from .client import blob_url, cache_base, is_cached, serve_url
|
|
19
19
|
|
|
20
|
-
__version__ = "0.8.
|
|
20
|
+
__version__ = "0.8.7"
|
|
21
21
|
|
|
22
22
|
__all__ = ["__version__", "blob_url", "cache_base", "is_cached", "oras", "serve_url"]
|
|
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
|