Documentation ¶
Index ¶
- Constants
- func ChangedFilesExist() (uncommitedFiles string, exist bool)
- func CheckIfGitRepo() string
- func DeleteBranchesLocal(strs *[]string)
- func DeleteBranchesRemote(brs []string)
- func Dev(branch string, comments []string)
- func DevIssue(issueNumber int, args ...string) (branch string, notes []string)
- func DevShort(branch string, comments []string)
- func Download(cfg vcs.CfgDownload)
- func Fork() (repo string, err error)
- func GHInstalled() bool
- func GHLoggedIn() bool
- func GetCommitFileSizes() (totalSize int, quantity int)
- func GetCurrentBranchName() string
- func GetFilesForCommit() []string
- func GetGoneBranchesLocal() *[]string
- func GetInstalledQSVersion() string
- func GetIssueNameByNumber(issueNum string, parentrepo string) string
- func GetIssueNumFromBranchName(parentrepo string) (issuenum string, ok bool)
- func GetIssuePRTitle(issueNum string, parentrepo string) []string
- func GetIssuerepoFromUrl(url string) (reponame string)
- func GetLastQSVersion() string
- func GetMainBranch() string
- func GetMergedBranchList() (brlist []string, err error)
- func GetNoteAndURL(notes []string) (note string, url string)
- func GetNotes() (notes []string, result bool)
- func GetParentRepoName() (name string)
- func GetRemoteUpstreamURL() string
- func GetRepoAndOrgName() (repo string, org string)
- func GetRootFolder() string
- func GlobalPreCommitHookExist() bool
- func Gui()
- func IsBranchInMain() bool
- func IsMainOrg() bool
- func LocalPreCommitHookExist() bool
- func MakePR(notes []string, asDraft bool) (err error)
- func MakePRMerge(prurl string) (err error)
- func MakeUpstream(repo string)
- func MakeUpstreamForBranch(parentrepo string)
- func MergeFromUpstream()
- func PRAhead() bool
- func PopStashedFiles()
- func Release()
- func SetGlobalPreCommitHook()
- func SetLocalPreCommitHook()
- func Status(cfg vcs.CfgStatus)
- func Upload(cfg vcs.CfgUpload)
- func UpstreamNotExist(repo string) bool
Constants ¶
const ( MsgPreCommitError = "Attempt to commit too" PushDefaultMsg = "misc" IssuePRTtilePrefix = "Resolves issue" )
Variables ¶
This section is empty.
Functions ¶
func ChangedFilesExist ¶ added in v1.17.0
ChangedFilesExist s.e.
func CheckIfGitRepo ¶ added in v1.43.0
func CheckIfGitRepo() string
func DeleteBranchesLocal ¶ added in v1.14.0
func DeleteBranchesLocal(strs *[]string)
DeleteBranchesLocal s.e.
func DeleteBranchesRemote ¶ added in v1.14.0
func DeleteBranchesRemote(brs []string)
DeleteBranchesRemote delete branch list
func GHInstalled ¶ added in v1.33.0
func GHInstalled() bool
GHInstalled returns is gh utility installed
func GetCommitFileSizes ¶ added in v1.23.0
GetCommitFileSizes returns quantity of cmmited files and their total sizes
func GetCurrentBranchName ¶ added in v1.20.0
func GetCurrentBranchName() string
func GetFilesForCommit ¶ added in v1.22.0
func GetFilesForCommit() []string
GetFilesForCommit shows list of file names, ready for commit
func GetGoneBranchesLocal ¶ added in v1.14.0
func GetGoneBranchesLocal() *[]string
GetGoneBranchesLocal returns gone local branches
func GetInstalledQSVersion ¶ added in v1.36.0
func GetInstalledQSVersion() string
func GetIssueNameByNumber ¶ added in v1.42.0
func GetIssueNumFromBranchName ¶ added in v1.42.0
func GetIssuePRTitle ¶ added in v1.42.0
func GetIssuerepoFromUrl ¶ added in v1.40.0
func GetLastQSVersion ¶ added in v1.36.0
func GetLastQSVersion() string
func GetMainBranch ¶ added in v1.20.0
func GetMainBranch() string
func GetMergedBranchList ¶ added in v1.11.0
GetMergedBranchList returns merged user's branch list
func GetNoteAndURL ¶ added in v1.17.0
func GetParentRepoName ¶ added in v1.11.0
func GetParentRepoName() (name string)
GetParentRepoName - parent repo of forked
func GetRemoteUpstreamURL ¶ added in v1.5.0
func GetRemoteUpstreamURL() string
func GetRepoAndOrgName ¶ added in v1.6.0
GetRepoAndOrgName - from .git/config
func GetRootFolder ¶ added in v1.35.0
func GetRootFolder() string
func GlobalPreCommitHookExist ¶ added in v1.24.0
func GlobalPreCommitHookExist() bool
GlobalPreCommitHookExist - s.e.
func IsBranchInMain ¶ added in v1.14.0
func IsBranchInMain() bool
IsBranchInMain Is my branch in main org?
func LocalPreCommitHookExist ¶ added in v1.24.0
func LocalPreCommitHookExist() bool
LocalPreCommitHookExist - s.e.
func MakePRMerge ¶ added in v1.17.0
MakePRMerge merges Pull Request by URL
func MakeUpstreamForBranch ¶ added in v1.43.0
func MakeUpstreamForBranch(parentrepo string)
func MergeFromUpstream ¶ added in v1.43.0
func MergeFromUpstream()
func PopStashedFiles ¶ added in v1.16.0
func PopStashedFiles()
func SetGlobalPreCommitHook ¶ added in v1.24.0
func SetGlobalPreCommitHook()
SetGlobalPreCommitHook - s.e.
func SetLocalPreCommitHook ¶ added in v1.24.0
func SetLocalPreCommitHook()
SetLocalPreCommitHook - s.e.
func UpstreamNotExist ¶ added in v1.43.0
Types ¶
This section is empty.