From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OHA7A6u8SmDOPQAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 00:58:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CMSFOqq8SmApNwAAbx9fmQ (envelope-from ) for ; Fri, 12 Mar 2021 00:58:18 +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 9E2C213EF1 for ; Fri, 12 Mar 2021 01:58:18 +0100 (CET) Received: from localhost ([::1]:51874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKW89-0004GX-AF for larch@yhetil.org; Thu, 11 Mar 2021 19:58:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKW7u-0004FY-JD for guix-patches@gnu.org; Thu, 11 Mar 2021 19:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKW7u-0005cN-CC for guix-patches@gnu.org; Thu, 11 Mar 2021 19:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKW7u-0005h8-9h for guix-patches@gnu.org; Thu, 11 Mar 2021 19:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47081] [PATCH 1/5] gnu: Remove mongo-tools. References: <20210312005632.13690-1-lle-bout@zaclys.net> In-Reply-To: <20210312005632.13690-1-lle-bout@zaclys.net> Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Mar 2021 00:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47081 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47081@debbugs.gnu.org Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter Received: via spool by 47081-submit@debbugs.gnu.org id=B47081.161551064721820 (code B ref 47081); Fri, 12 Mar 2021 00:58:02 +0000 Received: (at 47081) by debbugs.gnu.org; 12 Mar 2021 00:57:27 +0000 Received: from localhost ([127.0.0.1]:55467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKW7L-0005fq-2F for submit@debbugs.gnu.org; Thu, 11 Mar 2021 19:57:27 -0500 Received: from mail.zaclys.net ([178.33.93.72]:32881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKW7J-0005fE-Gr for 47081@debbugs.gnu.org; Thu, 11 Mar 2021 19:57:26 -0500 Received: from localhost.localdomain (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12C0vJrr011211 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 12 Mar 2021 01:57:19 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12C0vJrr011211 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1615510639; bh=sYylOTUTDB2LKqTalHq80yiLACRkPqplRyx/q6saaWI=; h=From:To:Cc:Subject:Date:From; b=VRDHi4mJtDNhRfXqETR2GXHQVawBzTh+0lNH/NbpVFUDQzAkCXfLmSCqm/8ZQXsW4 tfWFkhXd5yaKSjidyOxgpPpCmTtSsvFGzV0cnDf8eUy5byyBc3CzQ1ostcyN4ADseU Sp0bN+Vpo1hgQfDXJYmKpf3vYGusQ4mlkSqfVFs0= Date: Fri, 12 Mar 2021 01:57:11 +0100 Message-Id: <20210312005715.13881-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615510698; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sYylOTUTDB2LKqTalHq80yiLACRkPqplRyx/q6saaWI=; b=OaVvAmfZqBGm7gH2BveJTeNXTWtz7CsdVJF45xOxF0q5Yl7JOrci8oPdThGfmNJYVMHc9b XOHoD4k8pGrisxp4yDJAL6GWBBrRX2YgCx+GWCmIgjltY+SregcN0C678Zec0ZOSfZ13CZ 0k7orktxOXyQJkKg8D0tq7gmZYo+3Fc+REXtns5sEgnfbvguRoxfl3E11RcWuF2kpMX3sK yIKdCrc2xWZX8Wht0BgoVKhaj9r6GFURo3+NJLf44wxBqzlArLvN+5eX3Th6Mz6kVV9CiH k62n191qCDh6WQNfM0VjjANmqlkb2lhkjIqRIfcroAsjOiDCkh86Njvag/PdwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615510698; a=rsa-sha256; cv=none; b=W2Glf/ZI+dvR8oDwfaMZ23CF1UKNUnSNcPrZal7S8PgSl6xnbuJHchUZoV2bcTr4sFUmHm ROsaaqr9DgKnJC00Su+gYGt8ZAm8Smw3D3hx+h48jPc273BFKwGLoCmeo8ICYBDTOS/bRC VDz44sL+0I/31hl6Y+BB3gHyxK9v+GN81ORMagFqqDQ0918LHii61iTSEWTBBPCzDqBggz HKcS87hCl0EQaDxSClpD5t1xnxvvwodZD3hpcmGbZqLzyTR6lnlJPlQ6n/W26dlnAz18Cy ggIbxGcjSoIQLFd5dx94eRAdJ8jXDeoue9iBEpOyfVAg6zeDU6qT5t5930UK2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=VRDHi4mJ; 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-Migadu-Spam-Score: 1.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=VRDHi4mJ; 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-Migadu-Queue-Id: 9E2C213EF1 X-Spam-Score: 1.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: q1wV1oY9lVB4 Preparing for mongodb removal, first it's dependents must be removed. * gnu/packages/databases.scm (mongo-tools): Remove. --- gnu/packages/databases.scm | 115 ------------------------------------- 1 file changed, 115 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 437449174f..2330f9fd26 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3640,121 +3640,6 @@ transforms idiomatic python function calls to well-formed SQL queries.") the SQL language using a syntax that reflects the resulting query.") (license license:asl2.0))) -(define-public mongo-tools - (package - (name "mongo-tools") - (version "3.4.0") - (source - (origin (method git-fetch) - (uri (git-reference - (url "https://github.com/mongodb/mongo-tools") - (commit (string-append "r" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1bcsz5cvj39a7nsxsfqmz9igrw33j6yli9kffigqyscs52amw7x1")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/mongodb/mongo-tools" - #:modules ((srfi srfi-1) - (guix build go-build-system) - (guix build utils)) - #:install-source? #f - #:phases - (let ((all-tools - '("bsondump" "mongodump" "mongoexport" "mongofiles" - "mongoimport" "mongooplog" "mongorestore" - "mongostat" "mongotop"))) - (modify-phases %standard-phases - (add-after 'unpack 'delete-bundled-source-code - (lambda _ - (delete-file-recursively - "src/github.com/mongodb/mongo-tools/vendor") - #t)) - (add-after 'delete-bundled-source-code 'patch-source - (lambda _ - ;; Remove a redundant argument that causes compilation to fail. - (substitute* - "src/github.com/mongodb/mongo-tools/mongorestore/filepath.go" - (("skipping restore of system.profile collection\", db)") - "skipping restore of system.profile collection\")")) - #t)) - (replace 'build - (lambda _ - (for-each (lambda (tool) - (let ((command - `("go" "build" - ;; This is where the tests expect to find the - ;; executables - "-o" ,(string-append - "src/github.com/mongodb/mongo-tools/bin/" - tool) - "-v" - "-tags=\"ssl sasl\"" - "-ldflags" - "-extldflags=-Wl,-z,now,-z,relro" - ,(string-append - "src/github.com/mongodb/mongo-tools/" - tool "/main/" tool ".go")))) - (simple-format #t "build: running ~A\n" - (string-join command)) - (apply invoke command))) - all-tools) - #t)) - (replace 'check - (lambda _ - (with-directory-excursion "src" - (for-each (lambda (tool) - (invoke - "go" "test" "-v" - (string-append "github.com/mongodb/mongo-tools/" - tool))) - all-tools)) - #t)) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (for-each (lambda (tool) - (install-file - (string-append "src/github.com/mongodb/mongo-tools/bin/" - tool) - (string-append (assoc-ref outputs "out") - "/bin"))) - all-tools) - #t)))))) - (native-inputs - `(("go-github.com-howeyc-gopass" ,go-github.com-howeyc-gopass) - ("go-github.com-jessevdk-go-flags" ,go-github.com-jessevdk-go-flags) - ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) - ("go-gopkg.in-mgo.v2" ,go-gopkg.in-mgo.v2) - ("go-gopkg.in-tomb.v2" ,go-gopkg.in-tomb.v2) - ("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go) - ("go-github.com-smartystreets-goconvey" ,go-github.com-smartystreets-goconvey))) - (home-page "https://github.com/mongodb/mongo-tools") - (synopsis "Various tools for interacting with MongoDB and BSON") - (description - "This package includes a collection of tools related to MongoDB. -@table @code -@item bsondump -Display BSON files in a human-readable format -@item mongoimport -Convert data from JSON, TSV or CSV and insert them into a collection -@item mongoexport -Write an existing collection to CSV or JSON format -@item mongodump/mongorestore -Dump MongoDB backups to disk in the BSON format -@item mongorestore -Read MongoDB backups in the BSON format, and restore them to a live database -@item mongostat -Monitor live MongoDB servers, replica sets, or sharded clusters -@item mongofiles -Read, write, delete, or update files in GridFS -@item mongooplog -Replay oplog entries between MongoDB servers -@item mongotop -Monitor read/write activity on a mongo server -@end table") - (license license:asl2.0))) - ;; There are many wrappers for this in other languages. When touching, please ;; be sure to ensure all dependencies continue to build. (define-public apache-arrow -- 2.30.2