Re: Feature request (is that feasable or who do you do it?)
Mark Howard <mh@tildemh.com> writes:
> Sorry I've not followed up to that. I've been planning to do more work
> on it over the next few weeks. I tidied up my changes - these are
> available at http://bugs.debian.org/~mh/machine-interface/
> e.g.
> http://bugs.debian.org/~mh/machine-interface/machpkg.cgi?src=galeon&show=lastmod&show=bug&show=title
>
> They're still not perfect, but much better than the scripts I sent out
> before.
I mostly ignored the files and wrapped any html output in the original
scripts in a "if ($rfc822) {} else {}".
> > What other fields does bugwatcher need?
> Last modified date is quite important. Also, the ability to change what
> is displayed as done with the &shows in the url above.
I added last modified time to the rfc822 and normal output for
bugreports. Missed that one too.
The Age should probably shown in seconds or the actual date be used
and an mtime field added for the pkgreport and index. Will do that now.
> The scripts should be fairly simple to create patches for the existing
> cgis, although I was waiting until I'd improved them a little more
> before doing this.
>
> Also, I've not yet put much thought into the format of the bug report
> output. I'd really like the full report (I think!) so bugwatcher can
> parse it how it wants; but those control characters probably aren't
> transparent enough.
I didn't quite grasp the mail output code yet. Some state automaton.
I have the same amount output as the mbox but in rfc822 format. But
that means the outgoing/ack mails won't be shown.
MfG
Goswin
Sample output:
http://alpha/Bugs/Bugs/cgi/pkgreport.cgi?which=pkg&data=test&rfc822=yes
======================================================================
; TITLE: Something bug report logs: package test
Package: test
Maintainer: Mary Jane <mrvn@alpha>
; Grave bugs: outstanding
Bug: #340
Url: bugreport.cgi?bug=340
Title: test19
Package: test
Severity: grave
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Age: 0
; Normal bugs: outstanding
Bug: #338
Url: bugreport.cgi?bug=338
Title: test19
Package: test
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Age: 0
Bug: #341
Url: bugreport.cgi?bug=341
Title: test19
Package: test
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Merged with: #342
Age: 0
Bug: #342
Url: bugreport.cgi?bug=342
Title: test19
Package: test
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Merged with: #341
Age: 0
; Wishlist items: outstanding
Bug: #339
Url: bugreport.cgi?bug=339
Title: test19
Package: test
Severity: wishlist
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Age: 0
; Local DebBugs Owner <root@alpha>
; Last modified: Mon, 25 Aug 2003 17:12:59 UTC
; Debian bug tracking system: http://alpha/Bugs/
; Copyright (C) 1999 Darren O. Benham,
; 1997,2003 nCipher Corporation Ltd,
; 1994-97 Ian Jackson.
======================================================================
http://alpha/Bugs/Bugs/cgi/bugreport.cgi?bug=341&rfc822=yes
======================================================================
;TITLE: Something bug report logs - #341 - test19
Severity: normal
Package: test
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Report Date: Sun, 24 Aug 2003 18:09:10 UTC
MTime: 1061819822
Merged with: #342
Package: test
Maintainer: Mary Jane <mrvn@alpha>
Source: test
Archived: no
; Local DebBugs Owner <root@alpha>
; Last modified: Mon, 25 Aug 2003 17:13:46 UTC
; Debian bug tracking system: http://alpha/Bugs/
; Copyright (C) 1999 Darren O. Benham,
; 1997,2003 nCipher Corporation Ltd,
; 1994-97 Ian Jackson.
======================================================================
http://alpha/Bugs/Bugs/cgi/bugreport.cgi?bug=341&rfc822=yes&mbox=yes
======================================================================
;TITLE: Something bug report logs - #341 - test19
Severity: normal
Package: test
Reported by: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Report Date: Sun, 24 Aug 2003 18:09:10 UTC
MTime: 1061819822
Merged with: #342
Package: test
Maintainer: Mary Jane <mrvn@alpha>
Source: test
Archived: no
Mail: From brederlo@informatik.uni-tuebingen.de Sun Aug 24 20:08:55 2003
Received: (at submit) by bugs.alpha; 24 Aug 2003 18:08:55 +0000
Received: from dual ([192.168.0.3] ident=mail)
by alpha with esmtp (Exim 3.36 #1 (Debian))
id 19qzIM-0002xl-00
for <submit@alpha>; Sun, 24 Aug 2003 20:08:54 +0200
Received: from mrvn by dual with local (Exim 3.36 #1 (Debian))
id 19qyTK-0004Ya-00
for <submit@alpha>; Sun, 24 Aug 2003 19:16:10 +0200
To: submit@alpha
Subject: test19
Message-Id: <E19qyTK-0004Ya-00@dual>
From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Date: Sun, 24 Aug 2003 19:16:10 +0200
Package: test
Version: unavailable; reported 2003-08-24
Severity: normal
testing
-- System Information:
Debian Release: testing/unstable
Architecture: alpha
Kernel: Linux alpha 2.4.19 #2 Fri Dec 13 20:12:18 CET 2002 alpha
Locale: LANG=C, LC_CTYPE=de_DE
Mail: From brederlo@informatik.uni-tuebingen.de Mon Aug 25 15:56:29 2003
Received: (at control) by bugs.alpha; 25 Aug 2003 13:56:29 +0000
Received: from dual ([192.168.0.3] ident=mail)
by alpha with esmtp (Exim 3.36 #1 (Debian))
id 19rHpd-0000MD-00
for <control@alpha>; Mon, 25 Aug 2003 15:56:29 +0200
Received: from mrvn by dual with local (Exim 3.36 #1 (Debian))
id 19rHnM-00034S-00
for <control@alpha>; Mon, 25 Aug 2003 15:54:08 +0200
To: control@alpha
Subject:
Message-Id: <E19rHnM-00034S-00@dual>
From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Date: Mon, 25 Aug 2003 15:54:08 +0200
merge 341 342
; Local DebBugs Owner <root@alpha>
; Last modified: Mon, 25 Aug 2003 17:14:27 UTC
; Debian bug tracking system: http://alpha/Bugs/
; Copyright (C) 1999 Darren O. Benham,
; 1997,2003 nCipher Corporation Ltd,
; 1994-97 Ian Jackson.
======================================================================
Reply to: