From unknown Sun Jun 22 00:20:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33534] [PATCH] gnu: Add arcanist. Resent-From: Robin Templeton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Nov 2018 01:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33534@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154336880330281 (code B ref -1); Wed, 28 Nov 2018 01:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Nov 2018 01:33:23 +0000 Received: from localhost ([127.0.0.1]:52684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRojC-0007sL-UL for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRojB-0007s9-Cj for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRoj5-0006Uq-6P for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRoj5-0006Ui-3F for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRoj3-0007DC-TT for guix-patches@gnu.org; Tue, 27 Nov 2018 20:33:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRoj1-0006SW-9y for guix-patches@gnu.org; Tue, 27 Nov 2018 20:33:13 -0500 Received: from fanzine.igalia.com ([91.117.99.155]:49768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRoj0-0005WJ-T6 for guix-patches@gnu.org; Tue, 27 Nov 2018 20:33:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=EGggdID3CGgs4B5SmL/6RWJzyTAqiXLnHy49TILDe8E=; b=APkJDXuwBMUShRZmVXVZjtMky9mkmQWZK+G929FAOzyz8+2OOOSfAYZVczUiEIbmuO/etOHb3X9KLG04eN7HFSQ2OYOm8gMKNy3aulomNGSIZNBTl8lnOWM5DocbtHFBKMc5/nPm+541h+bvCp3389sS2+jjAFOB5p+42okFIHZxRSqohyg7liOMQ8464diiaNHguXwxahbXjwpocG5nTJj8rrQNgmAjXTKec62EqEwijNFdn8QKF6e18r7mrZc3ELbCkiIG5ijlNFD4jly/vNVz3f3ZM0e1VCIN3ruLSb583uo30ypgStnkBllZntp0EOyl3mgmiKXOchKZbGAx1w==; Received: from cpe-98-27-52-219.nc.res.rr.com ([98.27.52.219] helo=cervus) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1gRoiO-0004EU-Q8 for ; Wed, 28 Nov 2018 02:32:33 +0100 From: Robin Templeton Date: Tue, 27 Nov 2018 20:32:21 -0500 Message-ID: <87zhtuc7h6.fsf@igalia.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) * gnu/packages/phabricator.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/phabricator.scm | 123 +++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 gnu/packages/phabricator.scm diff --git a/gnu/local.mk b/gnu/local.mk index 772002c9c..23268b73b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -348,6 +348,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/perl-check.scm \ %D%/packages/perl-web.scm \ %D%/packages/photo.scm \ + %D%/packages/phabricator.scm \ %D%/packages/php.scm \ %D%/packages/pkg-config.scm \ %D%/packages/plotutils.scm \ diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm new file mode 100644 index 000000000..6834373fb --- /dev/null +++ b/gnu/packages/phabricator.scm @@ -0,0 +1,123 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2018 Robin Templeton +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages phabricator) + #:use-module (gnu packages php) + #:use-module (gnu packages version-control) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public libphutil + (let ((commit "b29d76e1709ef018cc5edc7c03033fd9fdebc578") + (revision "1")) + (package + (name "libphutil") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phacility/libphutil.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06j84721r9r8624fmil62b5crs2qs0v6rr3cvv2zvkvwhxwrwv1l"))= )) + (build-system gnu-build-system) + ;; TODO: Unbundle jsonlint and porter-stemmer. + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (let ((lib (string-append %output "/lib/libphutil"))) + (mkdir-p lib) + (copy-recursively "." lib)) + #t))))) + (inputs + `(("php" ,php))) + (home-page "https://github.com/phacility/libphutil") + (synopsis "PHP utility library") + (description + "@code{libphutil} is a collection of utility classes and functions = for +PHP.") + ;; Bundled libraries are expat-licensed. + (license (list license:asl2.0 license:expat))))) + +(define-public arcanist + (let ((commit "45a8d22c74a62624e69f5cd6ce901c9ab2658904") + (revision "1")) + (package + (name "arcanist") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phacility/arcanist.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13vswhqy9sap6841y93j4mj71dl27vhcivcn3rzyi0cchkhg2ac9"))= )) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (let ((bin (string-append %output "/bin")) + (lib (string-append %output "/lib/arcanist"))) + (mkdir-p lib) + (copy-recursively "." lib) + (mkdir-p bin) + (symlink (string-append lib "/bin/arc") + (string-append bin "/arc")) + (wrap-program (string-append bin "/arc") + `("ARC_PHUTIL_PATH" =3D + (,(string-append (assoc-ref %build-inputs "libphutil") + "/lib/libphutil"))) + `("PATH" ":" prefix + (,@(map (lambda (i) + (string-append (assoc-ref %build-inputs i) = "/bin")) + '("git" "mercurial" "subversion")))))) + #t)) + (add-before 'reset-gzip-timestamps 'make-compressed-files-writa= ble + (lambda _ + (for-each make-file-writable + (find-files %output ".*\\.t?gz$")) + #t))))) + (inputs + `(("php" ,php) + ("libphutil" ,libphutil) + ("git" ,git) + ("mercurial" ,mercurial) + ("subversion" ,subversion))) + (home-page "https://github.com/phacility/arcanist") + (synopsis "Command-line interface for Phabricator") + (description + "Arcanist is the command-line tool for Phabricator. It allows you = to +interact with Phabricator installs to send code for review, download patch= es, +transfer files, view status, make API calls, and various other things.") + (license license:asl2.0)))) --=20 2.19.2 From unknown Sun Jun 22 00:20:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Robin Templeton Subject: bug#33534: closed (Re: [bug#33534] [PATCH] gnu: Add arcanist.) Message-ID: References: <87tvk08dho.fsf@gnu.org> <87zhtuc7h6.fsf@igalia.com> X-Gnu-PR-Message: they-closed 33534 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 33534@debbugs.gnu.org Date: Thu, 29 Nov 2018 09:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1543482062-1456-1" This is a multi-part message in MIME format... ------------=_1543482062-1456-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33534: [PATCH] gnu: Add arcanist. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 33534@debbugs.gnu.org. --=20 33534: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33534 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1543482062-1456-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33534-done) by debbugs.gnu.org; 29 Nov 2018 09:00:47 +0000 Received: from localhost ([127.0.0.1]:54086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSIBj-0000Mw-CV for submit@debbugs.gnu.org; Thu, 29 Nov 2018 04:00:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSIBi-0000Mi-8n for 33534-done@debbugs.gnu.org; Thu, 29 Nov 2018 04:00:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSIBb-0002AL-Af for 33534-done@debbugs.gnu.org; Thu, 29 Nov 2018 04:00:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSIBZ-00029Z-Hm; Thu, 29 Nov 2018 04:00:37 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=34582 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gSIBY-0005Fy-J1; Thu, 29 Nov 2018 04:00:37 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Robin Templeton Subject: Re: [bug#33534] [PATCH] gnu: Add arcanist. References: <87zhtuc7h6.fsf@igalia.com> Date: Thu, 29 Nov 2018 10:00:35 +0100 In-Reply-To: <87zhtuc7h6.fsf@igalia.com> (Robin Templeton's message of "Tue, 27 Nov 2018 20:32:21 -0500") Message-ID: <87tvk08dho.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33534-done Cc: 33534-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Robin, Robin Templeton skribis: > * gnu/packages/phabricator.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Applied with minor changes to the description (attached), mostly to give some context to those who do not know what Phabricator is. BTW we traditionally write one patch for each new package, but I think it=E2=80=99s okay here. > + (home-page "https://github.com/phacility/libphutil") > + (synopsis "PHP utility library") > + (description > + "@code{libphutil} is a collection of utility classes and function= s for > +PHP.") > + ;; Bundled libraries are expat-licensed. > + (license (list license:asl2.0 license:expat))))) Do you think those libraries could be unbundled? Would it make sense? Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm index 6834373fbc..6c94a13114 100644 --- a/gnu/packages/phabricator.scm +++ b/gnu/packages/phabricator.scm @@ -117,7 +117,8 @@ PHP.") (home-page "https://github.com/phacility/arcanist") (synopsis "Command-line interface for Phabricator") (description - "Arcanist is the command-line tool for Phabricator. It allows you to -interact with Phabricator installs to send code for review, download patches, -transfer files, view status, make API calls, and various other things.") + "Arcanist is the command-line tool for the Phabricator software +development service. It allows you to interact with Phabricator installs to +send code for review, download patches, transfer files, view status, make API +calls, and various other things.") (license license:asl2.0)))) --=-=-=-- ------------=_1543482062-1456-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Nov 2018 01:33:23 +0000 Received: from localhost ([127.0.0.1]:52684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRojC-0007sL-UL for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRojB-0007s9-Cj for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRoj5-0006Uq-6P for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRoj5-0006Ui-3F for submit@debbugs.gnu.org; Tue, 27 Nov 2018 20:33:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRoj3-0007DC-TT for guix-patches@gnu.org; Tue, 27 Nov 2018 20:33:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRoj1-0006SW-9y for guix-patches@gnu.org; Tue, 27 Nov 2018 20:33:13 -0500 Received: from fanzine.igalia.com ([91.117.99.155]:49768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRoj0-0005WJ-T6 for guix-patches@gnu.org; Tue, 27 Nov 2018 20:33:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=EGggdID3CGgs4B5SmL/6RWJzyTAqiXLnHy49TILDe8E=; b=APkJDXuwBMUShRZmVXVZjtMky9mkmQWZK+G929FAOzyz8+2OOOSfAYZVczUiEIbmuO/etOHb3X9KLG04eN7HFSQ2OYOm8gMKNy3aulomNGSIZNBTl8lnOWM5DocbtHFBKMc5/nPm+541h+bvCp3389sS2+jjAFOB5p+42okFIHZxRSqohyg7liOMQ8464diiaNHguXwxahbXjwpocG5nTJj8rrQNgmAjXTKec62EqEwijNFdn8QKF6e18r7mrZc3ELbCkiIG5ijlNFD4jly/vNVz3f3ZM0e1VCIN3ruLSb583uo30ypgStnkBllZntp0EOyl3mgmiKXOchKZbGAx1w==; Received: from cpe-98-27-52-219.nc.res.rr.com ([98.27.52.219] helo=cervus) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1gRoiO-0004EU-Q8 for ; Wed, 28 Nov 2018 02:32:33 +0100 From: Robin Templeton To: guix-patches@gnu.org Subject: [PATCH] gnu: Add arcanist. Date: Tue, 27 Nov 2018 20:32:21 -0500 Message-ID: <87zhtuc7h6.fsf@igalia.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) * gnu/packages/phabricator.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/phabricator.scm | 123 +++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 gnu/packages/phabricator.scm diff --git a/gnu/local.mk b/gnu/local.mk index 772002c9c..23268b73b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -348,6 +348,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/perl-check.scm \ %D%/packages/perl-web.scm \ %D%/packages/photo.scm \ + %D%/packages/phabricator.scm \ %D%/packages/php.scm \ %D%/packages/pkg-config.scm \ %D%/packages/plotutils.scm \ diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm new file mode 100644 index 000000000..6834373fb --- /dev/null +++ b/gnu/packages/phabricator.scm @@ -0,0 +1,123 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2018 Robin Templeton +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages phabricator) + #:use-module (gnu packages php) + #:use-module (gnu packages version-control) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public libphutil + (let ((commit "b29d76e1709ef018cc5edc7c03033fd9fdebc578") + (revision "1")) + (package + (name "libphutil") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phacility/libphutil.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06j84721r9r8624fmil62b5crs2qs0v6rr3cvv2zvkvwhxwrwv1l"))= )) + (build-system gnu-build-system) + ;; TODO: Unbundle jsonlint and porter-stemmer. + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (let ((lib (string-append %output "/lib/libphutil"))) + (mkdir-p lib) + (copy-recursively "." lib)) + #t))))) + (inputs + `(("php" ,php))) + (home-page "https://github.com/phacility/libphutil") + (synopsis "PHP utility library") + (description + "@code{libphutil} is a collection of utility classes and functions = for +PHP.") + ;; Bundled libraries are expat-licensed. + (license (list license:asl2.0 license:expat))))) + +(define-public arcanist + (let ((commit "45a8d22c74a62624e69f5cd6ce901c9ab2658904") + (revision "1")) + (package + (name "arcanist") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phacility/arcanist.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13vswhqy9sap6841y93j4mj71dl27vhcivcn3rzyi0cchkhg2ac9"))= )) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (let ((bin (string-append %output "/bin")) + (lib (string-append %output "/lib/arcanist"))) + (mkdir-p lib) + (copy-recursively "." lib) + (mkdir-p bin) + (symlink (string-append lib "/bin/arc") + (string-append bin "/arc")) + (wrap-program (string-append bin "/arc") + `("ARC_PHUTIL_PATH" =3D + (,(string-append (assoc-ref %build-inputs "libphutil") + "/lib/libphutil"))) + `("PATH" ":" prefix + (,@(map (lambda (i) + (string-append (assoc-ref %build-inputs i) = "/bin")) + '("git" "mercurial" "subversion")))))) + #t)) + (add-before 'reset-gzip-timestamps 'make-compressed-files-writa= ble + (lambda _ + (for-each make-file-writable + (find-files %output ".*\\.t?gz$")) + #t))))) + (inputs + `(("php" ,php) + ("libphutil" ,libphutil) + ("git" ,git) + ("mercurial" ,mercurial) + ("subversion" ,subversion))) + (home-page "https://github.com/phacility/arcanist") + (synopsis "Command-line interface for Phabricator") + (description + "Arcanist is the command-line tool for Phabricator. It allows you = to +interact with Phabricator installs to send code for review, download patch= es, +transfer files, view status, make API calls, and various other things.") + (license license:asl2.0)))) --=20 2.19.2 ------------=_1543482062-1456-1-- From unknown Sun Jun 22 00:20:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33534] [PATCH] gnu: Add arcanist. Resent-From: Robin Templeton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Nov 2018 03:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: Robin Templeton , 33534-done@debbugs.gnu.org Received: via spool by 33534-done@debbugs.gnu.org id=D33534.15435503084785 (code D ref 33534); Fri, 30 Nov 2018 03:59:01 +0000 Received: (at 33534-done) by debbugs.gnu.org; 30 Nov 2018 03:58:28 +0000 Received: from localhost ([127.0.0.1]:55391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSZwh-0001F5-CW for submit@debbugs.gnu.org; Thu, 29 Nov 2018 22:58:28 -0500 Received: from fanzine.igalia.com ([91.117.99.155]:58131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSYlq-0007qQ-2d for 33534-done@debbugs.gnu.org; Thu, 29 Nov 2018 21:43:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=jyhiOA99DOGBqqMoQQIdyVBoNvTQhdsQJUAcPJRzh6k=; b=UEeEm6N+gm2LKmNLLppz6YQIowCjyKqZGe/6UqakJJBBNk9t1BiswcvybLUtX1rmmdk5z7zmiYkQygaXl0y2+yxbLKHhk2iaDBfQbxHjRj5Zs5gOYplba2SDnHiWtGd32KbqnQdk61wIxM6H7Z5ylraWn6ogO3vUxApFV4c8PJnhQ15GUykjISUOEtfgFEsqdmXZVejSgsH4rq3Sqz7UQ8knDOj0BdcankDnzoaDZ1X1gPdkDW0Cf9IHOGBMGWbaYQnZ75m+DOLXm/1l8+LtgnQRG9ae6Ig2XSOu65p7XxcEuDCb46+VKKgMaIW1q2BMkskI2sPV1wn0l5yHabzwKw==; Received: from cpe-98-27-52-219.nc.res.rr.com ([98.27.52.219] helo=cervus) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1gSYli-0006z3-Ts; Fri, 30 Nov 2018 03:43:03 +0100 From: Robin Templeton References: <87zhtuc7h6.fsf@igalia.com> <87tvk08dho.fsf@gnu.org> Date: Thu, 29 Nov 2018 21:42:49 -0500 In-Reply-To: <87tvk08dho.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 29 Nov 2018 10:00:35 +0100") Message-ID: <878t1b9tg6.fsf@igalia.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Thu, 29 Nov 2018 22:58:26 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hello Robin, > > Robin Templeton skribis: > >> * gnu/packages/phabricator.scm: New file. >> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > > Applied with minor changes to the description (attached), mostly to give > some context to those who do not know what Phabricator is. Thanks! > BTW we traditionally write one patch for each new package, but I think > it=E2=80=99s okay here. > >> + (home-page "https://github.com/phacility/libphutil") >> + (synopsis "PHP utility library") >> + (description >> + "@code{libphutil} is a collection of utility classes and functio= ns for >> +PHP.") >> + ;; Bundled libraries are expat-licensed. >> + (license (list license:asl2.0 license:expat))))) > > Do you think those libraries could be unbundled? Would it make sense? Possibly, but they seem to be maintaining their own fork of at least jsonlint, so the upstream versions may not be 100% compatible. From unknown Sun Jun 22 00:20:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33534] [PATCH] gnu: Add arcanist. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Nov 2018 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Robin Templeton Cc: Robin Templeton , 33534-done@debbugs.gnu.org Received: via spool by 33534-done@debbugs.gnu.org id=D33534.15435683833291 (code D ref 33534); Fri, 30 Nov 2018 09:00:02 +0000 Received: (at 33534-done) by debbugs.gnu.org; 30 Nov 2018 08:59:43 +0000 Received: from localhost ([127.0.0.1]:55525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSeeE-0000r0-Lm for submit@debbugs.gnu.org; Fri, 30 Nov 2018 03:59:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSeeC-0000qo-V1 for 33534-done@debbugs.gnu.org; Fri, 30 Nov 2018 03:59:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSee6-0002F4-B9 for 33534-done@debbugs.gnu.org; Fri, 30 Nov 2018 03:59:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSee6-0002F0-76; Fri, 30 Nov 2018 03:59:34 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=41154 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gSee5-0000kj-OC; Fri, 30 Nov 2018 03:59:34 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87zhtuc7h6.fsf@igalia.com> <87tvk08dho.fsf@gnu.org> <878t1b9tg6.fsf@igalia.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Frimaire an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 30 Nov 2018 09:59:31 +0100 In-Reply-To: <878t1b9tg6.fsf@igalia.com> (Robin Templeton's message of "Thu, 29 Nov 2018 21:42:49 -0500") Message-ID: <871s73ym8c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, Robin Templeton skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] >>> + (home-page "https://github.com/phacility/libphutil") >>> + (synopsis "PHP utility library") >>> + (description >>> + "@code{libphutil} is a collection of utility classes and functi= ons for >>> +PHP.") >>> + ;; Bundled libraries are expat-licensed. >>> + (license (list license:asl2.0 license:expat))))) >> >> Do you think those libraries could be unbundled? Would it make sense? > > Possibly, but they seem to be maintaining their own fork of at least > jsonlint, so the upstream versions may not be 100% compatible. OK, maybe something to keep in mind when we add more PHP packages in the future. Thank you, Ludo=E2=80=99.