You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can pass multiple pipeline dirs for melange configs, so we should
accept multiple in dag.NewPackages.
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
Copy file name to clipboardExpand all lines: docs/cmd/wolfictl_dot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Open browser to explore crane's deps recursively, only showing a minimum subgrap
34
34
-d, --dir string directory to search for melange configs (default ".")
35
35
-h, --help help for dot
36
36
-k, --keyring-append strings path to extra keys to include in the build environment keyring (default [https://packages.wolfi.dev/os/wolfi-signing.rsa.pub])
37
-
--pipeline-dir string directory used to extend defined built-in pipelines
37
+
--pipeline-dir strings directory used to extend defined built-in pipelines
38
38
-R, --recursive recurse through package dependencies
39
39
-r, --repository-append strings path to extra repositories to include in the build environment (default [https://packages.wolfi.dev/os])
40
40
-D, --show-dependents show packages that depend on these packages, instead of these packages' dependencies
@@ -298,7 +299,7 @@ Open browser to explore crane's deps recursively, only showing a minimum subgrap
298
299
},
299
300
}
300
301
d.Flags().StringVarP(&dir, "dir", "d", ".", "directory to search for melange configs")
301
-
d.Flags().StringVar(&pipelineDir, "pipeline-dir", "", "directory used to extend defined built-in pipelines")
302
+
d.Flags().StringSliceVar(&pipelineDirs, "pipeline-dir", nil, "directory used to extend defined built-in pipelines")
302
303
d.Flags().BoolVarP(&showDependents, "show-dependents", "D", false, "show packages that depend on these packages, instead of these packages' dependencies")
303
304
d.Flags().BoolVarP(&recursive, "recursive", "R", false, "recurse through package dependencies")
304
305
d.Flags().BoolVarP(&span, "spanning-tree", "S", false, "does something like a spanning tree to avoid a huge number of edges")
returnfmt.Errorf("constructing new package set from directory %q: %w", dir, err)
39
40
}
@@ -49,7 +50,7 @@ If this fails, there may be an unsatisfiable dependency or a cycle in the graph.
49
50
},
50
51
}
51
52
text.Flags().StringVarP(&dir, "dir", "d", ".", "directory to search for melange configs")
52
-
text.Flags().StringVar(&pipelineDir, "pipeline-dir", "", "directory used to extend defined built-in pipelines")
53
+
text.Flags().StringSliceVar(&pipelineDirs, "pipeline-dir", nil, "directory used to extend defined built-in pipelines")
53
54
text.Flags().StringVarP(&arch, "arch", "a", "x86_64", "architecture to build for")
54
55
text.Flags().StringVarP(&t, "type", "t", string(typeTarget), fmt.Sprintf("What type of text to emit; values can be one of: %v", textTypes))
55
56
text.Flags().StringSliceVarP(&extraKeys, "keyring-append", "k", []string{"https://packages.wolfi.dev/os/wolfi-signing.rsa.pub"}, "path to extra keys to include in the build environment keyring")
0 commit comments