Documentation ¶
Index ¶
- Variables
- type GitConfig
- 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) GitState() string
- func (rs *RepoStatus) Hide()
- func (rs *RepoStatus) IsOnlyLocalTag(taggy string) bool
- func (rs *RepoStatus) LocalTagExists(findname string) bool
- 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 ¶
View Source
var CHANGE *log.LogFlag
View Source
var INFO *log.LogFlag
View Source
var REPO *log.LogFlag
View Source
var REPOWARN *log.LogFlag
View Source
var WARN *log.LogFlag
Functions ¶
This section is empty.
Types ¶
type GitConfig ¶ added in v0.13.1
type GitConfig struct {
// contains filtered or unexported fields
}
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
func (*GitTagBox) PruneSmart ¶ added in v0.20.8
func (rtags *GitTagBox) PruneSmart()
hide tags worth keeping
type RepoStatus ¶
type RepoStatus struct { 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) GitState ¶ added in v0.20.8
func (rs *RepoStatus) GitState() 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) 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
remove this everything
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()
Click to show internal directories.
Click to hide internal directories.