buildkit/vendor/github.com/urfave/cli
Kohei Tokunaga da821a471c Fix estargz compression loses the original tar metadata
Currently, eStargz compression doesn't preserve the original tar metadata
(header bytes and their order). This causes failure of `TestGetRemote` because
an uncompressed blob converted from a gzip blob provides different digset
against the one converted from eStargz blob even if their original tar (computed
by differ) are the same.
This commit solves this issue by fixing eStargz to preserve original tar's
metadata that is modified by eStargz.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2021-09-22 10:50:57 +09:00
..
.flake8 Migrate from vndr to go mod 2019-01-31 22:44:47 +00:00
.gitignore Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
CODE_OF_CONDUCT.md vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
LICENSE vendor: add urfave/cli 2017-06-09 14:49:01 -07:00
README.md vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
app.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
appveyor.yml vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
category.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
cli.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
command.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
context.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
docs.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
errors.go vendor: add urfave/cli 2017-06-09 14:49:01 -07:00
fish.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_bool.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_bool_t.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_duration.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_float64.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_generic.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_int.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_int64.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_int64_slice.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
flag_int_slice.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
flag_string.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_string_slice.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
flag_uint.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
flag_uint64.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
funcs.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
help.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
parse.go Fix estargz compression loses the original tar metadata 2021-09-22 10:50:57 +09:00
sort.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
template.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00

README.md

cli

Build Status Windows Build Status

GoDoc codebeat Go Report Card codecov

cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way.

Usage Documentation

Usage documentation exists for each major version

Installation

Make sure you have a working Go environment. Go version 1.10+ is supported. See the install instructions for Go.

GOPATH

Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used:

export PATH=$PATH:$GOPATH/bin

Supported platforms

cli is tested against multiple versions of Go on Linux, and against the latest released version of Go on OS X and Windows. For full details, see ./.travis.yml and ./appveyor.yml.

Using v1 releases

$ go get github.com/urfave/cli
...
import (
  "github.com/urfave/cli"
)
...

Using v2 releases

Warning: v2 is in a pre-release state.

$ go get github.com/urfave/cli.v2
...
import (
  "github.com/urfave/cli.v2" // imports as package "cli"
)
...