Skip to content

edgeworx/packagecloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packagecloud

packagecloud is a Go CLI for the packagecloud API.

It is a trivial fork of mlafeldt/pkgcloud, adding functionality to retry a package push if it already exists.

This fork was created to solve a particular problem, and is not expected to be actively maintained, although pull requests will be reviewed.

Installation

$ go install github.com/edgeworx/packagecloud

Usage

The PACKAGECLOUD_TOKEN envar must be set.

To upload a package:

$ packagecloud push --overwrite user/repo/distro/version ./mypkg_1.2.3_arm64.deb

When the --overwrite flag is present, the CLI will yank (delete) the package file if the API reports that it already exists.

To yank (remove) a package:

$ packagecloud yank user/repo/distro/version ./mypkg_1.2.3_arm64.deb

About

Trivial Golang CLI for packagecloud.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published