diff options
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 } |
