GNU bug report logs - #75399
[PATCH] guix: docker: Add history field to config.json.

Previous Next

Package: guix-patches;

Reported by: Romain GARBAGE <romain.garbage <at> inria.fr>

Date: Mon, 6 Jan 2025 11:17:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75399: closed ([PATCH] guix: docker: Add history field to
 config.json.)
Date: Tue, 07 Jan 2025 18:15:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 07 Jan 2025 19:14:22 +0100
with message-id <87r05exzi9.fsf <at> gnu.org>
and subject line Re: [bug#75399] [PATCH] guix: docker: Add history field to config.json.
has caused the debbugs.gnu.org bug report #75399,
regarding [PATCH] guix: docker: Add history field to config.json.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75399: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75399
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Romain GARBAGE <romain.garbage <at> inria.fr>
To: guix-patches <at> gnu.org
Cc: ludovic.courtes <at> inria.fr, Romain GARBAGE <romain.garbage <at> inria.fr>
Subject: [PATCH] guix: docker: Add history field to config.json.
Date: Mon,  6 Jan 2025 12:15:13 +0100
* guix/docker.scm (config): Add history field.

Change-Id: If1d4e9e2ce7673588f9016b389e4c67afa7ac119
---
 guix/docker.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/guix/docker.scm b/guix/docker.scm
index 1c6f59568f..b33c5824dd 100644
--- a/guix/docker.scm
+++ b/guix/docker.scm
@@ -135,6 +135,11 @@ (define* (config layers-diff-ids time arch #:key entry-point (environment '()))
                        `((entrypoint . ,(list->vector entry-point)))
                        '())))
     (container_config . #nil)
+    ;; Some container engines such as <https://github.com/cea-hpc/pcocc> require
+    ;; these fields.
+    (history . ,(list->vector `(((created . ,time)
+                                 (created_by . "guix pack -f docker")
+                                 (comment . "guix pack")))))
     (os . "linux")
     (rootfs . ((type . "layers")
                (diff_ids . ,(list->vector layers-diff-ids))))))

base-commit: 831b94a1efcea8f793afc949b5123a6235c9bb1a
-- 
2.46.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Romain GARBAGE <romain.garbage <at> inria.fr>
Cc: 75399-done <at> debbugs.gnu.org
Subject: Re: [bug#75399] [PATCH] guix: docker: Add history field to
 config.json.
Date: Tue, 07 Jan 2025 19:14:22 +0100
Romain GARBAGE <romain.garbage <at> inria.fr> skribis:

> * guix/docker.scm (config): Add history field.
>
> Change-Id: If1d4e9e2ce7673588f9016b389e4c67afa7ac119

Pushed as e94d35e522aa10ab715b53bce91ed397f59b9bd9, thanks!


This bug report was last modified 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.