From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Murray Newsgroups: gmane.emacs.bugs Subject: bug#35141: Add a default action to erc-desktop-notifications to switch to the originating buffer Date: Fri, 5 Apr 2019 13:52:10 +1030 Message-ID: References: <87wok919ox.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000000650d90585bfffeb" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="176743"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35141@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 05 05:23:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hCFRh-000jqc-Rc for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Apr 2019 05:23:14 +0200 Original-Received: from localhost ([127.0.0.1]:35305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCFRg-0007n6-PF for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2019 23:23:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCFRY-0007fu-H7 for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 23:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCFRW-0001Dj-TT for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 23:23:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCFRW-0001DJ-GR for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 23:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hCFRW-00082y-50 for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 23:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Murray Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Apr 2019 03:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35141 X-GNU-PR-Package: emacs Original-Received: via spool by 35141-submit@debbugs.gnu.org id=B35141.155443455730888 (code B ref 35141); Fri, 05 Apr 2019 03:23:02 +0000 Original-Received: (at 35141) by debbugs.gnu.org; 5 Apr 2019 03:22:37 +0000 Original-Received: from localhost ([127.0.0.1]:44941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hCFR5-000826-NE for submit@debbugs.gnu.org; Thu, 04 Apr 2019 23:22:36 -0400 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:50415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hCFR3-00081s-HF for 35141@debbugs.gnu.org; Thu, 04 Apr 2019 23:22:34 -0400 Original-Received: by mail-wm1-f47.google.com with SMTP id z11so5203101wmi.0 for <35141@debbugs.gnu.org>; Thu, 04 Apr 2019 20:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yd+NnSI+PlOVMNRywMb5Wn1MADSmykQpg/v0t2jk298=; b=qrQ/NwjnOJ6mD88aNoVustqi9YySmQWddhREKQnYLdgIjkCRNJMvraOYELdn6MyX6Y GXgw4B9D0wtwRgIE1t1C7coXnkmmsmFGR+kLxgtVcAMK0QqXkKd5hTOtEAMFjbxSp/Ut 6h52jQuMvaaECVJN0nowaviaDNlGMXFwm0Sh4ByH5yjLMbgG+txn6iPE4pd1Csao7tIM EYtk7a63wYbuWEz5nYQomBAHV5RWzyd9wT0/QtXOZElCP+do3x4dyZTgtJ+T1RebQ9aX BergRnwF8ANnATWB2NTj3kVh7mmRbi6iYUyonR5z8inGOwZxO1CchffrpcGvfh7ArSkK yDJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yd+NnSI+PlOVMNRywMb5Wn1MADSmykQpg/v0t2jk298=; b=AiPnTPa2w0wf6DJ7ffZ3lYEHH5+b5Ra8wVYgbIlxOILf6wOVDPRbIPymfzON+yl4t7 7+D/zhARexHJAc166e8S4yG+KiC6ZXVxmhv6vGIziXwDTu4MIZDORWkS97kXNnf9B8nC CIfyXI1L7qLDN7yMHVe6NmmglXPsKYCOZJr7lFySp4gFraWr0YftQC1o/2YJd6Akml5x JieG9WSc4EFLz0yXHVmKPKHeeKnQ5K606eY9Wqr2AXtTF9SLjKFZFqj2fZGbC10brhwH VVHke9yC87ccU+SHthBiKbdHRVxmS7OP4yvhZ2c7Dom/6BMk9iV6Mq7GJstFNGvJBUzc kpIw== X-Gm-Message-State: APjAAAWkMdgQfz1JUZ8IJxleSSN2LTqY3LrinxeTGVIDAu+6qvqTib/s ihm5vPO/+EEOiR7KnlRbTY8iHA3PFxTFhXV/Pjc= X-Google-Smtp-Source: APXvYqxUOFAnzmhng5Y9O6u0uemSQpGRKx6Z4hFUqDCiT+4eaULAHTtiCz2wyWUUbOqsqn4cgydYDWTkKakL1nH5zR4= X-Received: by 2002:a1c:a8d3:: with SMTP id r202mr6433058wme.106.1554434547397; Thu, 04 Apr 2019 20:22:27 -0700 (PDT) In-Reply-To: <87wok919ox.fsf@tcd.ie> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157202 Archived-At: --0000000000000650d90585bfffeb Content-Type: multipart/alternative; boundary="0000000000000650d60585bfffe9" --0000000000000650d60585bfffe9 Content-Type: text/plain; charset="UTF-8" Hi Basil, Thanks for the review - see attached for an updated version based on your feedback. Cheers, Alex On Fri, 5 Apr 2019 at 12:43, Basil L. Contovounesios wrote: > Alex Murray writes: > > > Attached is a patch which converts erc-desktop-notifications.el to > > lexical-binding and adds a default action to the generated > > notifications so that when they are clicked we automatically switch to > > the originating buffer. > > SGTM. > > > From 52b63272eed8aaafcd931e833ad006dd425d6512 Mon Sep 17 00:00:00 2001 > > From: Alex Murray > > Date: Thu, 4 Apr 2019 16:49:48 +1030 > > Subject: [PATCH] Switch to originating erc buffer when clicking desktop > > notification > > > > * lisp/erc/erc-desktop-notifications.el: Switch to lexical-binding and > > add a default action to the desktop notification which switches to > > the buffer from which the notification originated. As such clicking > > on the notification now automatically switches to that buffer. > > Please mention the name of the function changed: > > * lisp/erc/erc-desktop-notifications.el: Switch to lexical-binding. > (erc-notifications-notify): Add ... > > Unless you have completed your copyright assignment for contributions to > Emacs, the commit message should also include: > > Copyright-paperwork-exempt: yes > > For more details, see the file CONTRIBUTE. > > > diff --git a/ChangeLog.3 b/ChangeLog.3 > > index 235c8bb180..3819d6b4fe 100644 > > --- a/ChangeLog.3 > > +++ b/ChangeLog.3 > > @@ -1,3 +1,10 @@ > > +2019-04-04 Alex Murray > > + > > + * lisp/erc/erc-desktop-notifications.el: Use lexical-binding. > > + (erc-notifications-notify): Add a default action to > > + notifications which switches to the buffer from which the > > + notification originated. > > + > > 2019-03-20 Eli Zaretskii > > > > Improve indexing of the user manual > > ChangeLog files are no longer maintained by hand, but rather generated > from Git commit messages. > > > diff --git a/lisp/erc/erc-desktop-notifications.el > b/lisp/erc/erc-desktop-notifications.el > > index 56b93925ce..c1b812c119 100644 > > --- a/lisp/erc/erc-desktop-notifications.el > > +++ b/lisp/erc/erc-desktop-notifications.el > > @@ -59,11 +59,17 @@ > > This will replace the last notification sent with this function." > > (dbus-ignore-errors > > (setq erc-notifications-last-notification > > - (notifications-notify :bus erc-notifications-bus > > - :title (xml-escape-string nick) > > - :body (xml-escape-string msg) > > - :replaces-id > erc-notifications-last-notification > > - :app-icon erc-notifications-icon)))) > > + (let ((channel (current-buffer))) > > + (notifications-notify :bus erc-notifications-bus > > + :title (format "%s in %s" > > + (xml-escape-string > nick) > > + (buffer-name channel)) > > No need for buffer-name; you can pass buffers directly to "%s". > > > + :body (xml-escape-string msg) > > + :replaces-id > erc-notifications-last-notification > > + :app-icon erc-notifications-icon > > + :actions '("default" "Switch to > buffer") > > + :on-action #'(lambda (id action) > > + (switch-to-buffer > channel))))))) > > This should instead be something like the following: > > (lambda (&rest _) > (pop-to-buffer channel)) > > In particular, lambdas don't need to be quoted with #', pop-to-buffer is > far better behaved than switch-to-buffer, and unused argument names > should either start with an underscore or be omitted. > > Thanks, > > -- > Basil > --0000000000000650d60585bfffe9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Basil,

