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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75399 in the body.
You can then email your comments to 75399 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75399; Package guix-patches. (Mon, 06 Jan 2025 11:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Romain GARBAGE <romain.garbage <at> inria.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 06 Jan 2025 11:17:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 07 Jan 2025 18:15:02 GMT) Full text and rfc822 format available.

Notification sent to Romain GARBAGE <romain.garbage <at> inria.fr>:
bug acknowledged by developer. (Tue, 07 Jan 2025 18:15:02 GMT) Full text and rfc822 format available.

Message #10 received at 75399-done <at> debbugs.gnu.org (full text, mbox):

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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Feb 2025 12:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 36 days ago.

Previous Next


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