irc application version 10.
authorMatt Mullins <mmullins@mmlx.us>
Sun, 5 May 2013 07:04:46 +0000 (00:04 -0700)
committerMatt Mullins <mmullins@mmlx.us>
Sun, 5 May 2013 07:35:28 +0000 (00:35 -0700)
Upgrade includes:
  * new childspecs for all the irc application's supervisors
  * irc_amqp_listener will terminate its associated amqp_channel
  * irc_conn is [ab]used to recreate the irc_amqp_listener with a new
    childspec, since it's a transient process.

bot.rel
irc/irc.app
irc/irc.appup

diff --git a/bot.rel b/bot.rel
index 74d76ce..e4a10bd 100644 (file)
--- a/bot.rel
+++ b/bot.rel
@@ -1,4 +1,4 @@
-{release, {"erlbot", "9.5"},
+{release, {"erlbot", "10"},
  {erts, "5.8.3"},
  [{kernel, "2.14.5"},
   {stdlib, "1.17.5"},
@@ -7,5 +7,5 @@
   {amqp_client, "0.0.0"},
   {core, "2"},
   {amqp, "2"},
-  {irc, "9"}]
+  {irc, "10"}]
 }.
index bd11c08..90a3184 100644 (file)
@@ -1,6 +1,6 @@
 {application, irc,
  [{description, "IRC protocol application"},
-  {vsn, "9"},
+  {vsn, "10"},
   {modules, [irc_util, irc_app, irc_sup, irc_net_sup, irc_conn,
              irc_object_sup, irc_amqp_listener, irc_command]},
   {registered, [irc_sup, irc_dummy]},
index f9ad801..50b0537 100644 (file)
@@ -1,8 +1,12 @@
-{"9",
- [{"8",
-   [{update, irc_amqp_listener, {advanced, ok}, [amqp_bot_listener]}
+{"10",
+ [{"9",
+   [{update, irc_object_sup, supervisor},
+    {update, irc_amqp_listener},
+    {update, irc_conn, {advanced, ok}}
    ]}],
- [{"8",
-   [{update, irc_amqp_listener, {advanced, ok}, [amqp_bot_listener]}
+ [{"9",
+   [{update, irc_conn, {advanced, ok}},
+    {update, irc_amqp_listener},
+    {update, irc_object_sup, supervisor}
    ]}]
 }.