emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/rt-liberation 447c9f5 30/72: * rt-liberation.el: Move t


From: Stefan Monnier
Subject: [elpa] externals/rt-liberation 447c9f5 30/72: * rt-liberation.el: Move to REST API for ls queries.
Date: Wed, 5 Aug 2020 11:57:38 -0400 (EDT)

branch: externals/rt-liberation
commit 447c9f5842de48dc711caf3ee8d9f577875cc048
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>

    * rt-liberation.el: Move to REST API for ls queries.
    
    Depreciated the CLI for 'ls' queries. Now using only the REST interface
    for these.
---
 rt-liberation.el | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/rt-liberation.el b/rt-liberation.el
index 81872dd..532e034 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -36,6 +36,8 @@
 (require 'time-date)
 (require 'cl)
 
+(require 'rt-liberation-rest)
+
 (defgroup rt-liber nil
   "*rt-liberation, the Emacs interface to RT"
   :prefix "rt-liber-"
@@ -386,12 +388,6 @@ AFTER  date after predicate."
            idsub-list))
     idsub-list))
 
-(defun rt-liber-run-ls-query (query)
-  "Run an \"ls\" type query against the server with QUERY."
-  (rt-liber-parse-answer
-   (rt-liber-query-runner "ls" query)
-   'rt-liber-ticketsql-runner-parser-f))
-
 
 ;;; --------------------------------------------------------
 ;;; Ticket list retriever
@@ -1082,7 +1078,7 @@ string then that will be the name of the new buffer."
   (condition-case excep
       (rt-liber-browser-startup
        (rt-liber-run-show-base-query
-       (rt-liber-run-ls-query query))
+       (rt-liber-rest-run-ls-query query))
        query new)
     (rt-liber-no-result-from-query-error
      (rt-liber-browser-with-message "no results from query"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]