GNU bug report logs -
#58573
[PATCH 0/1] Add QA status badge to mumi issue page.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58573 in the body.
You can then email your comments to 58573 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58573
; Package
guix-patches
.
(Sun, 16 Oct 2022 19:32:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 16 Oct 2022 19:32:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Ricardo,
Chris (CCed) has recently set up a QA feature that allows patch
contributors and reviewers to quickly check the build status of
contributed patches across different architectures. qa.guix.gnu.org
provides this status indication as an SVG badge that can be embedded
into a mumi issue page. This patch does so.
Regards,
Arun
Arun Isaac (1):
Add QA status badge to issue page.
mumi/config.scm.in | 4 +++-
mumi/web/view/html.scm | 17 +++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
--
2.37.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58573
; Package
guix-patches
.
(Sun, 16 Oct 2022 19:34:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58573 <at> debbugs.gnu.org (full text, mbox):
* mumi/config.scm.in (%config): Add qa-scheme and qa-host
configuration parameters.
* mumi/web/view/html.scm: Import (web uri).
(build-uri-path): New function.
(issue-page): Add QA status badge.
---
mumi/config.scm.in | 4 +++-
mumi/web/view/html.scm | 17 +++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/mumi/config.scm.in b/mumi/config.scm.in
index 66ad924..ed9330a 100644
--- a/mumi/config.scm.in
+++ b/mumi/config.scm.in
@@ -78,6 +78,8 @@
(submission-bug-email-address . "bug-guix <at> gnu.org")
(lists . ("guix-patches <at> gnu.org" "bug-guix <at> gnu.org"))
(packages . ("guix-patches" "guix"))
- (debbugs-domain . "debbugs.gnu.org"))))
+ (debbugs-domain . "debbugs.gnu.org")
+ (qa-scheme . https)
+ (qa-host . "qa.guix.gnu.org"))))
(lambda (key)
(assoc-ref config key))))
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index 171fbf9..7fd85bc 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -26,6 +26,7 @@
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-19)
+ #:use-module (web uri)
#:export (index
help
unknown
@@ -355,6 +356,10 @@ failed to process associated messages.")
,message
(p (a (@ (href "/")) "Try something else?"))))))
+(define (build-uri-path . parts)
+ "Encode PARTS and join them together into an absolute URI path."
+ (string-append "/" (encode-and-join-uri-path parts)))
+
(define* (issue-page bug #:optional flash-message)
"Render the conversation for the given BUG."
(define id (bug-num bug))
@@ -403,6 +408,18 @@ failed to process associated messages.")
;; non-ASCII characters.
(sender-name (first messages))
".")
+ (div
+ (a (@ (href ,(uri->string
+ (build-uri (%config 'qa-scheme)
+ #:host (%config 'qa-host)
+ #:path (build-uri-path "issue"
+ (number->string id))))))
+ (img (@ (src ,(uri->string
+ (build-uri (%config 'qa-scheme)
+ #:host (%config 'qa-host)
+ #:path (build-uri-path "issue"
+ (number->string id)
+ "status-badge-medium.svg"))))))))
(details
(@ (class "info"))
(summary "Details")
--
2.37.3
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Sun, 16 Oct 2022 20:07:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Sun, 16 Oct 2022 20:07:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 58573-done <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> writes:
> * mumi/config.scm.in (%config): Add qa-scheme and qa-host
> configuration parameters.
> * mumi/web/view/html.scm: Import (web uri).
> (build-uri-path): New function.
> (issue-page): Add QA status badge.
Applied, thank you!
--
Ricardo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 14 Nov 2022 12:24:09 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Felix Lechner <felix.lechner <at> lease-up.com>
to
control <at> debbugs.gnu.org
.
(Fri, 23 Feb 2024 13:25:03 GMT)
Full text and
rfc822 format available.
bug reassigned from package 'guix-patches' to 'mumi'.
Request was from
Felix Lechner <felix.lechner <at> lease-up.com>
to
control <at> debbugs.gnu.org
.
(Fri, 23 Feb 2024 13:25:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Felix Lechner <felix.lechner <at> lease-up.com>
to
control <at> debbugs.gnu.org
.
(Fri, 23 Feb 2024 13:25:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.