From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: debbugs tracker builds character Date: Fri, 22 Jul 2016 12:18:10 +0200 Message-ID: <87oa5qt1r1.fsf@gmx.de> References: <87y49vz4cg.fsf@acer.localhost.com> <87twg2g86g.fsf@lifelogs.com> <83eg76n5h5.fsf@gnu.org> <87y45eeoor.fsf@lifelogs.com> <577D42BB.1020500@cs.ucla.edu> <87oa694rfw.fsf@russet.org.uk> <837fcxlbay.fsf@gnu.org> <87lh1d2wg5.fsf@russet.org.uk> <83eg75jk5h.fsf@gnu.org> <87lh1cb6p0.fsf@lifelogs.com> <87oa5sa176.fsf_-_@lifelogs.com> <874m7kmkcm.fsf@gmx.de> <87zipc8gx2.fsf@lifelogs.com> <87bn1rtc17.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469183250 7552 80.91.229.3 (22 Jul 2016 10:27:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2016 10:27:30 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 12:27:21 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bQXfr-0004OZ-K6 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 12:27:19 +0200 Original-Received: from localhost ([::1]:46314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQXfl-0005lv-U3 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 06:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQXXF-0006tz-47 for emacs-devel@gnu.org; Fri, 22 Jul 2016 06:18:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQXXA-0001OS-4q for emacs-devel@gnu.org; Fri, 22 Jul 2016 06:18:23 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:58810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQXX9-0001OE-R0 for emacs-devel@gnu.org; Fri, 22 Jul 2016 06:18:20 -0400 Original-Received: from detlef.gmx.de ([87.146.57.231]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MAy40-1baPQ21voi-009uWm; Fri, 22 Jul 2016 12:18:14 +0200 In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 21 Jul 2016 14:37:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:jh2GPfNoO7ZKFSEmSj3sbNFpd4XPQJJ97I5fisLchlzJYKuLZLD eYy64mBeVTUGzxBDCS7LmQFAcgf8WcRWPq/VXk/AvHTu4t0e0OFRImrfhHo/DU3nn8/YM1F jSCKW71ex7lJWJoGVDr7dFqcBSSzHXR8ff/pl+aQZLKG7RX2cjQeXU5IXNtAi64VAHSpL3N nXf07Ky2d1vqn0ko6/O+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:rzSsUydRvzo=:yXqwpX+5zFig4jTrWzZMAz ALWsr4T2WVJNSjGnKEyaawPWe93iny9mTONsTchmar6ySPD+L8REni5MxZpK5h7T9Uu2fUDBx uM5/0nVugMmvN2oIQTTmAFujVIbwqlarUIlENilXXNxJDQy5fGvPIcEfGmdS2XePv/gs32Qwk 3t540FctS/4KMc76RBZk/kd1QGZKce/IeAeMI0mpwMf3jDXzkaJOzzyZw/XxLEWLmZc2WZmTx HT6KKgxKyb5/z8Ba8FoAcL4tLnv8UF710XKslfBJffssovckoLQAelW/p5l7ZvYsc4rAfjCWw nCXeV9VByZ/cuMJ8R+ue/um4swPxl5dAf3lc+pvMbsuHa9X6po6C/r/+i5SmY+B18LzM++6PF XhLuhHRzOAdBKItDx0wIn3hqZM4m7kn/tpaLS5ItURrUfT3wRnDg6W+19dm4yGuXz1c85+IOK /3FxgGXFzis17PbUK6eQKffCEzo/PqNY36g+h8q/p3A/tzsPiv3F0BkLMlvbCEUUoKuvHy2GB cYZSlzvhQ4ZEROOjr5IHrzkeBBdwUVBGK7O5jmMIkCPOWDluTeP4UnvaMKc5+6AITCxH74T/V XpwxXwY3rVi3No0A0RQckTq974RENKB7DPRkf88vVezQppKQejCaLAtM8IoHat0FsnkNK8d6p 6zn/A/83zEb+fLNbqdJy586n+S7Nzd2IEUlApKXdgHM1CsPwC1bKWgR8hw5uRelCz6IJ8hs4m ChamoAy6LKx0HfoZ843c1gP3d6AgtPro0Ecsi5iWHrdCyQcdRUqY/EfiCohB+Wjqf/nsvLWN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206012 Archived-At: Lars Ingebrigtsen writes: > Michael Albinus writes: > >> This might be possible by extending the SOAP interface. Not that I like >> it, but we've changed the SOAP interface already, so we aren't >> compatible with Debian's debbugs server anymore, for some operations. > > If you add such a function, I'll finish the offline implementation (and > document it :-)). Looks like we have it already. `debbugs-search-est' supports the attribute :@cdate, which means modification date of a message. If you want to see all bugs of package "emacs" with a message sent between July 20th and July 30th 2016, you'll apply (apply 'debbugs-gnu-bugs (delete-dups (mapcar (lambda (x) (cdr (assoc "id" x))) (debbugs-search-est '(:max 1000) `(:@cdate ,(floor (float-time (encode-time 0 0 0 20 07 2016))) ,(floor (float-time (encode-time 0 0 0 30 07 2016))) :operator "NUMBT") '(:package "emacs"))))) Since status changes are also triggered by emails, you should get all modified bugs of that time frame. That's more than you want (just bugs with changed attributes), but it might be sufficient, if the time frame is not too large. This still needs some work. `debbugs-search-est' does not retrieve the results in seval hunks asynchronously, as `debbugs-get-status' does already. The attribute :@cdate is not exposed (yet) in `debbugs-gnu-search', and `debbugs-search-est' is also not documented yet in the Debbugs Programmer Guide. Will do all of this. Best regards, Michael.