From patchwork Sat Jun 3 19:16:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Oleg Pykhalov X-Patchwork-Id: 50586 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 87E2C27BBEA; Sat, 3 Jun 2023 20:18:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 901DE27BBE2 for ; Sat, 3 Jun 2023 20:18:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5WlI-00025o-JG; Sat, 03 Jun 2023 15:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5WlG-00025W-Up for guix-patches@gnu.org; Sat, 03 Jun 2023 15:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5WlG-0003Ea-Lx for guix-patches@gnu.org; Sat, 03 Jun 2023 15:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5WlG-00034p-I0 for guix-patches@gnu.org; Sat, 03 Jun 2023 15:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62153] [PATCH v4] news: Add entry for the new 'docker-layered' distribution format. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Jun 2023 19:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62153@debbugs.gnu.org Cc: Oleg Pykhalov , Greg Hogan Received: via spool by 62153-submit@debbugs.gnu.org id=B62153.168581986011800 (code B ref 62153); Sat, 03 Jun 2023 19:18:02 +0000 Received: (at 62153) by debbugs.gnu.org; 3 Jun 2023 19:17:40 +0000 Received: from localhost ([127.0.0.1]:44325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Wku-00034C-25 for submit@debbugs.gnu.org; Sat, 03 Jun 2023 15:17:40 -0400 Received: from mail-lj1-f171.google.com ([209.85.208.171]:39161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Wks-00033z-0J for 62153@debbugs.gnu.org; Sat, 03 Jun 2023 15:17:38 -0400 Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2b07762d292so3722651fa.0 for <62153@debbugs.gnu.org>; Sat, 03 Jun 2023 12:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685819852; x=1688411852; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4URUR0lq/s5OhVUjnZV3N6WIgKKyEjRmH7hmQWx4TKA=; b=ie+uK0uXNGMXKCnon9t1GBWF/b1m62rQTFYYhWDKCjIiPNUWLLYl0D5oAIeua7LD07 7RwHmiCHnvq26Q3ZNSUwC47s0Zi8om3sAOJ6m7M0myPox5x9SvmTPKh7ux6FkK46+4zt 1KjBq2dfgE+8li6teIVktwzfspas3DBDlDosYwg6HU20z1R1mNBdqp701yfc3Tp6G1Y+ Ueo3puigyVtU47UQNffCEmdu7fW/IvSSZPzxa7pHI+JpIe1AC7ozkk+F+YiCWEHMiYd0 BcJQC4O30Caedz82RXogv9ySk2iAuvWSt9cDGXrj85BvJ+DdiV5gy2Czk11DHC1XrJXM /Mtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685819852; x=1688411852; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4URUR0lq/s5OhVUjnZV3N6WIgKKyEjRmH7hmQWx4TKA=; b=XOpOfg+09KUecm5egdvf9ti475pM4xxtRYTBGi8IprZ3rAr9qBSKAhGWaFeVrLqBy1 hZmxNGBbz+U4rd7uIAOqZ7gJxZ2mwVY9Xqx/j5krlpjKEAabM+ENKn8b6/xJww/NoPIu EAHk7T3S8c90S4J/cwtmdwF8SDnr/Lrsrf4BaZJX9Bd85dLz+Q5xHS50ao1MCkyb9VXu 5JMGUXQyclaGhmJKBCXL0suVlcmEUlIyR9bezZX5hiyygGRVsBB9csdDiLo+yBK8jC5Y RL4sA9VhgR9Mtf/PtPGARTG8K18DV+j7a5JBhtvwgZpOAByT3ZnP1G/qAEjUWQy/cS+u tarw== X-Gm-Message-State: AC+VfDziaxMI7LXt0GaMB9V5bfPiJRyMihqiDdoxaWNVtGXAfR44G0Cb WwXaZy2wqed8rHa9gnGhx/1PXgTA9FE= X-Google-Smtp-Source: ACHHUZ5a35livKk8rXM7W/wMdXkAnt9ANL2OsZm86wbZVDMCrtKxcCSnfu8I/6an0D9X4vbu7O/IYw== X-Received: by 2002:ac2:4951:0:b0:4f6:1c33:b9e3 with SMTP id o17-20020ac24951000000b004f61c33b9e3mr687875lfi.1.1685819851550; Sat, 03 Jun 2023 12:17:31 -0700 (PDT) Received: from guixsd.wugi.info ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id v6-20020ac25606000000b004f39bb71ed2sm553317lfd.138.2023.06.03.12.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jun 2023 12:17:31 -0700 (PDT) From: Oleg Pykhalov Date: Sat, 3 Jun 2023 22:16:27 +0300 Message-Id: <270e247ee913f6ede40883919d3f6971fe1b01aa.1685819787.git.go.wigust@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <87y1l0icq0.fsf_-_@gmail.com> References: <87y1l0icq0.fsf_-_@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * etc/news.scm: Add entry. --- etc/news.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) base-commit: 66c9b82fed3c59ee07187898592c688c82fed273 prerequisite-patch-id: 9c90b67b3c2bb18d7fd17d083b0ab0d1cd5333cd diff --git a/etc/news.scm b/etc/news.scm index 314f0ab352..158a9284b0 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -18,6 +18,7 @@ ;; Copyright © 2021 Andrew Tropin ;; Copyright © 2021, 2023 Jonathan Brielmaier ;; Copyright © 2022 Thiago Jung Bauermann +;; Copyright © 2023 Oleg Pykhalov ;; ;; Copying and distribution of this file, with or without modification, are ;; permitted in any medium without royalty provided the copyright notice and @@ -26,6 +27,63 @@ (channel-news (version 0) + (entry (commit "457c813653a44117e296deaa49e79fc701b90791") + (title + (de "Neues Format @samp{docker-layered} für den Befehl @command{guix pack}") + (en "New @samp{docker-layered} format for the @command{guix pack} command") + (ru "Новый @samp{docker-layered} формат для @command{guix pack} команды")) + (body + (de "Sie können jetzt auch mehrschichtige Docker-Abbilder mit dem Befehl +@command{guix pack --format=docker-layered} erzeugen. Damit bekommen Sie ein +Docker-Abbild, bei dem Store-Pfade auf getrennten Schichten („Layer“) +untergebracht sind, die sich mehrere Abbilder teilen können. Das Abbild wird +im Store als gzip-komprimierter Tarball erzeugt. Hier ist ein einfaches +Beispiel, wo ein mehrschichtiges Docker-Abbild für das Paket @code{hello} +angelegt wird: + +@example +guix pack --format=docker-layered --symlink=/usr/bin/hello=bin/hello hello +@end example + +@command{guix system image} kann jetzt geschichtete Docker-Abbilder erzeugen, +indem Sie @code{docker-layered} an die Befehlszeilenoption @option{--image-type} +übergeben. + +Siehe @command{info \"(guix.de) Aufruf von guix pack\"} und +@command{info \"(guix.de) Systemabbilder\"} für weitere Informationen.") + (en "Docker layered images can now be produced via the @command{guix +pack --format=docker-layered} command, providing a Docker image with many of +the store paths being on their own layer to improve sharing between images. +The image is realized into the GNU store as a gzipped tarball. Here is a +simple example that generates a layered Docker image for the @code{hello} +package: + +@example +guix pack --format=docker-layered --symlink=/usr/bin/hello=bin/hello hello +@end example + +The @command{guix system image} can now produce layered Docker image by passing +@code{docker-layered} to @option{--image-type} option. + +See @command{info \"(guix) Invoking guix pack\"} and +@command{info \"(guix) System Images\"} for more information.") + (ru "Появилась команда создания многослойных Docker образов с помощью +@command{guix pack --format=docker-layered}, которая соберет Docker образ с +путями в store расположенными на отдельных слоях, ускоряя таким образом +передачу образов. Образ будет создан в GNU store в качестве gzipped tarball. + +Пример создания Docker layered образ с @code{hello} пакетом: +@example +guix pack --format=docker-layered --symlink=/usr/bin/hello=bin/hello hello +@end example + +@command{guix system image} теперь может создавать layered Docker образ путем +указания в опции @option{--image-type} параметра @code{docker-layered}. + +Смотрите @command{info \"(guix) Invoking guix pack\"} и +@command{info \"(guix) System Images\"} для получения более детальных +сведений."))) + (entry (commit "ba5da5125a81307500982517e2f458d57b024668") (title (en "New @code{arguments} rule for @command{guix style}")