From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Come back and graphical installer Date: Mon, 22 Oct 2018 17:07:31 +0200 Message-ID: <20181022170731.13db3f3b@scratchpost.org> References: <87lg6sejwa.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ZurYkb415MIUQ=D_m0eZjFp"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEbo9-0004Xt-CE for guix-devel@gnu.org; Mon, 22 Oct 2018 11:07:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEbo6-0002yj-2U for guix-devel@gnu.org; Mon, 22 Oct 2018 11:07:53 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:53890) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gEbo5-0002o2-Q5 for guix-devel@gnu.org; Mon, 22 Oct 2018 11:07:49 -0400 In-Reply-To: <87lg6sejwa.fsf@gmail.com> 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: Mathieu Othacehe Cc: Guix-devel --Sig_/ZurYkb415MIUQ=D_m0eZjFp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Mathieu, welcome back! > I picked up the "Graphical installer" task. After studying the branch > wip-installer-2, I choose to rewrite it for multiple reasons: >=20 > * I found the guile-ncurses approach too low level and think that many > bugs in the current installer could be avoided with a higher level > library. Yeah, it's also why I didn't really continue it except for finishing what's already there. It's just to low-level. I mean it can be done the low-level way, but widget libraries are a solved problem and the "redraw it only now" stuff is seriously 1980s. > * As suggested by Ludo[1], using a network manager seems to be a better > idea that calling iw, ip and other low level tools. I agree. Note that back then network-manager was not used in guix. > * I prefer relying on a Guile-parted library rather than calling cfdisk > and again interfacing with various partioning tools. I agree. I've been meaning to write parted bindings for guile, but I got side-tracked with https://github.com/daym/guile-gcc-unit which can extract prototypes out of gcc source files (in order to automate wrapper generation). Now I'm motivated to pick it up again. Maybe I should just have written the bindings manually - I would have been done a long time ago ;-) > Based on this, I have a first draft for a new installer here[4]. I plan > to push it on a wip savannah branch soon. Most of the basic features are > implemented and the last missing part it the partioning one (also the > bigger ...). Cool! --Sig_/ZurYkb415MIUQ=D_m0eZjFp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlvN57MACgkQ5xo1VCww uqWl3gf9EIeMkELVaPJaxuDNwBji28l0kYFuXy8gSb0bscywp10JHPC62i7qHnDm uSfI2T7T+H+6Wdb60ooPhNaWhtFwvsPCCRs2qIBmvnKi5VTmjCshB+n5idpFGg8b fh110QV8OFY+qdvPWAX/YGMqAuDFj70zDSwVj9emdOKAkwe/xFmlNyl+FWkd8jjj RX8I9eFxHnjtI9tvA4RO75O85LDm+a78wWq/olvYxG91I4z2oVf4jHDP0Kl9vnIn LAu4z00nC2f3Eik+H1QZ8Y5kG3Im7U4v9MsW670coIjPqM/5ihCccRYiWqUjf3AK dUTVzjZe9pI7Yuicf/e8Z9wTyllDpw== =+NCt -----END PGP SIGNATURE----- --Sig_/ZurYkb415MIUQ=D_m0eZjFp--