From ce5abfa2798af36acba15d3c5ccea03bc422d0b2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 08:12:19 -0500 Subject: turning the chains of time --- getKeyFromPackaagePB.go | 4 ++++ parseDpkgOutputIntoPB.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/getKeyFromPackaagePB.go b/getKeyFromPackaagePB.go index 79c42fe..e8dae4e 100644 --- a/getKeyFromPackaagePB.go +++ b/getKeyFromPackaagePB.go @@ -36,6 +36,10 @@ func GetKeyFromPackagePB(p *zoopb.Package, varname string) (string, string) { // return "Packager", p.Packager case "Depends": return "Depends", p.DebInfo.Depends + case "Breaks": + return "Breaks", p.DebInfo.Breaks + case "Replaces": + return "Replaces", p.DebInfo.Replaces case "Namespace": return "Namespace", p.Namespace case "GitHash": diff --git a/parseDpkgOutputIntoPB.go b/parseDpkgOutputIntoPB.go index eb62a6c..170a1c7 100644 --- a/parseDpkgOutputIntoPB.go +++ b/parseDpkgOutputIntoPB.go @@ -176,6 +176,10 @@ func ParseDpkgOutputIntoPB(pb *zoopb.Package, all string) { pb.DebInfo.URL = varval case "Conflicts": pb.DebInfo.Conflicts = varval + case "Breaks": + pb.DebInfo.Breaks = varval + case "Replaces": + pb.DebInfo.Replaces = varval case "Source-Date": t, err := cobol.GetTime(varval) if t != nil { -- cgit v1.2.3