MCPcopy Create free account

hub / github.com/mroth/bump / functions

Functions36 in github.com/mroth/bump

↓ 53 callersMethodString
()
prompter.go:22
↓ 12 callersFunctiontimePtr
timePtr returns a pointer to the given time - helper for creating *time.Time values
changelog_test.go:20
↓ 8 callersFunctionlogVerbose
(format string, v ...any)
main.go:18
↓ 3 callersFunctionparseGithubRemote
parseGithubRemote parses string remoteURL against known patterns matching GitHub remotes and returns the owner and repo, along with a boolean ok indic
git.go:79
↓ 3 callersFunctiontimeTrack
(start time.Time, name string)
main.go:24
↓ 2 callersFunctionNewOptionsFromEnv
NewOptionsFromEnv will return a populated Options struct with any settings defined via environment variables applied.
options.go:49
↓ 2 callersFunctionParseFlags
ParseFlags takes Options to use as a starting template -- likely populated from NewOptionsFromEnv() -- and parses flags contained in args into a new O
options.go:78
↓ 2 callersFunctionRenderChangelogMarkdown
RenderChangelogMarkdown formats a CommitsComparison suitable for markdown display in a GitHub Flavored Markdown release notes field. TODO: cap max nu
changelog.go:37
↓ 2 callersFunctionRenderChangelogScreen
RenderChangelogScreen formats a CommitsComparison suitable for displaying on the screen to the user, abbreviated to try to not overflow a 80x24 termin
changelog.go:17
↓ 2 callersFunction_detectRemoteURL_GoGit
detectRemoteURL implementation using go-git will work even if git is not installed on users machine one more dependency to track and keep up to date
git.go:40
↓ 2 callersFunctiondefaultGithubClient
defaultGithubClient returns a OAuth scoped Github API Client if GITHUB_TOKEN is set the local environment, or an unauthorized one otherwise.
github.go:59
↓ 2 callersFunctionfirstCommitMsgLine
(c github.RepositoryCommit)
changelog.go:48
↓ 2 callersFunctiongetBoolEnv
dont bother with ok confirmation like in LookupEnv since we just want to get a zero value then anyhow
options.go:58
↓ 2 callersFunctiongithubRepoDetect
githubRepoDetect attempts to detect whether a given path is part of a git repository that has a GitHub remote as the origin, and if so, returns the ow
git.go:19
↓ 2 callersFunctionresetEnviron
resetEnviron cleasrs and then sets the environment to match a []string of key=value pairs, which happens to be exactly what os.Environ() from the stan
options_test.go:106
↓ 1 callersFunctionParseAll
ParseAll rolls up all CLI option parsing curently needed for main()
options.go:100
↓ 1 callersFunctionVersion
()
version.go:18
↓ 1 callersFunction_detectRemoteURL_LocalGit
detectRemoteURL implementation shelling out to local copy of git requires git to be installed on machine uses os/exec from standard library, does not
git.go:63
↓ 1 callersFunctioncompareRelease
compareRelease is a convenience function wrapping retrieval of a commits comparison between current default branch HEAD and a given release tagName, v
github.go:40
↓ 1 callersFunctioncomparisonURL
comparisonURL makes a GitHub web view URL for comparing two tagged semvers.
changelog.go:55
↓ 1 callersFunctiondraftReleaseURL
draftReleaseURL constructs a URL to open a new draft release on GitHub for given owner/repo with a semver compatible tag based on the semver.Version i
main.go:115
↓ 1 callersFunctiongetLatestRelease
getLatestRelease is a convenience function wrapping retrieval of latest GitHub release for owner and repo It will automatically use an OAuth scoped t
github.go:17
↓ 1 callersFunctionprompt
(currVersion *semver.Version)
prompter.go:28
↓ 1 callersFunctionreverseCommitOrder
(cc *github.CommitsComparison)
github.go:50
↓ 1 callersFunctionusage
()
options.go:28
FunctionBenchmark_detectRemoteURL_GoGit
(b *testing.B)
git_test.go:63
FunctionBenchmark_detectRemoteURL_LocalGit
(b *testing.B)
git_test.go:69
FunctionBenchmark_parseGithubRemote
(b *testing.B)
git_test.go:75
MethodClose
Close implements an io.WriterCloser over os.Stderr.
prompter.go:73
FunctionTestOptionsPrecedence
(t *testing.T)
options_test.go:9
FunctionTestRenderChangelogMarkdown
(t *testing.T)
changelog_test.go:194
FunctionTestRenderChangelogScreen
(t *testing.T)
changelog_test.go:166
FunctionTest_githubRepoDetect
(t *testing.T)
git_test.go:51
FunctionTest_parseGithubRemote
(t *testing.T)
git_test.go:5
MethodWrite
Write implements an io.WriterCloser over os.Stderr, but it skips the terminal bell character.
prompter.go:64
Functionmain
()
main.go:29