From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id hZ7AKkK9SmA4QwAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 01:00:50 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WGvfJUK9SmCxRgAAbx9fmQ (envelope-from ) for ; Fri, 12 Mar 2021 01:00:50 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 1F9F419660 for ; Fri, 12 Mar 2021 02:00:50 +0100 (CET) Received: from localhost ([::1]:53660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKWAb-0005DT-67 for larch@yhetil.org; Thu, 11 Mar 2021 20:00:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKW9q-0004xz-Pm for guix-patches@gnu.org; Thu, 11 Mar 2021 20:00:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKW9q-0006bS-H7 for guix-patches@gnu.org; Thu, 11 Mar 2021 20:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKW9q-0005me-GA for guix-patches@gnu.org; Thu, 11 Mar 2021 20:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47081] [PATCH v2 2/6] gnu: Remove mongo-tools. 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 01:00: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.161551076722102 (code B ref 47081); Fri, 12 Mar 2021 01:00:02 +0000 Received: (at 47081) by debbugs.gnu.org; 12 Mar 2021 00:59:27 +0000 Received: from localhost ([127.0.0.1]:55490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKW9G-0005kL-SJ for submit@debbugs.gnu.org; Thu, 11 Mar 2021 19:59:27 -0500 Received: from mail.zaclys.net ([178.33.93.72]:45035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKW9F-0005jd-17 for 47081@debbugs.gnu.org; Thu, 11 Mar 2021 19:59:25 -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 12C0xJY2011357 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 12 Mar 2021 01:59:19 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12C0xJY2011357 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=1615510759; bh=sYylOTUTDB2LKqTalHq80yiLACRkPqplRyx/q6saaWI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lapLeLMOcpT5BLMURkng1nR1iB6UfXJzPotop5Ozn440tUw8JFsxwsBqGbPg77gRI pFMYC2monHokdH3JZVe/T/lficCiMkQD5SdUGX+JkXklEx/M+TwKkOigY2/hOyTghI z0/ze7K2l9IZeL2KFvr/2SCynw2E005c3xRj4ebo= Date: Fri, 12 Mar 2021 01:59:11 +0100 Message-Id: <20210312005915.14100-2-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210312005915.14100-1-lle-bout@zaclys.net> References: <20210312005915.14100-1-lle-bout@zaclys.net> 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=1615510850; 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=Kt1Nepjmv6bIqkyMb6vDe2OjCn901gRwTIfIdeAQlxFC2sWS/YQdBi5PADoMtHSvKtddpW qllZmqcIsxHOW4kTbgCvDIgOeYsxbohzlO4rLug9hQ2d/lmQVlBo8YFhpiHmPrNUrHK329 phXTfYFTwPsVRXhH8o2rTXB+i6blTKFiXSf/lwHCKMTvJQ8kjrBagSVLVqP8wjD+qUXrb3 9wTd5Q/MwR7ACYxxKZGD08vufJT9Ec/2AUIjwdB8D0kLusN7b9kuavmoLbJrd7Q2z6ADxF Gn8bdhL2BfIifAMnbEAmajwDtm445nQxbSSXgRZEP+r+gxSIkduMfko7vLF7NA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615510850; a=rsa-sha256; cv=none; b=ZpSOyJJboeHn4hlPsPKuQCx45zziA2slPzZEJh2IvzxqoECTVN3FiW1JeMCNLe3lJjN8CA uCZWG39Mg/DKkL0coekMq0INi8PxSsXb1Ks7pp6Se6wFJ8PHyZQ5BdSEO809BhlGov3NH2 uJ/hSn8tSflDKmfWPv2jGfg0UyYv+NyCdCB+caeqaHBKgcaR4hdI7zsKFfFkoxk9N4tYWL EuXNVZHiNQ9FiMKPLqv1Zcs+u3GG4Qbvl2Eahm4IW4i74ZsUuaYWibtNG0a0oyDiBKMhLK SYeEIIePJjd+9RB45AM04fPJ0O0p5JjzgVhoXA1ZHcwn2Sl2wOhzLb8jLY5d7g== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=lapLeLMO; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.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: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=lapLeLMO; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.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: 1F9F419660 X-Spam-Score: 1.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: NALNyruDO1vL 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