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 mDlhHZaku1/+cQAA0tVLHw (envelope-from ) for ; Mon, 23 Nov 2020 12:01:26 +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 yBRpGZaku18baQAA1q6Kng (envelope-from ) for ; Mon, 23 Nov 2020 12:01:26 +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 E4A129404FB for ; Mon, 23 Nov 2020 12:01:25 +0000 (UTC) Received: from localhost ([::1]:48864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khAX6-0004gH-P7 for larch@yhetil.org; Mon, 23 Nov 2020 07:01:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khAHH-0007W2-Bn for guix-patches@gnu.org; Mon, 23 Nov 2020 06:45:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khAHF-0003HK-Jf for guix-patches@gnu.org; Mon, 23 Nov 2020 06:45:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khAHF-0002Do-IW for guix-patches@gnu.org; Mon, 23 Nov 2020 06:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44810] [PATCH] gnu: Add git-open. References: <20201123011708.3436-1-eu@euandre.org> In-Reply-To: <20201123011708.3436-1-eu@euandre.org> Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Nov 2020 11:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44810@debbugs.gnu.org Cc: EuAndreh Received: via spool by 44810-submit@debbugs.gnu.org id=B44810.16061318908508 (code B ref 44810); Mon, 23 Nov 2020 11:45:01 +0000 Received: (at 44810) by debbugs.gnu.org; 23 Nov 2020 11:44:50 +0000 Received: from localhost ([127.0.0.1]:49289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khAH4-0002DA-Bm for submit@debbugs.gnu.org; Mon, 23 Nov 2020 06:44:50 -0500 Received: from box.euandre.org ([46.101.160.115]:51593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khAH0-0002Cu-1O for 44810@debbugs.gnu.org; Mon, 23 Nov 2020 06:44:50 -0500 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 93191FC3D2; Mon, 23 Nov 2020 08:44:38 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1606131879; bh=rTCDWF7NaI0UllLipt4yvGVw9WCOeQ9G7ua3y4Hqhlc=; h=From:To:Cc:Subject:Date:From; b=Y8hhNJijLx8u9/7pWIiqfQ56p2n/QVy9Q997X3GJOVfK4M4TP6sDCICX5C/9CYqaH E1bN/cIb2ZRv6I8B6Xxcvz28ObKPi3C2TJ1zu2aKWFs16n9iUwu8/1pVoSZTSlS5Xb ddcXwKNvnZYUfVkyuBAzmVfE9xYALqAR94a67NsdHsg+kYwrvR5Dj2Z9eBlteUrraI eStpCs6OMYgfI7fmYXLBkqirkZI+VPMtrr36z++HO82+q2k0bDz4o2X6kQZofMpSal UesEP7WU/9bspWTUCn1X888bVEck277JSFRBrnrj8VoI82o4rRZwqdnoe7Oqp8pvJg D2KXzonwsLBVg== Date: Mon, 23 Nov 2020 08:44:35 -0300 Message-Id: <20201123114435.32490-1-eu@euandre.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: EuAndreh , EuAndreh via Guix-patches From: EuAndreh via Guix-patches via X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=euandre.org header.s=mail header.b=Y8hhNJij; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: P6BvpEZU0RKr * gnu/packages/version-control.scm (git-open): New variable. --- Fixed warning given by "guix lint" on quotes in description field. gnu/packages/version-control.scm | 34 +++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 1842528ff6..34b35d1c94 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -14,7 +14,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Vasile Dumitrascu ;;; Copyright © 2017 Clément Lassieur -;;; Copyright © 2017 André +;;; Copyright © 2017, 2020 EuAndreh ;;; Copyright © 2017, 2018, 2020 Marius Bakke ;;; Copyright © 2017 Stefan Reichör ;;; Copyright © 2017, 2020 Oleg Pykhalov @@ -2718,6 +2718,38 @@ videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server.") (license license:expat))) +(define-public git-open + (package + (name "git-open") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/paulirish/git-open") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11n46bngvca5wbdbfcxzjhjbfdbad7sgf7h9gf956cb1q8swsdm0")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((source (assoc-ref %build-inputs "source")) + (out (assoc-ref %outputs "out"))) + (mkdir-p (string-append out "/bin")) + (copy-file (string-append source "/git-open") + (string-append out "/bin/git-open")) + #t)))) + (home-page "https://github.com/paulirish/git-open") + (synopsis "Shortcut for opening the repository's homepage on the browser") + (description + "@code{git open} opens the repository's website from the command-line, +guessing the URL pattern from the @code{origin} remote.") + (license license:expat))) + (define-public tla (package (name "gnu-arch") -- 2.29.2