Notify.pm: make ref_change function private
commit2d617a0af86e4f624dcc4843e43e758d16061937
authorKyle J. McKay <mackyle@gmail.com>
Sun, 31 Dec 2017 05:00:14 +0000 (30 21:00 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 31 Dec 2017 05:00:14 +0000 (30 21:00 -0800)
treeeac234e4a2cf700d896a74b258c05a514a0aa7b7
parent4ff217e9a0396f282f6a12d669b3e928374e5b31
Notify.pm: make ref_change function private

The "ref-change" message to taskd.pl has been obsolete for some
time.  However, the implementation was still directly calling the
Girocco::Notify::ref_change function.

We want all notifications to come through the one canonical
Girocco::Notify::ref_changes function.

Make Girocco::Notify::ref_change truly private (it's still used as
part of the implementation of the ref_changes function) and modify
taskd.pl to submit obsolete one-ref-at-a-time notifications received
using the obsolete "ref-change" message through the
Girocco::Notify::ref_changes function instead.

With a single point of entry in Notify.pm, future extensions are
greatly simplified.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Notify.pm
taskd/taskd.pl