Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
func New ¶
func New() Cmd
New returns a new Cmd that implements "apt-cache" to find dependency information.
func (Cmd) Dependencies ¶
Dependencies returns a dependency graph by analyzing a debian package.Dependencies. Notes:
(A "valid dependency" is one that has a valid path in "d.Directory+target"). Many types of packages are found when running d.DebCmd and it is important to determine which ones are used by the system. This is the reason we debug errors when a tarball upload fails.
Analysis steps are as follows:
- Find all transitive dependencies for the target package/.
- Upload all valid dependencies and retrieve locator information.
- Loop through all valid dependencies and find their direct dependencies using d.DebCmd
- Construct a dependency graph with the direct dependency information.Dependencies
Click to show internal directories.
Click to hide internal directories.