bdist

command module
v0.0.0-...-920b2ea Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

bdist

Go Report Card

$ bdist -d /www/patches foo-1.0 foo-2.0
$ ls /www/patches
f52e22a6ef467d206e884794e39880956990228f735836c8375ea3d4ea38c074-to-0eb56015fdd2281fdbe3e804bbfd82739695e335d63dabecdff09ced11851aae.bpatch

Then, once somebody has foo-1.0 and wants to upgrade to foo-2.0, all they have to do is to fetch the sha256 signature for foo-2.0, e.g.:

$ sha256 foo
f52e22a6ef467d206e884794e39880956990228f735836c8375ea3d4ea38c074
$ curl https://github.com/mkmik/foo/releases/download/v2.0/foo.sha256
0eb56015fdd2281fdbe3e804bbfd82739695e335d63dabecdff09ced11851aae foo
$ curl -o foo-1.0-to-2.0.patch https://someserver/f52e22a6ef467d206e884794e39880956990228f735836c8375ea3d4ea38c074-to-0eb56015fdd2281fdbe3e804bbfd82739695e335d63dabecdff09ced11851aae.bpatch
$ bspatch foo foo-2.0 foo-1.0-to-2.0.patch

Usually this logic would be embedded in the foo binary itself.

Contributing

PRs accepted

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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