aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-08-04 11:24:53 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-08-04 14:04:53 +0000
commit7728e95980db0a7f7f2a6305d4e2a7f3e919be91 (patch)
treed0cc071b2afb90fb52927c41bf65f459709891a5
parent788678bcc02d547c7b89ad53d070203780697c14 (diff)
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.
-rw-r--r--pkg/vcs/linux_patches.go2
1 files changed, 2 insertions, 0 deletions
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.