Thanks for the review - see a= ttached for an updated version based on your feedback.

=
Cheers,
Alex


On Fri, 5 Apr 2019 at 12:43= , Basil L. Contovounesios <contovob@t= cd.ie> wrote:
Alex Murray <murray.alex@gmail.com> writes:

> Attached is a patch which converts erc-desktop-notifications.el to
> lexical-binding and adds a default action to the generated
> notifications so that when they are clicked we automatically switch to=
> the originating buffer.

SGTM.

> From 52b63272eed8aaafcd931e833ad006dd425d6512 Mon Sep 17 00:00:00 2001=
> From: Alex Murray <murray.alex@gmail.com>
> Date: Thu, 4 Apr 2019 16:49:48 +1030
> Subject: [PATCH] Switch to originating erc buffer when clicking deskto= p
>=C2=A0 notification
>
> * lisp/erc/erc-desktop-notifications.el: Switch to lexical-binding and=
>=C2=A0 =C2=A0add a default action to the desktop notification which swi= tches to
>=C2=A0 =C2=A0the buffer from which the notification originated. As such= clicking
>=C2=A0 =C2=A0on the notification now automatically switches to that buf= fer.

Please mention the name of the function changed:

* lisp/erc/erc-desktop-notifications.el: Switch to lexical-binding.
(erc-notifications-notify): Add ...

Unless you have completed your copyright assignment for contributions to Emacs, the commit message should also include:

