From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Store channel specification in profile Date: Tue, 3 Mar 2020 22:43:46 +0100 Message-ID: References: <87blsyelgm.fsf@ambrevar.xyz> <87tv69bezo.fsf@gnu.org> <87zhg1xvmo.fsf@ambrevar.xyz> <874kx8gxh1.fsf@ambrevar.xyz> <87blreasgd.fsf@ambrevar.xyz> <87pnfpsgfx.fsf@gnu.org> <87a76rqu5j.fsf@ambrevar.xyz> <877e1vqowd.fsf@ambrevar.xyz> <87zhe4px2a.fsf@ambrevar.xyz> <87wo91p9yt.fsf@gnu.org> <87eev8gewx.fsf@ambrevar.xyz> <87pneq140d.fsf@gnu.org> <8736bldmzr.fsf@ambrevar.xyz> <87zhdp2p16.fsf@gnu.org> <87imkdky1w.fsf@ambrevar.xyz> <87ftf0j6zq.fsf@gnu.org> <87imjvarez.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59483) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9FKe-0000H8-FA for guix-devel@gnu.org; Tue, 03 Mar 2020 16:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9FKc-0005XM-Ko for guix-devel@gnu.org; Tue, 03 Mar 2020 16:44:03 -0500 In-Reply-To: <87imjvarez.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix Devel On Tue, 25 Feb 2020 at 11:32, Pierre Neidhardt wrote: > Ludovic Court=C3=A8s writes: > > (Note: we should remove the =E2=80=98sort=E2=80=99 call here as the ord= er of packages in > > the manifest is significant when there are file collisions.) > > But the export is not an "internal manifest", it should not need to know > about package order, right? > > I sorted the export so that it produces a reproducible output, which is > more version-control friendly. IMHO, the sort would not be too expensive; even on all the packages that Guix already includes now. ;-) So, it does not matter too much, I guess. However, the manifest returned is not necessary functional because the pkg1@v1 and pkg2@v2 are not necessary provided by the same commit. Therefore we could imagine "options" to the '--export' command, as '--export=3Dfull' or '--export=3Dlight' etc. And even '--export=3Dsorted' and maybe combined as '--export=3Dlight,sorted'. Cheers, simon