From 7728e95980db0a7f7f2a6305d4e2a7f3e919be91 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 4 Aug 2023 11:24:53 +0200 Subject: pkg/vcs: add a Comment field to backport descriptions These backports are also specified in syz-ci configs, which are stored as plain JSON files. Add a special dummy field that will be used for remembering the rationale for the backport as well as useful links. --- pkg/vcs/linux_patches.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg') diff --git a/pkg/vcs/linux_patches.go b/pkg/vcs/linux_patches.go index bd50761fa..2ec3e0c63 100644 --- a/pkg/vcs/linux_patches.go +++ b/pkg/vcs/linux_patches.go @@ -15,6 +15,8 @@ type BackportCommit struct { // The title of the commit to cherry-pick. // It's used to determine whether the fix is already in place. FixTitle string `json:"fix_title"` + // The field is only intended to make config files less cryptic. + Comment string `json:"comment"` } // linuxFixBackports() cherry-picks the commits necessary to compile/run older Linux kernel releases. -- cgit mrf-deployment