vdm

command module
v0.0.0-...-61e526c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

README

VDM: Vendoring Dependency Manager

VDM is a simple tool for managing external dependencies. VDM uses a dependency manifest written in Starlark and patch files to download the dependencies into a source repository.

VDM uses itself to manage its dependencies, so the VDM codebase functions as an example.

VDM works with a dependencies manifest called deps.bzl. This uses Starlark syntax to express the set of dependencies.

Commands:

  • The dependencies specified in deps.bzl are installed in the source repo using vdm vendor.
  • The dependency manifest is updated with newer minor/patch versions using vdm update. Note that this will not affect the source repository without subsequently calling vdm vendor.
  • The dependency graph can be checked for vulnerabilities and analysed for unused dependencies using vdm check ROOTS. The given roots are one or more Bazel path.
    • As an example, the VDM repository is checked using vdm check //:vdm //cmd/... //internal/....

Documentation

Overview

Command vdm implements the Vendoring Dependency Manager.

Directories

Path Synopsis
cmd
check
Command check uses package vendeps to check external dependencies for issues.
Command check uses package vendeps to check external dependencies for issues.
update
Command update helps identify and perform updates to Firefly's dependencies.
Command update helps identify and perform updates to Firefly's dependencies.
internal
gomodproxy
Package gomodproxy simplifies fetching data from a Go module proxy.
Package gomodproxy simplifies fetching data from a Go module proxy.
simplehttp
Package simplehttp is a very simple HTTP client helper library.
Package simplehttp is a very simple HTTP client helper library.
starlark
Package starlark provides helper functionality for processing Starlark files.
Package starlark provides helper functionality for processing Starlark files.
vendeps
Package vendeps provides functionality for managing vendored external dependencies.
Package vendeps provides functionality for managing vendored external dependencies.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL