Files
kata-containers/cmd/kata-pkgsync/vendor/github.com/mlafeldt/pkgcloud
Marco Vedovati 2fc2565117 kata-pkgsync: vendor: update pkgcloud to add Fedora 30
Update pkgcloud pacakge to add Fedora 30 to the list of distros
supported by to Packagecloud.

Shortlog since last vendoring of github.com/mlafeldt/pkgcloud:
    926cf4b Update list of distros (Add Fedora 30)

Fixes: #546
Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-28 18:12:59 +02:00
..

pkgcloud

Build Status GoDoc

Talk to the packagecloud API, in Go.

Installation

$ go get github.com/mlafeldt/pkgcloud/...

API Usage

See Godoc and pkgcloud.go to learn about the API.

Client Usage

Pushing packages

Pushing packages with pkgcloud-push is the only operation supported so far. The tool is a simple and fast replacement for the original package_cloud push command. If you pass more than one package, pkgcloud-push will push them in parallel! Before using it, however, make sure that PACKAGECLOUD_TOKEN is set in your environment.

Usage:

$ pkgcloud-push user/repo[/distro/version] /path/to/packages

Examples:

# Debian
$ pkgcloud-push mlafeldt/myrepo/ubuntu/trusty example_1.2.3_amd64.deb

# RPM
$ pkgcloud-push mlafeldt/myrepo/el/7 *.rpm

# RubyGem
$ pkgcloud-push mlafeldt/myrepo example-1.2.3.gem