archivist: migrate to PocketBase v0.41.1 (module ganigeorgiev.com/pocketbase/pocketbase); dbx moved to ganigeorgiev.com/pocketbase/dbx; go 1.27 and golang:1.27-alpine builder

This commit is contained in:
2026-11-03 21:01:00 +01:00
parent 7829d73cd4
commit 6f94674fc9
7 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -5,9 +5,9 @@ import (
"fmt"
"time"
ganigeorgiev.com/pocketbase/pocketbase/core"
"github.com/napnap75/archivist/internal/config"
"github.com/napnap75/archivist/internal/storage"
"github.com/pocketbase/pocketbase/core"
)
// BindHooks registers the request hooks (US-04, US-22, US-23).
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"errors"
"fmt"
ganigeorgiev.com/pocketbase/pocketbase/core"
"github.com/napnap75/archivist/internal/config"
"github.com/pocketbase/pocketbase/core"
)
const eventsName = "document_events"
+2 -2
View File
@@ -8,12 +8,12 @@ import (
"fmt"
"strings"
ganigeorgiev.com/pocketbase/dbx"
ganigeorgiev.com/pocketbase/pocketbase/core"
"github.com/ledongthuc/pdf"
"github.com/napnap75/archivist/internal/config"
"github.com/napnap75/archivist/internal/pbapp"
"github.com/napnap75/archivist/internal/storage"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/dbx"
)
// pollState remembers size and ETag between two passes (US-10 write-completion wait).