An open API service indexing awesome lists of open source software.

https://github.com/dpcat237/go-dsu

Go Dependencies Secure Updater
https://github.com/dpcat237/go-dsu

dependency-analysis go go-modules golang golang-module golang-tools updater

Last synced: 6 months ago
JSON representation

Go Dependencies Secure Updater

Awesome Lists containing this project

README

          

# Go-DSU

[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
[![Release](https://img.shields.io/github/v/release/dpcat237/go-dsu.svg)](https://github.com/dpcat237/go-dsu/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/dpcat237/go-dsu)](https://goreportcard.com/report/github.com/dpcat237/go-dsu)
[![Go test](https://github.com/dpcat237/go-dsu/workflows/Go%20test/badge.svg)](https://github.com/dpcat237/go-dsu/workflows/Go%20test/badge.svg)
[![codecov](https://codecov.io/gh/dpcat237/go-dsu/branch/master/graph/badge.svg)](https://codecov.io/gh/dpcat237/go-dsu)
[![codebeat badge](https://codebeat.co/badges/3253db71-5cd4-4c29-9194-503b186494de)](https://codebeat.co/projects/github-com-dpcat237-go-dsu-master)

Go DSU (Dependencies Secure Updater) - provides tools to update Go dependencies with more control than default Go tools.

Now `go-dsu` allows:
- List vulnerabilities and license dependencies and sub dependencies
- Preview available dependencies updates with vulnerabilities and changes in license
- Update dependencies using one of available modes

Vulnerabilities checked from [OSS Index](https://ossindex.sonatype.org/) which uses [CWE](http://cwe.mitre.org/) and [NVD](https://nvd.nist.gov/) databases.

## Installation

go get github.com/dpcat237/go-dsu

### Requirements

[Go 1.11+](https://golang.org/doc/install), [Git](https://git-scm.com/downloads), and Go modules as dependencies manager.

For private repositories it's required SSH key for Git.

## Usage

```
$ go-dsu
Go DSU - provides tools to update Go dependencies with more control than default Go modules.

Usage:
go-dsu [command]

Available Commands:
analyze Analyze current dependencies
help Help about any command
preview Preview updates
update Update modules
version Version

Flags:
-h, --help help for go-dsu

Use "go-dsu [command] --help" for more information about a command.
```

### [Usage examples](doc/Examples.md)

## Contributing
Go DSU is an open source project and contributions are welcome! Check out the [Issues](https://github.com/dpcat237/go-dsu/issues) or create a new one after reading [Code of Conduct](.github/CODE_OF_CONDUCT.md).