GNU bug report logs -
#66797
29.1; Debbugs refresh is ineffective when used with get-bug-by-id
Previous Next
Reported by: Bruno Victal <mirai <at> makinata.eu>
Date: Sat, 28 Oct 2023 14:49:01 UTC
Severity: normal
Found in version 29.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 66797 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
Hi Stefan,
>> That is correct behavior. Refreshing the bugs consults the cache (which
>> expires after an hour). Getting fresh data from the debbugs.gnu.org
>> server requires 'C-u g'. See the manual (info "(debbugs-ug) Tabulated Lists")
>
> Is it worth documenting that in the `debbugs-gnu' docstring?
It is not related to `debbugs-gnu'. It is a key binding in
`debbugs-gnu-mode', and independent from the way the buffer is created
(by `debbugs-gnu', `debbugs-gnu-search', `debbugs-gnu-bugs', you name
it). Instead, I have extended the docstring of `debbugs-gnu-mode':
--8<---------------cut here---------------start------------->8---
(define-derived-mode debbugs-gnu-mode tabulated-list-mode "Debbugs"
"Major mode for listing bug reports.
The bugs are are taken from the cache when the list is refreshed.
In order to retrieve the actual bug status after it has been
modified on the debbugs server, consider typing \\`C-u g'.
\\{debbugs-gnu-mode-map}"
--8<---------------cut here---------------end--------------->8---
Btw, `debbugs-gnu-make-control-message' contains the following code:
--8<---------------cut here---------------start------------->8---
(add-hook 'message-send-actions
(lambda () (remhash bugid debbugs-cache-data))
nil t)))
--8<---------------cut here---------------end--------------->8---
That is, after sending the control message, the bug is removed from the
cache. Next time the debbugs buffer is refreshed, new data for this bug
should be taken from the debbugs server. This doesn't help of course,
when the data are retrieved from the server before the change has
arrived it.
Best regards, Michael.
This bug report was last modified 1 year and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.