From 447c9f5842de48dc711caf3ee8d9f577875cc048 Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Tue, 9 Dec 2014 22:34:37 -0500 Subject: * 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" -- cgit v1.2.3