From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yFi4AxYIdmCokgAAgWs5BA (envelope-from ) for ; Tue, 13 Apr 2021 23:07:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2J8/ORUIdmC2fgAA1q6Kng (envelope-from ) for ; Tue, 13 Apr 2021 21:07:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ABEF51A4FD for ; Tue, 13 Apr 2021 23:07:33 +0200 (CEST) Received: from localhost ([::1]:51686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWQFw-00049v-NS for larch@yhetil.org; Tue, 13 Apr 2021 17:07:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWQFU-0003v8-St for guix-devel@gnu.org; Tue, 13 Apr 2021 17:07:04 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:33379) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWQFS-0003cV-TN for guix-devel@gnu.org; Tue, 13 Apr 2021 17:07:04 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id BB90727BC73; Tue, 13 Apr 2021 22:06:59 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0799a7c8; Tue, 13 Apr 2021 21:06:59 +0000 (UTC) References: <20210412121425.628b8260@lubrito> <87sg3vz3xd.fsf@cbaines.net> <20210413164501.1626ecc4@lubrito> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: Luciana Lima Brito Subject: Re: Guix Data Service - Outreachy: questions about render-compare/derivation In-reply-to: <20210413164501.1626ecc4@lubrito> Date: Tue, 13 Apr 2021 22:06:55 +0100 Message-ID: <878s5lzyfk.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618348053; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=9i+Ye+P9caGaSrIUCgGYl4ofS428LR/Z/0zzamsTlf4=; b=RFJZHDLej0YXm+fU1vOwmEHUcqpYSTy0H5biixJ8oujbIrY6/iWliySvzjip/1oFMgkQvl M7FyLw/glWpbOuOzlOFWvkZsrNsqyG54xHl3DTNAMGyij6/mXqSwGwA8FYkWSZBCrSrk9E OuybXC6fSqQcCSNI52grSFvTrEOXTXfNxn3DvybavpgJA2SOsXSPB3by+vFFdKzA/j91rz LObaoN09DrkdiWIXW375tSRdJotQ1SPKkNw081IV9ek/j06LWXsHpuBSYTK4WJO8gAUCBU EoHQEGDYg+2pxgTGHEZi614TDQdhAetpZ7BmFSOtTc8TAXNsun/DsjodxGP7hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618348053; a=rsa-sha256; cv=none; b=RlxbyowAII8I5Nlux2tyVQyAhz7ps1S4jDLr9M/yY8gGXUhjrcAxZrjvt/XZ2swYttdHSC iiISTQnQ0ZRbAAG5chuhvuclxuX8UfFmYvgkmJugLSAbEHeUd0M8gyKMKXvYPz3DeMiy7l n+MonHqZ/d5YhdPrKifmNA4K2NeqCOF5Oy4QR5G/3tufQilbwEm8zVMnu7R4Qj9m3P0Wdk USsKPfzARAfLIGt1Ufi1xeT4sUm8meAPqtYx4mo+9/MYgiy5rcs1mL+rf+4/qKgfvH3QJb O6gqCXuB6zt8C2cicI3OEBKikOwjb8TZVT560hNA0Uga/9VsAUmdlBSc76FB6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: ABEF51A4FD X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: KJl95drW2NgC --=-=-= Content-Type: text/plain Luciana Lima Brito writes: > Just to report my progress and ask some more questions. > I attached a new image of the json I have by now. Good good :) > I still have to find a way to use a proper name instead of the 0 and 1 > of the array. Another thing that I'm still looking into is why the > "source" field displays the value of the derivations as a name in the > hierarchy, instead of a string. It looks like the 0 and 1 thing is only an issue for the outputs and inputs now, which is good. As for how the sources end up like that, I think a list with a single string might end up like that. Maybe try comparing a derivation to itself (not a very useful query, but it might help generate some new data to work with). > All the fields are being displayed in the json, but I don't know all the > values the fields can assume, so I don't know exactly which tests I > should do. In the .html file I could see that many more test are > performed to get the same values I got for the json, so probably I'm > missing some, I will look into this, however, for all derivations > comparisons I checked the values seem correct. Sounds good, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmB2B+9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdmNA//cu+ujxiHO22uY+y3nEEEDKni5/NQWbsU 45s2Dm0Lop1GZ91hWu/2yRix4m98Bo2O+VCiHPplRtcSk9P/cxpp/8N1OWSQKM/r 79x/ugRtecKGgnMwa6RW023qcpevusUIl12MXTKF5t3sOH2V9BQRdSOXm4BqJo4B 2s2RktKuiJku8cgUWSPmmOVdchs4N/HCgnRc6gpHoi+P9cWD4EV1SVW7cfQa7i6l cQgyVktvOYROthufWomFJmSv/dAv7YYIyK86d5cIobsxk8Z8Fcn4JYab2CzIoF9h t2lIf3/hI1AW9+51acYWbotZTTnrO0Bi7todAsvTJV98PhLMrhCoLX52olksliTt ZzwDdNZdLm/GhD1j7VlSKfIkldP7nMgk6IB0v7pHnDwJwnW89hfnvi/i3FAkPMF/ SMjzd9bhDSxvBt3uLiuD9AjYInaOCxFRgg0Lf+zhUwT+JhSSs3E7nx0aZmSF2UbX qeZTk9JvOqJ2Fnql4v9JvRlSq14r3ZRnRYzRYL5FDRmjw7xLi1xTRoLdiy2kc+G5 Gc/gfsxySqXxV6vSGiiC4oDcpN4O1ZOQyMz4xmNmgVXKjJ9sstR5HCK2neW3Zszx xu8OqUQAnAqe9z/AMCKrUn9JqiS6mZv6An8oSPsxuJ/vpBqFk0RtgMbqkK2uyLlf Pb4N9t13R3E= =Qtzp -----END PGP SIGNATURE----- --=-=-=--