MCPcopy Create free account

hub / github.com/benchkram/bob / functions

Functions994 in github.com/benchkram/bob

↓ 2 callersFunctionexists
(ctx context.Context, store Store, id string)
pkg/store/sync.go:49
↓ 2 callersFunctionfindRepos
findRepos searches for git repos inside provided root directory
bobgit/bobgit.go:44
↓ 2 callersFunctiongatherBuildTasks
gatherBuildTasks returns all direct build tasks in the pipeline of a run task.
bob/run.go:193
↓ 2 callersFunctiongetAuthContextNames
()
cli/cmd_auth.go:182
↓ 2 callersFunctiongetRepositoryByUrlFromBob
(b *bob.B, url string)
test/e2e/add/add_test.go:86
↓ 2 callersMethodgitignoreAdd
func (b *B) gitignoreRemove(name string) (err error) { defer errz.Recover(&err) file, err := os.Open(gitignore) errz.Fatal(err) defer file.Close()
bob/gitignore.go:32
↓ 2 callersFunctionhumanizeBytes
(s float64)
pkg/progress/progress.go:119
↓ 2 callersFunctioninitializeDependencies
initializeDependencies gathers all dependencies for a task(task level and bobfile level) and initialize them with bobfile dir and corresponding nixpkg
bob/bobfile/bobfile.go:206
↓ 2 callersFunctionisBobRoot
isBobRoot checks if a ".bob" folder is present in this directory
pkg/bobutil/bobutil.go:50
↓ 2 callersFunctionisRunTask
(name string, aggregate *bobfile.Bobfile)
bob/run.go:129
↓ 2 callersFunctionisValid
(bi *protos.BuildInfo)
pkg/buildinfostore/protostore.go:96
↓ 2 callersFunctionisValidFile
isValidFile returns true if a symlink resolves succesfully into a path relative to projectRoot. It also returns true if the file is a regular file or
pkg/filepathutil/list.go:158
↓ 2 callersFunctionisValidFilesystemTarget
isValidFilesystemTarget checks if target is a valid path inside the given bob.yaml context. Paths resolving to `.` or starting with `/` are considered
bobtask/verify.go:41
↓ 2 callersFunctionkeyExists
(m map[string]interface{}, key string)
bobtask/target_parse.go:130
↓ 2 callersFunctionlistDir
(path string, projectRoot string)
pkg/filepathutil/list.go:112
↓ 2 callersFunctionmakeTopPriority
makeTopPriority makes the first item matching the protocol in the list the top priority.
bob/clone.go:222
↓ 2 callersFunctionmax
(a, b int)
tui/model.go:414
↓ 2 callersFunctionmin
(a, b int)
tui/model.go:422
↓ 2 callersFunctionmultiScanner
(tabId int, events chan interface{}, rs ...io.Reader)
tui/model.go:151
↓ 2 callersFunctionnewArchive
()
bobtask/artifact_create.go:34
↓ 2 callersFunctionnewBuildProgress
newBuildProgress creates a new progress track for a package
pkg/nix/build_progress.go:25
↓ 2 callersFunctionnextEvent
(evts chan interface{})
tui/model.go:518
↓ 2 callersFunctionnormalize
normalize removes duplicated entrys from the run task list. The duplicate closest to the top of the chain is removed so that child tasks are started f
bob/run.go:105
↓ 2 callersFunctionoutput
()
test/e2e/version/version_suite_test.go:65
↓ 2 callersFunctionparse
parse `git status --porcelaine=v1` output see https://git-scm.com/docs/git-status
bobgit/status.go:140
↓ 2 callersFunctionparseEnvVarsFlag
parseEnvVarsFlag will parse flagEnvVars and return the environment variables based on: --env VAR_ONE uses VAR_ONE from host environment vari
cli/cmd_build.go:142
↓ 2 callersFunctionparseTargetPath
(p string)
bobtask/target_parse.go:109
↓ 2 callersMethodparseTargets
parseTargets parses target definitions from yaml. Example yaml input: target: folder/ target: |- folder/ folder1/folder/file target: path:
bobtask/target_parse.go:46
↓ 2 callersFunctionportConfigs
(proj *types.Project, typ string)
pkg/composeutil/composeutil.go:164
↓ 2 callersMethodpullArtifact
(ctx context.Context, a hash.In, task *bobtask.Task, ignoreLocal bool)
bob/playbook/sync_artifacts.go:19
↓ 2 callersFunctionreadDir
readDir returns the dir entries as string array
test/e2e/target-symlink/setup_test.go:32
↓ 2 callersFunctionreadImports
readImports recursively readModePlain allows to read bobfiles without doing sanitization. If prefix is given it's appended to the search path to ass
bob/aggregate_util.go:120
↓ 2 callersFunctionreleaseBobfile
(name string)
test/e2e/project/project_suite_test.go:73
↓ 2 callersFunctionreleaseBobfile
releaseBobfile will revert changes done in useBobfile
test/e2e/target-cleanup/setup_test.go:38
↓ 2 callersFunctionrunAuthContextSwitch
(name string)
cli/cmd_auth.go:241
↓ 2 callersFunctionrunCleanSystem
()
cli/cmd_clean.go:45
↓ 2 callersFunctionrunCleanTargets
()
cli/cmd_clean.go:67
↓ 2 callersFunctionrunTasksInPipeline
runTasksInPipeline returns run tasks in the pipeline. Task on a higher level in the tree appear at the front of the slice.. It will not error but ret
bob/run.go:80
↓ 2 callersMethodshexec
(ctx context.Context, cmds []string)
bobrun/with_init.go:224
↓ 2 callersMethodstop
stop requests for the command to stop, if it has already started.
pkg/execctl/cmd.go:223
↓ 2 callersMethodstoreBuildInfo
(taskname string, buildinfo *buildinfo.I)
bob/playbook/playbook.go:264
↓ 2 callersFunctionsyncProjectName
syncProjectName project names for all bobfiles and build tasks
bob/aggregate_util.go:15
↓ 2 callersFunctiontargetChange
targetChanged appends a string to a target
test/e2e/artifacts/artifactutils_test.go:48
↓ 2 callersFunctiontick
()
tui/model.go:470
↓ 2 callersFunctionunique
(ss []string)
bobtask/input.go:178
↓ 2 callersFunctionuseBobFile
(name string)
test/e2e/project/project_suite_test.go:68
↓ 2 callersFunctionuseBobfile
useBobfile sets the right bobfile to be used for test
test/e2e/target-cleanup/setup_test.go:33
↓ 2 callersMethodverifyBefore
()
bobtask/verify.go:26
↓ 2 callersMethodverifyBefore
verifyBefore verifies a Bobfile before Run() is called.
bob/bobfile/verify.go:23
↓ 2 callersMethodwalk
walk the task tree starting at root. Following dependend tasks.
bob/playbook/status_map.go:11
↓ 2 callersMethodwrap
(line string)
tui/line_buffer.go:99
↓ 1 callersMethodAdd64
Add64 will add the specified amount to the progressbar
pkg/progress/progress.go:55
↓ 1 callersFunctionAddDir
AddDir add the dir path to .nix files specified in dependencies
pkg/nix/nix.go:196
↓ 1 callersMethodAddRepo
AddRepo iniitializes the state maps with a new repo
bobgit/status/status.go:36
↓ 1 callersMethodAggregateWithNixDeps
AggregateWithNixDeps does aggregation together with evaluating nix dependecies. Nix dependencies are altering a tasks input hash. Use this function fo
bob/build.go:53
↓ 1 callersMethodArtifactExists
(ctx context.Context, id string)
pkg/store/filestore/filestore.go:96
↓ 1 callersMethodArtifactInspect
(artifactNames ...hash.In)
bobtask/artifact_inspect.go:21
↓ 1 callersMethodArtifactInspect
(artifactID string)
bob/artifact.go:104
↓ 1 callersMethodArtifactList
ArtifactList list artifacts belonging to each tasks. Artifacts are matched by project & taskname as well as their input hash stored in the artifacts m
bob/artifact.go:29
↓ 1 callersMethodAsMap
()
cli/config.go:33
↓ 1 callersFunctionBobSetup
()
test/e2e/target-cleanup/setup_test.go:10
↓ 1 callersFunctionBobSetup
()
test/e2e/target-symlink/setup_test.go:10
↓ 1 callersFunctionBobSetupNoCache
()
test/e2e/target-cleanup/setup_test.go:14
↓ 1 callersMethodBuildDependencies
BuildDependencies builds the list of all nix deps
bob/nix-builder/nix_builder.go:172
↓ 1 callersFunctionBuildEnvironment
BuildEnvironment is running nix-shell for a list of dependencies and fetch its whole environment nix-shell --pure --keep NIX_SSL_CERT_FILE --keep SSL
pkg/nix/nix.go:219
↓ 1 callersMethodBuildInfoExists
(id string)
pkg/buildinfostore/store.go:20
↓ 1 callersFunctionChildRepos
ChildRepos creates child repos as defined and returns the path to the wrapping directory
test/setup/reposetup/setup_structure.go:53
↓ 1 callersMethodCleanNixCache
()
bob/clean.go:36
↓ 1 callersMethodCleanNixShellCache
()
bob/clean.go:32
↓ 1 callersMethodCollectTasksInPipeline
CollectTasksInPipeline will collect all task names in the pipeline for task taskName in the tasksInPipeline slice
bobtask/map.go:158
↓ 1 callersFunctionComputePossibleRepos
ComputePossibleRepos Compute all the possible repository path from the provided path starting from bobroot inside bob workspace and returns a map of s
bobgit/pathspec/pathspec.go:102
↓ 1 callersMethodContext
(name string)
pkg/auth/store.go:57
↓ 1 callersMethodContexts
()
pkg/auth/store.go:39
↓ 1 callersFunctionConvertToLines
ConvertToLines converts bytes into a list of strings separeted by newline
bob/clone.go:285
↓ 1 callersMethodCreateAuthContext
(name, token string)
bob/auth.go:13
↓ 1 callersMethodCreateContext
(name, token string)
pkg/auth/store.go:76
↓ 1 callersMethodCurrentAuthContext
()
bob/auth.go:52
↓ 1 callersMethodCurrentContext
()
pkg/auth/store.go:131
↓ 1 callersFunctionDefaultAuthStore
()
bob/bob_defaults.go:81
↓ 1 callersFunctionDefaultNixBuilder
()
bob/bob_defaults.go:115
↓ 1 callersMethodDeleteAuthContext
(name string)
bob/auth.go:24
↓ 1 callersMethodDeleteContext
(name string)
pkg/auth/store.go:102
↓ 1 callersMethodDependencies
()
bobtask/task_get_set.go:59
↓ 1 callersMethodDidTaskChange
didTaskChange returns true if the `In` hash does not exist in the buildinfo storage. This indicates that there has not been a previous build for this
bobtask/rebuild.go:17
↓ 1 callersMethodDir
()
bobrun/run.go:80
↓ 1 callersMethodDone
()
pkg/ctl/commander.go:194
↓ 1 callersMethodEmitRestarted
()
pkg/ctl/control.go:15
↓ 1 callersMethodEmitStarted
()
pkg/ctl/control.go:14
↓ 1 callersMethodEmitStopped
()
pkg/ctl/control.go:13
↓ 1 callersMethodEnv
()
bobtask/task_get_set.go:35
↓ 1 callersMethodEnvStore
()
bob/nix-builder/nix_builder.go:67
↓ 1 callersMethodError
(err error, msg string, keysAndValues ...interface{})
pkg/boblog/boblog.go:47
↓ 1 callersFunctionExecute
()
cli/cli.go:25
↓ 1 callersMethodExecutionTime
()
bob/playbook/status.go:48
↓ 1 callersMethodExecutionTime
()
bob/playbook/playbook.go:137
↓ 1 callersMethodExpand
Expand finds matches for the provided Globs.
pkg/filepathxx/filepathxx.go:53
↓ 1 callersMethodFilterInputsSequential
FilterInputsSequential is the sequential version of FilterInputs. Can be handy for debugging input errors.
bobtask/map.go:94
↓ 1 callersMethodFilteredInputs
filteredInputs returns inputs filtered by ignores and file targets. Calls sanitize on the result.
bobtask/input.go:45
↓ 1 callersMethodFinish
Finish sets the current progress to 100%
pkg/progress/progress.go:82
↓ 1 callersFunctionFprintCommitOutput
FprintCommitOutput formats output buffer from every repository commit output
bobgit/commit.go:151
← previousnext →301–400 of 994, ranked by callers