From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KCqtHoPHsl7mLQAA0tVLHw (envelope-from ) for ; Wed, 06 May 2020 14:19:47 +0000 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 YCjYEo/Hsl4TNgAA1q6Kng (envelope-from ) for ; Wed, 06 May 2020 14:19:59 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 7E8A0940CFB for ; Wed, 6 May 2020 14:19:57 +0000 (UTC) Received: from localhost ([::1]:58712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWKty-0001TO-2d for larch@yhetil.org; Wed, 06 May 2020 10:19:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWKtp-0001TG-JM for guix-devel@gnu.org; Wed, 06 May 2020 10:19:49 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:44831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWKto-0003Np-J3 for guix-devel@gnu.org; Wed, 06 May 2020 10:19:49 -0400 Received: by mail-qk1-x72d.google.com with SMTP id b6so2028787qkh.11 for ; Wed, 06 May 2020 07:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cUd3Gk6BZpGj6/O+ew1c/5m3trnyUaJqz9F9ZVPC/dE=; b=ajZyN2eIefWXTFDR9X2usr+E2rcKJIOTlKS3iJU9iaiudoIp02jyPakGS2+cLrqkVt T0fMjX6kTT6n7kMUjuvEmao+BM/Srt90djGJq0xeVoNfR9Tat/Q3oTH171icmomAWWS7 /xW6gCe0NZPu+y/8JjSxI1XgPuZtTmTezQKE4H+Ln5ZldfKDGoR/P109HCzWgrgDHr2C DBpL+ggPaHEZsxN+kVfzKlePjxHZ6t84+q2YjwjfKzux6qNCuioBxaLZOPxk5jLYgvdb KOvVn53XTD/MdbOx196YCHOcOxIqw3g1Q2l6AgewVg6YG6vHX7CaV4M7yZuIOFnCdqSl Xzuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cUd3Gk6BZpGj6/O+ew1c/5m3trnyUaJqz9F9ZVPC/dE=; b=E0wHUhLzQywNLn/ix1WEh8Pgi2rA6LY/oamD8jWhVdvMWXDKZSQb4a+DWD63hewadD HkW172Pwccryeoo06uN6lqyCAmwTyoPLG7Khyzmkq8+dmoOG4rvjRPw3l5YDj89QjNsK GDVw8Oq6UyKlrl5cJcZ9lo1sIHVxzo7dETzRo2ZZ0YJJCpD4Thmk6ACfTGhTJ6Da0Kx6 5AFtHbQMHHczUW9WjxZgitPsyKv1AovAhAJEhH5PjEnSvbkUARAYIu01mh62mEz0+1lh czPxwBwOQG3BidG1AmK8p74t63g5QDPEe23AIuewpBpkzCHicktjaps3rlBInE+WY1/W fW3g== X-Gm-Message-State: AGi0PuY9I1MUO0sEWuscIALtV9MRZyCNxvUIHE7lCyaZDEa2ZZjC4HI8 vWP6FjZAm+d4pXQev0e+nudNwY1j0i3gFy4pOWdVsJrz X-Google-Smtp-Source: APiQypIQwPBXXuK3GLL8ITdwkGq7ae1W6NHDjiUWpJFEADi4UflGSvOo8wlNaLCmxpE81s9FOloiMtdb2UkNVD50QPY= X-Received: by 2002:a37:4e05:: with SMTP id c5mr8984148qkb.232.1588774787077; Wed, 06 May 2020 07:19:47 -0700 (PDT) MIME-Version: 1.0 From: zimoun Date: Wed, 6 May 2020 16:19:35 +0200 Message-ID: Subject: Data service: package information To: Guix Devel , Christopher Baines Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x72d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ajZyN2eI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49636728035321]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.12), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,guix-devel-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[guix.info:url,gnu.org:url]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[guix-devel@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: iGd7erQZcBks Dear Chris, I am playing with "guix search / show" ('package->recutils) and I would like to provide 2 informations: 1) the hyperlink to the Data Service. 2) if the package is substituable. The 1) is not complicated since Guix checks if hyperlinks are supported by the terminal. The question is: does the API is "reliable"? https://data.guix.gnu.org/repository/1/branch/master/package/ Aside, does it make sense to add the revision number (short commit hash, e.g., abc123) and the red (X) or the green (V) close to "More information" to easily check the status of the derivation. It avoids one click when it is green. ;-) A concrete example: recently I have tried to install Docker, which was broken on master, so it is a couple of clicks to find the last commit which builds. Using this proposal, it becomes faster: "guix search docker", click, "guix time-machine --commit= -- install docker -p /tmp/docker". It smooths the frustration. :-) The 2) is a bit more complicated. First does it make sense? Because the computation of a derivation is probably required, isn't it? Well, it is related to [1], isn't? Is it possible to fetch such "binary availability" from the Data Service? If yes, how? [1] https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00337.html Thank you in advance for any comment and/or pointer. All the best, simon Note that from the webpage [2], the link bottom redirect with http:// without the 's'. I do not know if it matters. [2] http://hpc.guix.info/package/git