From patchwork Thu Apr 1 07:51:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 50 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 80C5427BC66; Thu, 1 Apr 2021 08:52:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1F75227BC65 for ; Thu, 1 Apr 2021 08:52:11 +0100 (BST) Received: from localhost ([::1]:39766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRs7e-0000od-7A for patchwork@mira.cbaines.net; Thu, 01 Apr 2021 03:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRs7W-0000lU-K7 for guix-patches@gnu.org; Thu, 01 Apr 2021 03:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRs7W-0002Cp-99 for guix-patches@gnu.org; Thu, 01 Apr 2021 03:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRs7W-0007NT-8M for guix-patches@gnu.org; Thu, 01 Apr 2021 03:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH 00/28] Add gh and dependencies Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 07:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47539@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161726350228325 (code B ref -1); Thu, 01 Apr 2021 07:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Apr 2021 07:51:42 +0000 Received: from localhost ([127.0.0.1]:56037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRs7C-0007Ml-4V for submit@debbugs.gnu.org; Thu, 01 Apr 2021 03:51:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:39330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRs7B-0007Mf-BD for submit@debbugs.gnu.org; Thu, 01 Apr 2021 03:51:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRs7B-0008QI-2W for guix-patches@gnu.org; Thu, 01 Apr 2021 03:51:41 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:45688 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRs78-0001qT-5b for guix-patches@gnu.org; Thu, 01 Apr 2021 03:51:40 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617263488; bh=EUMrhxGbCGLsThaA7OcNSu+vxCvD+o5PeCbH+7MJ328=; h=From:To:Subject:Date; b=vGSKQKz9emlKcNVHCsTmOiyi7YZpSF6E92Vnt2mZnlLDzhtQEEKVizROA/W6qKSQ5 8kxaMyMbG7lY1Gukyb4OKlIn8P8M6xpkeKn25Cw8WPkOcI+ZUt5Bjx8CHwvziy11s6 rtx/zMiSivwKsgQ3v7xN1jYGoL/ueQzhxOocRYWI= Message-Id: Date: Thu, 01 Apr 2021 09:51:26 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This patchset adds the 'gh' package, a CLI interface to GitHub. The Go importer did most of the work. :) Some things to note: - When building'gh', I couldn't get 'go-github-com-charmbracelet-glamour' to build without moving some native-inputs to propagated-inputs, though, if I was only building 'go-github-com-charmbracelet-glamour' it would build without moving things to propagated-inputs. I am not sure why this happens. - I found that (gnu packages syncthing) contained quite a few Go packages, I think it would make sense to move those packages to (gnu packages golang), and move the Syncthing package to (gnu packages sync). This would be done in a separate commit though. - The patch marked with 'D' adds a package which has been deprecated by upstream, but it is still needed by one of the packages that 'gh' depend on. I have marked it as a hidden package, let me know if this is the right decision. - The patch marked with 'W' adds a package which is needed by 'gh', but only used on Windows. It is still Free Software (BSD-2), but I have also marked it as hidden. Xinglu Chen (28): gnu: go-github-com-charmbracelet-glamour: Move some inputs to propagated-inputs. gnu: Add go-github-com-hinshun-vt10x. gnu: Add go-github-com-creack-pty. D gnu: Add go-github-com-kr-pty. gnu: Add go-github-com-netflix-go-expect. gnu: Add go-github-com-alecaivazis-survey-v2. gnu: Add go-github-com-makenowjust-heredoc. gnu: Add go-github-com-briandowns-spinner. gnu: Add go-github-com-cli-browser. gnu: Add go-github-com-cli-oauth. W gnu: Add go-github-com-cli-safeexec. gnu: Add go-github-com-russross-blackfriday-v2. gnu: Add go-github-com-shurcool-sanitized-anchor-name. gnu: Add go-github-com-cpuguy83-go-md2man-v2. gnu: Add go-github-com-enescakir-emoji. gnu: Add go-github-com-gabriel-vasile-mimetype. gnu: Add go-github-com-google-shlex. gnu: Add go-github-com-henvic-httpretty. gnu: Add go-github-com-itchyny-go-flags. gnu: Add go-github-com-itchyny-timefmt-go. gnu: Add go-github-com-itchyny-gojq. gnu: Add go-github-com-mattn-go-runewidth. gnu: Add go-github-com-rivo-uniseg. gnu: Add go-github-com-shurcool-githubv4. gnu: Add go-gopkg-in-yaml-v3. gnu: Add go-github-com-shurcool-graphql. gnu: Add go-github-com-cli-shurcool-graphql. gnu: Add gh. gnu/packages/golang.scm | 745 ++++++++++++++++++++++++++++++- gnu/packages/version-control.scm | 92 ++++ 2 files changed, 826 insertions(+), 11 deletions(-) base-commit: 94c77c9a0f7a1a4d7665d8fe566547016d2588d9