From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46767) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAgto-0003or-Mi for guix-patches@gnu.org; Wed, 18 Sep 2019 16:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAgtn-0007BF-0k for guix-patches@gnu.org; Wed, 18 Sep 2019 16:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iAgtm-0007A5-ID for guix-patches@gnu.org; Wed, 18 Sep 2019 16:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iAgtm-0007FD-DX for guix-patches@gnu.org; Wed, 18 Sep 2019 16:50:02 -0400 Subject: [bug#37401] [PATCH 2/2] pack: Add packages in the order in which they appear on the command line. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190913155116.19225-1-ludo@gnu.org> <20190913155116.19225-2-ludo@gnu.org> <87pnk4qihp.fsf@elephly.net> <87zhj75i4w.fsf@gnu.org> Date: Wed, 18 Sep 2019 22:48:59 +0200 In-Reply-To: (zimoun's message of "Wed, 18 Sep 2019 18:27:42 +0200") Message-ID: <87r24d72kk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: zimoun Cc: 37401@debbugs.gnu.org Hi, zimoun skribis: > On Sat, 14 Sep 2019 at 11:43, Ludovic Court=C3=A8s wrote: > >> It=E2=80=99s mostly so that if you do =E2=80=98guix pack -f docker sed g= rep findutils=E2=80=99 >> the repo name is =E2=80=9Csed-grep-findutils=E2=80=9D and not =E2=80=9Cf= indutils-grep-sed=E2=80=9D. > > It is not in the doc, right? > If I want to create a "profile" with a meaningful name, then the order > after '-f' becomes important. Maybe one line explaining, something > like: > > (current doc) > The result is a tarball that can be passed to the =E2=80=98docker load=E2= =80=99 command. > See the Docker documentation > (https://docs.docker.com/engine/reference/commandline/load/) for more > information. > (addition) > Note that the profile name is built using the package names. Good idea, I=E2=80=99ve committed something along these lines. > Well, and what happens if there is 10 or more packages? Is the name trimm= ed? Yes, it=E2=80=99s trimmed (there are apparently no hard limits but the outp= ut of =E2=80=9Cdocker images=E2=80=9D becomes hard to read if the first column is= too wide.) Ludo=E2=80=99.