From ec661807da8b201cd51e544aee59e8de21aeb0df Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Sep 2025 15:23:17 -0500 Subject: switch over to using gitpb.Repo directly --- structs.go | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 6452f8e..b648572 100644 --- a/structs.go +++ b/structs.go @@ -2,6 +2,8 @@ package main import ( "go.wit.com/dev/alexflint/arg" + "go.wit.com/gui" + "go.wit.com/lib/gadgets" "go.wit.com/lib/gui/prep" "go.wit.com/lib/protobuf/gitpb" ) @@ -17,3 +19,33 @@ type mainType struct { repo *gitpb.Repo // this is the repo we are in myGui *prep.GuiPrep // the gui toolkit handle } + +type controlBox struct { + group *gui.Node // the group + grid *gui.Node // the grid + + Package *gadgets.OneLiner + Source *gadgets.OneLiner + Version *gadgets.OneLiner + Maintainer *gadgets.OneLiner + Packager *gadgets.BasicEntry + GoPath *gadgets.BasicEntry + URL *gadgets.BasicEntry + Architecture *gadgets.BasicDropdown + InstallPath *gadgets.BasicCombobox + Depends *gadgets.OneLiner + BuildDepends *gadgets.OneLiner + Recommends *gadgets.OneLiner + Conflicts *gadgets.BasicEntry + Test gui.Widget + Description *gadgets.OneLiner + + // repostatus things + pathL *gadgets.OneLiner + lastTag *gadgets.OneLiner + dirtyL *gadgets.OneLiner + currentL *gadgets.OneLiner + buildDate *gadgets.OneLiner + tagDate *gadgets.BasicEntry + // status *repostatus.RepoStatus +} -- cgit v1.2.3