summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-01 18:54:41 -0500
committerJeff Carr <[email protected]>2025-07-01 18:54:41 -0500
commit1ea9bdf841cb4eae4cd7b1d96288852e799fbeb2 (patch)
treef8b4248268334967b6f668c0a45806f717b60f98 /structs.go
parent1d50f9eb697591a0c9fb06056b1c0762c9a7f50d (diff)
deprecate old stuff
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go44
1 files changed, 10 insertions, 34 deletions
diff --git a/structs.go b/structs.go
index 0470d97..a6f4cc7 100644
--- a/structs.go
+++ b/structs.go
@@ -8,7 +8,6 @@ import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
"go.wit.com/lib/protobuf/forgepb"
- "go.wit.com/lib/protobuf/gitpb"
)
var me *mainType
@@ -26,40 +25,18 @@ type mainType struct {
pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
forge *forgepb.Forge // for holding the forge protobuf files
myGui *gui.Node // the gui toolkit handle
- found *gitpb.Repos // stores the list of repos to process things on
psets *forgepb.Patchsets // the locally stored on disk patchsets
foundPaths []string // stores gopaths to act on (when doing go-clone)
configSave bool // if the config file should be saved after finishing
urlbase string // base URL
- // our view of the repositories
- // patchWin *patchesWindow
-
mainWindow *gadgets.BasicWindow
+ mainbox *gui.Node // the main box. enable/disable this
+ autoDryRun *gui.Node // checkbox for --dry-run
+ goSrcPwd *gadgets.OneLiner // what is being used as primary directory for your work
+ gitAuthor *gadgets.OneLiner // ENV GIT_AUTHOR NAME and EMAIL
- // the main box. enable/disable this
- mainbox *gui.Node
-
- // the window from the /lib/gui/gowit package
- // lw *gadgets.BasicWindow
-
- // #### Sorting options for the repolist
- // autoHidePerfect *gui.Node
- // autoHideReadOnly *gui.Node
-
- // checkbox for --dry-run
- autoDryRun *gui.Node
-
- // checkbox to enable intermittent scanning
- // if checked, it will check all your repos for changes
- autoScanReposCB *gui.Node
-
- goSrcPwd *gadgets.OneLiner // what is being used as primary directory for your work
- gitAuthor *gadgets.OneLiner // ENV GIT_AUTHOR NAME and EMAIL
- forgeMode *gui.Node // is the user in 'master', 'devel' or 'user' branches
-
- // these hold the branches that the user can switch all
- // the repositories to them
+ // these hold the branches that the user can switch all the repositories to them
newBranch *gui.Node // deprecate?
setBranchB *gui.Node // deprecate?
reposWinB *gui.Node // button that opens the repos window
@@ -67,11 +44,10 @@ type mainType struct {
repoDirtyB *gui.Node // "dirty" repos button
repoDevelMergeB *gui.Node // "merge to devel" repos button
repoWritableB *gui.Node // "what repos are writable" repos button
- // modeReleaseW *gui.Node // opens the release window
- // modePatchW *gui.Node // opens the patch window
- // modeUserW *gui.Node // opens the user/hack window
- argvCheckoutUser bool // shared between the GUI and the command line tools
- argvCheckoutDevel bool // shared between the GUI and the command line tools
- argvCheckoutMaster bool // shared between the GUI and the command line tools
+ // deprecate these
+ forgeMode *gui.Node // is the user in 'master', 'devel' or 'user' branches
+ argvCheckoutUser bool // shared between the GUI and the command line tools
+ argvCheckoutDevel bool // shared between the GUI and the command line tools
+ argvCheckoutMaster bool // shared between the GUI and the command line tools
}