[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rt-liberation 6f53df4 48/72: Add research notes.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/rt-liberation 6f53df4 48/72: Add research notes. |
Date: |
Wed, 5 Aug 2020 11:57:42 -0400 (EDT) |
branch: externals/rt-liberation
commit 6f53df4e82f4c0aa76920abdaff4f306ad55a433
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>
Add research notes.
---
rt-liberation-report.el | 66 +++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/rt-liberation-report.el b/rt-liberation-report.el
index 94e7118..0d693a0 100644
--- a/rt-liberation-report.el
+++ b/rt-liberation-report.el
@@ -1,4 +1,4 @@
-;;; rt-report.el --- Free from RT
+;;; rt-liberation-report.el --- Free from RT
;; Copyright (C) 2015 Yoni Rabkin
;;
@@ -32,8 +32,70 @@
(require 'rt-liberation-rest)
+;; This query works for a single day _BUT_ only if `resolved' is added
+;; as a `rt-liber-attrib-p'. The `nil' is the result when there are no
+;; tickets to return and the list is what comes back when tickets are
+;; found.
+;;
+;; (rt-liber-rest-run-show-base-query
+;; (rt-liber-rest-run-ls-query
+;; (rt-liber-compile-query
+;; (and (queue "licensing")
+;; (resolved "2015-10-09")
+;; (status "resolved")))))
+;;
+;; However, note that the following inequalities work too and would be
+;; the right way to do the query:
+;;
+;; (rt-liber-rest-run-ls-query "Queue = 'licensing' AND Resolved <
+;; '2015-10-02' AND Resolved > '2015-09-28' AND Status = 'resolved'")
+;;
+;; NOTE!!! rt-liberation already supports "temporal" predicates, but I
+;; need to add `resolved' ("Resolved") as one of them and check that
+;; it works.
+;;
+;; nil
+;;
+;; ((("TimeLeft" . "0")
+;; ("TimeWorked" . "0")
+;; ("TimeEstimated" . "0")
+;; ("Told" . "Thu Oct 08 00:53:59 2015")
+;; ("Resolved" . "Thu Oct 08 00:53:59 2015")
+;; ("Due" . "Not set")
+;; ("Started" . "Wed Oct 07 06:52:03 2015")
+;; ("Starts" . "Not set")
+;; ("Created" . "Wed Oct 07 06:39:22 2015")
+;; ("Requestors" . "ian.macintosh@gtxweb.uk")
+;; ("FinalPriority" . "0")
+;; ("InitialPriority" . "0")
+;; ("Priority" . "0")
+;; ("Status" . "resolved")
+;; ("Subject" . "Badly worded and misleading paragraph")
+;; ("Creator" . "ian.macintosh@gtxweb.uk")
+;; ("Owner" . "jgay@fsf.org")
+;; ("Queue" . "licensing")
+;; ("id" . "ticket/1052419"))
+;; (("TimeLeft" . "0")
+;; ("TimeWorked" . "0")
+;; ("TimeEstimated" . "0")
+;; ("Told" . "Thu Oct 08 07:54:47 2015")
+;; ("Resolved" . "Thu Oct 08 07:54:47 2015")
+;; ("Due" . "Not set")
+;; ("Started" . "Wed Oct 07 12:03:20 2015")
+;; ("Starts" . "Not set")
+;; ("Created" . "Mon Sep 21 13:33:24 2015")
+;; ("Requestors" . "juan.balderas.0@gmail.com")
+;; ("FinalPriority" . "0")
+;; ("InitialPriority" . "0")
+;; ("Priority" . "0")
+;; ("Status" . "resolved")
+;; ("Subject" . "Softare donation to FSF")
+;; ("Creator" . "juan.balderas.0@gmail.com")
+;; ("Owner" . "donald")
+;; ("Queue" . "licensing")
+;; ("id" . "ticket/1048183")))
(provide 'rt-report)
-;;; rt-report.el ends here.
+;;; rt-liberation-report.el ends here.
- [elpa] externals/rt-liberation 447c9f5 30/72: * rt-liberation.el: Move to REST API for ls queries., (continued)
- [elpa] externals/rt-liberation 447c9f5 30/72: * rt-liberation.el: Move to REST API for ls queries., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 0e6c7ca 34/72: Implement ticket history via REST., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 0f650d0 37/72: * rt-liberation-rest.el: Write to debug if enabled., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 1e7f720 38/72: * rt-liberation-rest.el: Be more verbose., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 46d4ec1 39/72: Remove (too bad)., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 0fac4b7 43/72: Update copyright years., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation d4cfeed 50/72: * rt-liberation-report.el: Evolve notes., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation eddec0a 42/72: * rt-liberation.el: Start post REST cleanup., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 9ce5b01 51/72: * rt-liberation.el: Clear up old CLI note., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 5f63428 61/72: * rt-liberation.el: Look for the next ticket., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 6f53df4 48/72: Add research notes.,
Stefan Monnier <=
- [elpa] externals/rt-liberation 20bf7cc 58/72: Add rt-report., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 6e9cceb 62/72: * rt-liberation-rest.el: UTF-8 decoding., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 46ec97d 67/72: * rt-liberation.el: use cl-lib instead, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 0c68b62 69/72: add "this file is a part of...", Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation c95b745 45/72: Update email address., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation f2d75b7 55/72: * rt-liberation-report.el: pass to main machine., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation a039fb5 56/72: * rt-liberation-report.el: Bump to other machine., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation d683385 63/72: * why-rt-liberation-is-under-gplv3.txt: what it says, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 5fc9f6d 66/72: friendlier caption, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation dd92e88 65/72: * more upgrade work, Stefan Monnier, 2020/08/05