Copyright-paperwork-exempt: yes

For more details, see the file CONTRIBUTE.

> diff --git a/ChangeLog.3 b/ChangeLog.3
> index 235c8bb180..3819d6b4fe 100644
> --- a/ChangeLog.3
> +++ b/ChangeLog.3
> @@ -1,3 +1,10 @@
> +2019-04-04=C2=A0 Alex Murray=C2=A0 <murray.alex@gmail.com>
> +
> +=C2=A0 =C2=A0 =C2=A0* lisp/erc/erc-desktop-notifications.el: Use lexi= cal-binding.
> +=C2=A0 =C2=A0 =C2=A0(erc-notifications-notify): Add a default action = to
> +=C2=A0 =C2=A0 =C2=A0notifications which switches to the buffer from w= hich the
> +=C2=A0 =C2=A0 =C2=A0notification originated.
> +
>=C2=A0 2019-03-20=C2=A0 Eli Zaretskii=C2=A0 <eliz@gnu.org>
>=C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Improve indexing of the user manual

ChangeLog files are no longer maintained by hand, but rather generated
from Git commit messages.

> diff --git a/lisp/erc/erc-desktop-notifications.el b/lisp/erc/erc-desk= top-notifications.el
> index 56b93925ce..c1b812c119 100644
> --- a/lisp/erc/erc-desktop-notifications.el
> +++ b/lisp/erc/erc-desktop-notifications.el
> @@ -59,11 +59,17 @@
>=C2=A0 This will replace the last notification sent with this function.= "
>=C2=A0 =C2=A0 (dbus-ignore-errors
>=C2=A0 =C2=A0 =C2=A0 (setq erc-notifications-last-notification
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (notifications-notify :bus erc-not= ifications-bus
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:title (xml-escape-string nick)
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :body (xml-escape-string msg) > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :replaces-id erc-notifications-l= ast-notification
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :app-icon erc-notifications-icon= ))))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (let ((channel (current-buffer)))<= br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (notifications-notify :bus = erc-notifications-bus
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :title (format "%s i= n %s"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(xml-escape-string nick)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(buffer-name channel))

No need for buffer-name; you can pass buffers directly to "%s".
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :body (xml-escape-string = msg)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :replaces-id erc-notifica= tions-last-notification
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :app-icon erc-notificatio= ns-icon
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :actions '("defa= ult" "Switch to buffer")
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :on-action #'(lambda = (id action)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(switch-to-buffer channel)))))))

This should instead be something like the following:

=C2=A0 (lambda (&rest _)
=C2=A0 =C2=A0 (pop-to-buffer channel))

In particular, lambdas don't need to be quoted with #', pop-to-buff= er is
far better behaved than switch-to-buffer, and unused argument names
should either start with an underscore or be omitted.

Thanks,

--
Basil
--0000000000000650d60585bfffe9-- --0000000000000650d90585bfffeb Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Switch-to-originating-erc-buffer-when-clicking-deskt.patch" Content-Disposition: attachment; filename="0001-Switch-to-originating-erc-buffer-when-clicking-deskt.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ju3i5rp10 RnJvbSBmMjJlYWQ2YTU4NDU1N2RlYWEwNGEyNDZiMjI1NzRhZWQzOGFhYzNhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IE11cnJheSA8bXVycmF5LmFsZXhAZ21haWwuY29tPgpE YXRlOiBUaHUsIDQgQXByIDIwMTkgMTY6NDk6NDggKzEwMzAKU3ViamVjdDogW1BBVENIXSBTd2l0 Y2ggdG8gb3JpZ2luYXRpbmcgZXJjIGJ1ZmZlciB3aGVuIGNsaWNraW5nIGRlc2t0b3AKIG5vdGlm aWNhdGlvbgoKKiBsaXNwL2VyYy9lcmMtZGVza3RvcC1ub3RpZmljYXRpb25zLmVsOiBTd2l0Y2gg dG8gbGV4aWNhbC1iaW5kaW5nLgogIChlcmMtbm90aWZpY2F0aW9ucy1ub3RpZnkpIEFkZCBhIGRl ZmF1bHQgYWN0aW9uIHRvIHRoZSBkZXNrdG9wCiAgbm90aWZpY2F0aW9uIHdoaWNoIHN3aXRjaGVz IHRvIHRoZSBidWZmZXIgZnJvbSB3aGljaCB0aGUKICBub3RpZmljYXRpb24gb3JpZ2luYXRlZC4g QXMgc3VjaCBjbGlja2luZyBvbiB0aGUgbm90aWZpY2F0aW9uIG5vdwogIGF1dG9tYXRpY2FsbHkg c3dpdGNoZXMgdG8gdGhhdCBidWZmZXIuIChCdWcjMzUxNDEpCgpDb3B5cmlnaHQtcGFwZXJ3b3Jr LWV4ZW1wdDogeWVzCi0tLQogbGlzcC9lcmMvZXJjLWRlc2t0b3Atbm90aWZpY2F0aW9ucy5lbCB8 IDE4ICsrKysrKysrKysrKy0tLS0tLQogMSBmaWxlIGNoYW5nZWQsIDEyIGluc2VydGlvbnMoKyks IDYgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9lcmMvZXJjLWRlc2t0b3Atbm90aWZp Y2F0aW9ucy5lbCBiL2xpc3AvZXJjL2VyYy1kZXNrdG9wLW5vdGlmaWNhdGlvbnMuZWwKaW5kZXgg NTZiOTM5MjVjZS4uNDA0NjM5OTk2OSAxMDA2NDQKLS0tIGEvbGlzcC9lcmMvZXJjLWRlc2t0b3At bm90aWZpY2F0aW9ucy5lbAorKysgYi9saXNwL2VyYy9lcmMtZGVza3RvcC1ub3RpZmljYXRpb25z LmVsCkBAIC0xLDQgKzEsNCBAQAotOzsgZXJjLWRlc2t0b3Atbm90aWZpY2F0aW9ucy5lbCAtLSBT ZW5kIG5vdGlmaWNhdGlvbiBvbiBQUklWTVNHIG9yIG1lbnRpb25zCis7OyBlcmMtZGVza3RvcC1u b3RpZmljYXRpb25zLmVsIC0tIFNlbmQgbm90aWZpY2F0aW9uIG9uIFBSSVZNU0cgb3IgbWVudGlv bnMgLSotIGxleGljYWwtYmluZGluZzp0IC0qLQogCiA7OyBDb3B5cmlnaHQgKEMpIDIwMTItMjAx OSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24sIEluYy4KIApAQCAtNTksMTEgKzU5LDE3IEBACiBU aGlzIHdpbGwgcmVwbGFjZSB0aGUgbGFzdCBub3RpZmljYXRpb24gc2VudCB3aXRoIHRoaXMgZnVu Y3Rpb24uIgogICAoZGJ1cy1pZ25vcmUtZXJyb3JzCiAgICAgKHNldHEgZXJjLW5vdGlmaWNhdGlv bnMtbGFzdC1ub3RpZmljYXRpb24KLSAgICAgICAgICAobm90aWZpY2F0aW9ucy1ub3RpZnkgOmJ1 cyBlcmMtbm90aWZpY2F0aW9ucy1idXMKLQkJCQk6dGl0bGUgKHhtbC1lc2NhcGUtc3RyaW5nIG5p Y2spCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDpib2R5ICh4bWwtZXNjYXBlLXN0 cmluZyBtc2cpCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDpyZXBsYWNlcy1pZCBl cmMtbm90aWZpY2F0aW9ucy1sYXN0LW5vdGlmaWNhdGlvbgotICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICA6YXBwLWljb24gZXJjLW5vdGlmaWNhdGlvbnMtaWNvbikpKSkKKyAgICAgICAg ICAobGV0ICgoY2hhbm5lbCAoY3VycmVudC1idWZmZXIpKSkKKyAgICAgICAgICAgIChub3RpZmlj YXRpb25zLW5vdGlmeSA6YnVzIGVyYy1ub3RpZmljYXRpb25zLWJ1cworICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIDp0aXRsZSAoZm9ybWF0ICIlcyBpbiAlcyIKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoeG1sLWVzY2FwZS1zdHJpbmcg bmljaykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBj aGFubmVsKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDpib2R5ICh4bWwtZXNj YXBlLXN0cmluZyBtc2cpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOnJlcGxh Y2VzLWlkIGVyYy1ub3RpZmljYXRpb25zLWxhc3Qtbm90aWZpY2F0aW9uCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgOmFwcC1pY29uIGVyYy1ub3RpZmljYXRpb25zLWljb24KKyAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6YWN0aW9ucyAnKCJkZWZhdWx0IiAiU3dp dGNoIHRvIGJ1ZmZlciIpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOm9uLWFj dGlvbiAobGFtYmRhICgmcmVzdCBfKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAocG9wLXRvLWJ1ZmZlciBjaGFubmVsKSkpKSkpKQogCiAoZGVmdW4gZXJj LW5vdGlmaWNhdGlvbnMtUFJJVk1TRyAocHJvYyBwYXJzZWQpCiAgIChsZXQgKChuaWNrIChjYXIg KGVyYy1wYXJzZS11c2VyIChlcmMtcmVzcG9uc2Uuc2VuZGVyIHBhcnNlZCkpKSkKLS0gCjIuMTcu MQoK --0000000000000650d90585bfffeb--