From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Planning for the next release Date: Mon, 15 May 2017 14:44:51 +0200 Message-ID: <87y3tyjnlo.fsf@gnu.org> References: <87wpb7ym78.fsf@gnu.org> <87fugbvkdb.fsf@gnu.org> <20170512180456.GA6551@jasmine> <87mvag3lj7.fsf@gnu.org> <20170514191407.GA4673@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAFN0-0006G4-Hp for guix-devel@gnu.org; Mon, 15 May 2017 08:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAFMz-0007wD-EC for guix-devel@gnu.org; Mon, 15 May 2017 08:45:02 -0400 In-Reply-To: <20170514191407.GA4673@jasmine> (Leo Famulari's message of "Sun, 14 May 2017 15:14:07 -0400") 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.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel , sirgazil Hi Leo! (sirgazil: this is about providing a ready-to-use VM image of GuixSD for download, in addition to the installation image. See at the bottom.) Leo Famulari skribis: > I think the name should be "guixsd-vm-image-VERSION", since this follows > the convention established with `guix system vm-image`. Sounds good. > I've attached some rough patches for guix.git and guix-artwork.git. > > I'm confused about `make release`. The for-loop that builds the disk > images doesn't seem to set up offloading or actually build the images > for the different values of $SUPPORTED_SYSTEMS [0]. Am I missing this > somewhere? As discussed on IRC, there was a typo fixed in 6344e959ea45c283a0c7a2091f0959f8e09a198d. As for offloading, the target assumes that the user has set it up correctly. > For the web-site, I'm struggling to set up a development environment > where I can run (export-web-site) and test my changes. I=E2=80=99ll add a guix.scm there. > From 6ae03aa362b3542590e12c0ab2b65af127bdb00d Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Sat, 13 May 2017 20:44:36 -0400 > Subject: [PATCH 1/2] doc: Mention the pre-built VM image. > > * doc/guix.texi (Running GuixSD in a VM): Mention the pre-built VM image. OK. I think this commit can be squashed with the next one. What about explicitly mentioning VPS, as in: - If you=E2=80=99d like to install GuixSD in a virtual machine (VM) + @cindex virtual private server (VPS) + @cindex VPS (virtual private server) + If you=E2=80=99d like to install GuixSD in a virtual machine (VM) + in a virtual machine (VM) or on a virtual private server (VPS) ? > From 30effa15369a1707755d134e37e63e2df135422e Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Sat, 13 May 2017 18:07:01 -0400 > Subject: [PATCH 2/2] maint: The 'release' target builds a VM image. > > * Makefile.am (GUIXSD_VM_SYSTEMS, GUIXSD_VM_IMAGE_BASE, > GUIXSD_VM_IMAGE_SIZE): New variables. > (release): Add logic to build a VM image. [...] > + image=3D`$(top_builddir)/pre-inst-env \ > + guix system vm-image \ > + --image-size=3D$(GUIXSD_VM_IMAGE_SIZE) \ > + gnu/system/install.scm` ; \ So you need --system=3D$$system as well. :-) Otherwise LGTM. > From 584a9dfb224de28dc40692d2957d2301952378c2 Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Sun, 14 May 2017 15:03:57 -0400 > Subject: [PATCH] website: downloads: Mention the VM image. > > * website/www/download.scm (%vm-image-description, %vm-image-manual, > %vm-image-image): New variables. > (guixsd-vm-image-files): New procedure. > (download-page): Use guixsd-vm-image-files. [...] > --- a/website/www/download.scm > +++ b/website/www/download.scm > @@ -62,6 +62,15 @@ dependencies.") > (define %guix-src-image > "src-package.png") >=20=20 > +(define %vm-image-description > + "Virtual machine (QEMU) image of GuixSD.") > + > +(define %vm-image-manual > + "manual/html_node/Running-GuixSD-in-a-VM.html") > + > +(define %vm-image-image > + "GuixSD-package.png") > + > (define (ftp-url file) > (string-append "ftp://alpha.gnu.org/gnu/guix/" file)) >=20=20 > @@ -75,6 +84,12 @@ dependencies.") > "-linux.xz")))) > archs)) >=20=20 > +(define (guixsd-vm-image-files archs) > + (map (lambda (arch) > + (cons arch (https-url (string-append "guixsd-vm-image-" > + (latest-guix-version) "." = arch > + "-linux.xz")))))) > + > (define (guix-files archs) > (map (lambda (arch) > (cons arch (https-url (string-append "guix-binary-" (latest-gui= x-version) > @@ -150,7 +165,12 @@ Linux-based system.") > #:files (guix-source-files '("tarball")) > #:description %source-tarball-description > #:manual %source-tarball-manual > - #:image %guix-src-image)) > + #:image %guix-src-image) > + ,(download-box (string-append "GuixSD " (latest-guix-versio= n)) > + #:files (guixsd-vm-image-files '("x86_64")) > + #:description %vm-image-description > + #:manual %vm-image-manual > + #:image %guixsd-vm-image)) sirgazil: do you think we should add a special icon or something for the VM image? Otherwise LGTM! Thanks, Ludo=E2=80=99.