Skip to main content

Red Hat Product Pages plugin for Helga

Project description

https://travis-ci.org/ktdreyer/helga-productpages.svg?branch=master https://badge.fury.io/py/helga-productpages.svg

About

Helga is a Python chat bot. Full documentation can be found at http://helga.readthedocs.org.

This Product Pages plugin allows Helga to respond to product commands in IRC and print information about releases. For example:

03:14 < ktdreyer> helgabot: rhcs 3.0 date
03:14 < helgabot> ktdreyer, Red Hat Ceph Storage 3.0 ga is on Tue Dec 5,
                  2017 (14 business days from today)

Or specific milestones, like “z2” or “beta”:

03:14 < ktdreyer> helgabot: osp 12 beta date
03:14 < helgabot> ktdreyer, Red Hat OpenStack Platform 12 beta is on Wed Nov
                  8, 2017 (50 business from today)

The bot can also provide the link to the full schedule for a release:

03:14 < ktdreyer> helgabot: osp 12 schedule
03:14 < helgabot> Red Hat OpenStack Platform 12 schedule:
                  https://pp.engineering.redhat.com/pp/product/rhosp/release/rhosp-12.0/schedule/tasks

(Obviously this bot plugin requires network access to https://pp.engineering.redhat.com.)

Installation

This Product Pages plugin is available from PyPI, so you can simply install it with pip:

pip install helga-productpages

If you want to hack on the helga-productpages source code, in your virtualenv where you are running Helga, clone a copy of this repository from GitHub and run python setup.py develop.

Optional: Default product configuration

In your settings.py file (or whatever you pass to helga --settings), you can specify a DEFAULT_PRODUCT. For example:

DEFAULT_PRODUCT = 'ceph'

If you omit the product when asking Helga for release dates, Helga will use this product value.

Security

Note: This plugin can expose private information (milestone dates) about Red Hat products. If you use this plugin, be sure that the networks to which Helga connects are restricted. Everyone in Helga’s channels will see the private information, so the assumption is that they already have rights to read the data on Product Pages.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helga-productpages-1.4.0.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file helga-productpages-1.4.0.tar.gz.

File metadata

  • Download URL: helga-productpages-1.4.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

File hashes

Hashes for helga-productpages-1.4.0.tar.gz
Algorithm Hash digest
SHA256 6db0f9e369e802483c0432877ecfc615d5879672074f630c3ee7fcc080c681af
MD5 bc8f1d02f0660b3fa9780a46f56fbe4b
BLAKE2b-256 70dd691db4dbca0eaaa273cc22d953fc69da0a022bd97ff7c057dc8771f30b89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page