all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32869] [PATCH cuirass] Provide link to build log in build table row.
@ 2018-09-28 22:18 Danny Milosavljevic
  2018-09-29 11:37 ` bug#32869: " Clément Lassieur
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2018-09-28 22:18 UTC (permalink / raw)
  To: 32869

* src/cuirass/templates.scm (build-eval-table): Provide link to build log.
---
 src/cuirass/templates.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 7ee579c..9a7bf45 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -189,7 +189,8 @@
                           ""))))
       (th (@ (scope "row")),(assq-ref build #:id))
       (td ,(assq-ref build #:jobset))
-      (td ,(strftime "%c" (localtime (assq-ref build #:stoptime))))
+      (td (a (@ href "/build/" ,(assq-ref build #:id) "/log/raw")
+             ,(strftime "%c" (localtime (assq-ref build #:stoptime)))))
       (td ,(assq-ref build #:job))
       (td ,(assq-ref build #:nixname))
       (td ,(assq-ref build #:system))))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#32869: [PATCH cuirass] Provide link to build log in build table row.
  2018-09-28 22:18 [bug#32869] [PATCH cuirass] Provide link to build log in build table row Danny Milosavljevic
@ 2018-09-29 11:37 ` Clément Lassieur
  0 siblings, 0 replies; 2+ messages in thread
From: Clément Lassieur @ 2018-09-29 11:37 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 32869-done

Hi Danny,

Thank you for this patch!  But it doesn't work because 'href' isn't an
attribute.  But don't worry about it: Tatiana already did a patch that
contains this change, I'll try to push it soon.

Cheers,
Clément

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * src/cuirass/templates.scm (build-eval-table): Provide link to build log.
> ---
>  src/cuirass/templates.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
> index 7ee579c..9a7bf45 100644
> --- a/src/cuirass/templates.scm
> +++ b/src/cuirass/templates.scm
> @@ -189,7 +189,8 @@
>                            ""))))
>        (th (@ (scope "row")),(assq-ref build #:id))
>        (td ,(assq-ref build #:jobset))
> -      (td ,(strftime "%c" (localtime (assq-ref build #:stoptime))))
> +      (td (a (@ href "/build/" ,(assq-ref build #:id) "/log/raw")
> +             ,(strftime "%c" (localtime (assq-ref build #:stoptime)))))
>        (td ,(assq-ref build #:job))
>        (td ,(assq-ref build #:nixname))
>        (td ,(assq-ref build #:system))))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-29 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-28 22:18 [bug#32869] [PATCH cuirass] Provide link to build log in build table row Danny Milosavljevic
2018-09-29 11:37 ` bug#32869: " Clément Lassieur

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.