Documentation
¶
Index ¶
- Variables
- func MakeRepoBranchesWindow(repo *gitpb.Repo) *repoBranchesWindow
- func MakeRepoWindow(repo *gitpb.Repo) *repoWindow
- type GitTagBox
- type RepoStatus
- func (rs *RepoStatus) Changed() (string, bool)
- func (rs *RepoStatus) CheckGitState() string
- func (rs *RepoStatus) Disable()
- func (rs *RepoStatus) DisableEverything()
- func (rs *RepoStatus) DumpTags()
- func (rs *RepoStatus) Enable()
- func (rs *RepoStatus) EnableMergeDevel()
- func (rs *RepoStatus) EnableSelectTag()
- func (rs *RepoStatus) GetLastTagVersion() string
- func (rs *RepoStatus) GetStatus() string
- func (rs *RepoStatus) Hide()
- func (rs *RepoStatus) IsOnlyLocalTag(taggy string) bool
- func (rs *RepoStatus) LocalTagExists(findname string) bool
- func (rs *RepoStatus) MakeRepoMergeWindow(repo *gitpb.Repo) *repoMergeWindow
- func (rs *RepoStatus) NewestTag() *Tag
- func (rs *RepoStatus) NoteChange(s string)
- func (rs *RepoStatus) Path() string
- func (rs *RepoStatus) Ready() bool
- func (rs *RepoStatus) Show()
- func (rs *RepoStatus) TagExists(findname string) bool
- func (rs *RepoStatus) Toggle()
- func (rs *RepoStatus) Update()
- type Tag
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MakeRepoBranchesWindow ¶ added in v0.22.37
you can only have one of these
Types ¶
type GitTagBox ¶ added in v0.20.8
type GitTagBox struct {
// contains filtered or unexported fields
}
a GUI box of all the tags in a repo
type RepoStatus ¶
type RepoStatus struct {
// tags map[string]string
InitOk bool // it takes a second or so to init these
// used to temporarily tell the automation tools to
// try to ignore this repo's changes and state
// specifically when doing formal releases, sometimes
// some repos are in flux and can't be changed. This
// means attempt to overlook that situation.
Whitelist bool
Tags *GitTagBox // a box of all the git tags
// contains filtered or unexported fields
}
func NewRepoStatusWindow ¶ added in v0.12.20
func NewRepoStatusWindow(repo *gitpb.Repo) (*RepoStatus, error)
makes a window of the status of the repo don't worry, you can think of it like Sierpinski carpet it's doesn't need to be displayed so it'll work fine even in an embedded space
func (*RepoStatus) Changed ¶
func (rs *RepoStatus) Changed() (string, bool)
reports externally if something has changed since the last time it was asked about it
func (*RepoStatus) CheckGitState ¶ added in v0.20.8
func (rs *RepoStatus) CheckGitState() string
func (*RepoStatus) Disable ¶ added in v0.12.17
func (rs *RepoStatus) Disable()
func (*RepoStatus) DisableEverything ¶
func (rs *RepoStatus) DisableEverything()
disable all things besides Update() button
func (*RepoStatus) DumpTags ¶ added in v0.21.1
func (rs *RepoStatus) DumpTags()
func (*RepoStatus) Enable ¶ added in v0.12.17
func (rs *RepoStatus) Enable()
func (*RepoStatus) EnableMergeDevel ¶
func (rs *RepoStatus) EnableMergeDevel()
this means devel needs to be merged to master
func (*RepoStatus) EnableSelectTag ¶
func (rs *RepoStatus) EnableSelectTag()
this means you need to release a new version of the master repository
func (*RepoStatus) GetLastTagVersion ¶
func (rs *RepoStatus) GetLastTagVersion() string
func (*RepoStatus) GetStatus ¶ added in v0.12.17
func (rs *RepoStatus) GetStatus() string
func (*RepoStatus) Hide ¶
func (rs *RepoStatus) Hide()
func (*RepoStatus) IsOnlyLocalTag ¶ added in v0.21.1
func (rs *RepoStatus) IsOnlyLocalTag(taggy string) bool
returns true if 'taggy' is _ONLY_ a local tag this means you can not do a git pull or git push on it
func (*RepoStatus) LocalTagExists ¶ added in v0.20.8
func (rs *RepoStatus) LocalTagExists(findname string) bool
func (*RepoStatus) MakeRepoMergeWindow ¶ added in v0.22.40
func (rs *RepoStatus) MakeRepoMergeWindow(repo *gitpb.Repo) *repoMergeWindow
func (*RepoStatus) NewestTag ¶ added in v0.20.9
func (rs *RepoStatus) NewestTag() *Tag
func (*RepoStatus) NoteChange ¶ added in v0.20.8
func (rs *RepoStatus) NoteChange(s string)
func (*RepoStatus) Path ¶ added in v0.20.8
func (rs *RepoStatus) Path() string
most everything here needs to be deprecated now
func (*RepoStatus) Ready ¶
func (rs *RepoStatus) Ready() bool
func (*RepoStatus) Show ¶
func (rs *RepoStatus) Show()
func (*RepoStatus) TagExists ¶ added in v0.20.8
func (rs *RepoStatus) TagExists(findname string) bool
func (*RepoStatus) Toggle ¶
func (rs *RepoStatus) Toggle()
func (*RepoStatus) Update ¶
func (rs *RepoStatus) Update()
type Tag ¶ added in v0.20.8
type Tag struct {
// contains filtered or unexported fields
}
Source Files
¶
- args.go
- branchesBox.go
- common.go
- draw.go
- git.go
- structs.go
- tagWindow.go
- update.go
- windowBranches.go
- windowMain.go
- windowMerge.go
- windowModify.go
- windowRepo.go
Click to show internal directories.
Click to hide internal directories.