diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 08:12:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 08:12:19 -0500 |
| commit | ce5abfa2798af36acba15d3c5ccea03bc422d0b2 (patch) | |
| tree | d9d9cec5c4ba323b9c228f6963755e383f0afe65 | |
| parent | c4e8e5460130f2a0ea2dbe11000e9ecb0b4a3223 (diff) | |
turning the chains of timev0.0.15
| -rw-r--r-- | getKeyFromPackaagePB.go | 4 | ||||
| -rw-r--r-- | parseDpkgOutputIntoPB.go | 4 |
2 files changed, 8 insertions, 0 deletions
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 { |
