This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

packagecloud-poll

Overview

packagecloud-poll repeatedly polls the packagecloud.io API, looking for a specific package filename to appear. It is intended to be used in continuous integration/continuous deployment pipelines, where we want to block something until we are sure a package has been uploaded and is available before continuing onwards.

Installation

pip install packagecloud-poll

Setup

You must set a PACKAGECLOUD_TOKEN environment variable before you can run packagecloud-poll. See the packagecloud API documentation for instructions on how to generate a token.

export PACKAGECLOUD_TOKEN=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef

Running

Sample invocation:

packagecloud-poll --user my_user --repo my_repo_name --type deb --distro ubuntu --distro_version precise --arch amd64 --pkg_name myorg-stuff --filename myorg-stuff_v5.3_precise_amd64.deb

Run packagecloud-poll --help for detailed help.

Developing

Setup.py creates the packagecloud-poll command. When running from source, execute run.py instead.

./run.py --help

Release History

0.0.2

  • Add new param --page_interval. Controls how long to sleep between requests when paginating through packagecloud API results.

0.0.1

  • Initial release
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
packagecloud-poll-0.0.2.tar.gz (6.7 kB) Copy SHA256 Checksum SHA256 Source Mar 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting