~aittner/charms/+source/scalebot-ircbot:fix-python3-pika-pkg

Last commit made on 2020-03-21
Get this branch:
git clone -b fix-python3-pika-pkg https://git.launchpad.net/~aittner/charms/+source/scalebot-ircbot
Only Alexandre Erwin Ittner can upload to this branch. If you are Alexandre Erwin Ittner please log in for upload directions.

Branch merges

Branch information

Name:
fix-python3-pika-pkg
Repository:
lp:~aittner/charms/+source/scalebot-ircbot

Recent commits

9c6bff1... by Alexandre Erwin Ittner

Install python3-pika from apt

Installing pika from pip would allow us to have it while we are still
setting the charm up (as we need), but we may end up with a version newer
than the one we have in apt (which we also need to install to have it
available for running IRCbot outside the installation virtualenv).

This commit will block the setup until pika is installed from apt,
make it available in the virtualenv, and do not start IRCbot until
the queues are configured.

b57c7f1... by Patricia Domingues

make ircbot to create a queue and bind it to RabbitMQ exchange

it adds an `exchange`: `scalebot`; it adds a `queue`: `scalebot`; then binds the queue
to the exchange with a `routing_key` also called `scalebot`.
Moved `python3-pika` to juju python_package because it will be installed before
the reactive handlers are invoked.

tested this patch on Juju version 2.7.4

ce34d7d... by Alexandre Erwin Ittner

Prevent ircbot 'manual ping' answers from triggering other instances of the bot

47a89db... by Patricia Domingues

add bionic support

1cd5003... by Patricia Domingues

replace icon

070a6bf... by Patricia Domingues

add readme file

41a42e5... by Patricia Domingues

change charm name to scalebot-ircbot

10500bc... by dann frazier

pep8 fix: "W391 blank line at end of file"

e50e7ab... by dann frazier

pep8 fix: "W291 trailing whitespace"

9e7cdec... by dann frazier

pep8 fix: "E712 comparison to True should be 'if cond is True:' or 'if cond:'"