From 6c6a7152b42f8bbf4d7de6e7bec221028a9e8c28 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Wed, 1 Feb 2023 11:55:22 -0800 Subject: [PATCH] Fix panic when performing incremental database updates --- internal/repos/pull.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/repos/pull.go b/internal/repos/pull.go index 9f75917..c1b4631 100644 --- a/internal/repos/pull.go +++ b/internal/repos/pull.go @@ -285,6 +285,9 @@ func processRepoChanges(ctx context.Context, repo types.Repo, r *git.Repository, } pkg := db.Package{ + Description: db.NewJSON(map[string]string{}), + Homepage: db.NewJSON(map[string]string{}), + Maintainer: db.NewJSON(map[string]string{}), Depends: db.NewJSON(map[string][]string{}), BuildDepends: db.NewJSON(map[string][]string{}), Repository: repo.Name,