From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: native or not Date: Tue, 31 Mar 2020 18:54:03 +0100 Message-ID: <87k1309zr8.fsf@cbaines.net> References: <87a73ypbyb.fsf@gmail.com> <87o8sdc6in.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54614) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJL5W-0002oF-K5 for guix-devel@gnu.org; Tue, 31 Mar 2020 13:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJL5V-0004SW-9U for guix-devel@gnu.org; Tue, 31 Mar 2020 13:54:10 -0400 Received: from mira.cbaines.net ([212.71.252.8]:59628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJL5V-0004S2-3d for guix-devel@gnu.org; Tue, 31 Mar 2020 13:54:09 -0400 In-reply-to: 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: Vincent Legoll Cc: guix-devel --=-=-= Content-Type: text/plain Vincent Legoll writes: >> Christopher, looks like your work on data.guix.gnu.org >> already triggered something useful ! ;-) > > And the view for comparing with previous run is just showing > me what I wanted to see, perfect ! Nice, I'm glad that you're enjoying using the Guix Data Service, and finding it useful :) > Question: would this view show any `guix size` difference if any ? So, `guix size` as I understand it looks at the size of the store item + the size of all store items referenced both directly and indirectly. The `guix size` script can use your local store, as well the data in narinfo files from substitute files to determine the size of store items, and there references. The Guix Data Service gathers up narinfo files from substitute servers, so the database should contain the necessary data on sizes and references to provide equivalent information to the `guix size` script. I like the idea of showing size changes on the comparison page, but I think a good first step to take towards this would be to show the "size" for a single item in the store. This [1] is the page for the store output for the sudo package, with your changes. It already shows the size from the narinfo files provided by bayfront and berlin (3633056 bytes). 1: http://data.guix.gnu.org/gnu/store/l320ig872ny66d1yi6v7n4zb93iz50dx-sudo-1.8.31p1 It would be nice to have a URL like [2] (which obviously doesn't exist yet) which would show similar information to running the `guix size` script [3]. 2: http://data.guix.gnu.org/gnu/store/l320ig872ny66d1yi6v7n4zb93iz50dx-sudo-1.8.31p1/size 3: guix size /gnu/store/l320ig872ny66d1yi6v7n4zb93iz50dx-sudo-1.8.31p1 Would this be something I'd be able to convince and support you to do Vincent? I'd be more than happy to help you to implement this. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6Dg7tfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfkHBAAgqNk1WZ/wALGTx0r+v/rtQJ+iuGN0w6YA1TG6XM+Hg9IP9EioKLb5v3O lHFWjtxcJHejh7DgyHDDTKXd/dm9Ch9nlxaVxOxGA1tT2cCJGyMc74q2wjmB9ubW TonSYF4LGYFNxcF5Qd4uXxH+wwtEN7JaVvj+ytOu9VtMDNm1g39Xn1V8BpyAzLoT OjM2wU0s5u50qIc8SDyLlHiy2r4QmfxF+PA1j1TYEdtRrlE8gIBBigWYldVXuYSl XUXwtt+8M3emyXOmPWK9PUsERNRU6eiR26LiASZttPfi7fQ11RlKqF6MzwJdafQI 5/AYuHiJY9N2sDHT5guAtPakn6seSz6B2IOB2Vf9Nhhaw67g8xrY8FKSIWE/B3s5 Ip5FBsrOPT8zdpO1jpOi2PIMFRtUwoPPbxUcxstWJ3DTvfYjfd/j6l0C5Btp0JTh B3lqVMZRqaYn41EBKcEQYo9qeBb6oZ5JKia7w0PSLaTGwXHNomQnSbxZMiIxrq0d 4oXMu93DR0V7RdGPsBokzxZDcFVzAHSZpjwnJkgP1YImjZJm+484AaM7FF+wUEX1 NQNYK1rGr7iXozwhwInMUCLx3sy6lhWsH5v5ariqW/+17mLhkOL8kK8Oc5lm6uVY t3HbzOK18akwnkFGBWPggxmD3W8TqtUjLTc965LcubjM+2ZJTWA= =6j6e -----END PGP SIGNATURE----- --=-=-=--