diff options
| author | Jeff Carr <[email protected]> | 2024-01-23 11:22:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-23 11:22:33 -0600 |
| commit | c408a7cca557f8e8933484cff20934564ec70d17 (patch) | |
| tree | c6d02efe74f4dbe2b080189bf6d9ba44f1eefdf0 /structs.go | |
| parent | b4f1bf383600dd96491b13deb13fbed9e6be4cad (diff) | |
working towards global branch settings
repostatus improvements
common branch handling
scan all repos
code cleanups
check dirty before global delete
go mod using a quieter gui
smarter scripting
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 28 |
1 files changed, 17 insertions, 11 deletions
@@ -13,10 +13,9 @@ var reposbox *gui.Node var reposgrid *gui.Node var reposgroup *gui.Node -var me *repoType +var me *autoType -type repoType struct { - script [][]string +type autoType struct { allrepos map[*repo]string myGui *gui.Node @@ -43,25 +42,34 @@ type repoType struct { // if checked, will stop trying to os.Exec() things after failure stopOnErrors *gui.Node - autoRebuildButton *gui.Node // button to attempt to autorebuild + // button to attempt to autorebuild + autoRebuildButton *gui.Node + + // checkbox for --dry-run + autoDryRun *gui.Node + + // The current working directory + autoWorkingPwd *gadgets.OneLiner + + downloadEverythingButton *gui.Node } +/* var cmds *gui.Node var doit *gui.Node var dryrun *gui.Node +*/ type repo struct { hidden bool path string lasttagrev string lasttag string - // tags []string pLabel *gui.Node // path label // bLabel *gui.Node // branch label - lastTag *gui.Node // last tagged version label - vLabel *gui.Node // version label - // tagsDrop *gui.Node // list of all tags + lastTag *gui.Node // last tagged version label + vLabel *gui.Node // version label dirtyLabel *gui.Node // git state (dirty or not?) // masterName *gui.Node // the master branch name @@ -71,9 +79,7 @@ type repo struct { // userName *gui.Node // the jcarr branch name userVersion *gui.Node // the jcarr branch version - cButton *gui.Node // commit button - pButton *gui.Node // push button - showButton *gui.Node // the button! + statusButton *gui.Node // opens up the status window status *repostatus.RepoStatus } |
