From fa5a1b4e9bcb74f02eb26c6f19790e74158609ba Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 27 May 2026 03:13:58 -0700 Subject: [PATCH] release: archivebox 0.9.32rc6 --- Dockerfile | 1 + archivebox/core/views.py | 10 ++++++---- etc/package.json | 2 +- pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ab4c2e0..2290bdeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -267,6 +267,7 @@ RUN --mount=type=bind,source=pyproject.toml,target=/app/pyproject.toml \ && apt-get update -qq \ && apt-get install -qq -y --no-install-recommends build-essential gcc python3-dev \ && uv sync \ + --refresh \ --no-dev \ --inexact \ --all-extras \ diff --git a/archivebox/core/views.py b/archivebox/core/views.py index 08aaeb50..2efb2ac0 100644 --- a/archivebox/core/views.py +++ b/archivebox/core/views.py @@ -1463,14 +1463,12 @@ def live_progress_view(request): ( ArchiveResult.StatusChoices.QUEUED, ArchiveResult.StatusChoices.STARTED, - ArchiveResult.StatusChoices.SUCCEEDED, - ArchiveResult.StatusChoices.FAILED, ), ) archiveresults_pending = archiveresult_status_counts.get(ArchiveResult.StatusChoices.QUEUED, 0) archiveresults_started = archiveresult_status_counts.get(ArchiveResult.StatusChoices.STARTED, 0) - archiveresults_succeeded = archiveresult_status_counts.get(ArchiveResult.StatusChoices.SUCCEEDED, 0) - archiveresults_failed = archiveresult_status_counts.get(ArchiveResult.StatusChoices.FAILED, 0) + archiveresults_succeeded = 0 + archiveresults_failed = 0 # Build hierarchical active crawls with nested snapshots and archive results @@ -1604,6 +1602,10 @@ def live_progress_view(request): ) for archiveresult in displayed_archiveresults: archiveresults_by_snapshot.setdefault(str(archiveresult.snapshot_id), []).append(archiveresult) + if archiveresult.status == ArchiveResult.StatusChoices.SUCCEEDED: + archiveresults_succeeded += 1 + elif archiveresult.status == ArchiveResult.StatusChoices.FAILED: + archiveresults_failed += 1 def find_snapshot_for_process(proc_pwd: Path) -> Snapshot | None: for path_part in reversed(proc_pwd.parts): diff --git a/etc/package.json b/etc/package.json index c72e8f0e..4c6a7aa8 100644 --- a/etc/package.json +++ b/etc/package.json @@ -1,6 +1,6 @@ { "name": "archivebox", - "version": "0.9.32rc5", + "version": "0.9.32rc6", "repository": "github:ArchiveBox/ArchiveBox", "license": "MIT", "dependencies": { diff --git a/pyproject.toml b/pyproject.toml index a5495676..5505d9c7 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "archivebox" -version = "0.9.32rc5" +version = "0.9.32rc6" requires-python = ">=3.13" description = "Self-hosted internet archiving solution." authors = [{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"}]