From 055cddfc9072ff90f595205d77fbce3fb329bccb Mon Sep 17 00:00:00 2001 From: Distix listener Date: Tue, 15 Mar 2016 16:35:04 +0100 Subject: imported mails --- .../Maildir/new/1458056103.M575234P32618Q1.hrun | 121 ++++++++++++ .../Maildir/new/1458056103.M615498P32618Q2.hrun | 146 ++++++++++++++ .../Maildir/new/1458056104.M242193P32618Q3.hrun | 216 +++++++++++++++++++++ 3 files changed, 483 insertions(+) create mode 100644 tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M575234P32618Q1.hrun create mode 100644 tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M615498P32618Q2.hrun create mode 100644 tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056104.M242193P32618Q3.hrun (limited to 'tickets') diff --git a/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M575234P32618Q1.hrun b/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M575234P32618Q1.hrun new file mode 100644 index 0000000..5b89ec2 --- /dev/null +++ b/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M575234P32618Q1.hrun @@ -0,0 +1,121 @@ +Return-Path: +X-Original-To: distix@pieni.net +Delivered-To: distix@pieni.net +Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPS id 2809B2F907 + for ; Tue, 15 Mar 2016 16:33:22 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id B1A96EFB; + Tue, 15 Mar 2016 15:33:21 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1afqyH-0004Ky-K7; Tue, 15 Mar 2016 15:33:21 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1afqyG-0004Ks-J5 + for ; Tue, 15 Mar 2016 15:33:20 +0000 +Received: from mail-qg0-f48.google.com ([209.85.192.48]) + by mx0.pepperfish.net with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) (envelope-from ) + id 1afqyE-0002go-KM + for obnam-dev@obnam.org; Tue, 15 Mar 2016 15:33:20 +0000 +Received: by mail-qg0-f48.google.com with SMTP id t4so17444326qge.0 + for ; Tue, 15 Mar 2016 08:33:13 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=d729gn4MxE21tw4RY5EcMd1p4hLPFdzX54c0xz0Wchk=; + b=W5AWz/9TeBv+H2tguiRHZOjWlfF6X3aqb+KN9z4JG6XwqhisMSVoLJm7f5zzvsZJSy + 8pkyz3QtSKvjeBIuetgbH3q3J7ysMS3Bn7EzEWUU3i3b9ae3ug8LTtGWzI0JVwx88A7L + 9J6ftJvtxX+PRGXdI+P6kZbOp4NW2NNb2hID1CtVbQp//NBXaU1FtYJ7F7R+8ujVMtgE + vG4LQlN50SdLRoYV/ypvKq57+LgaQjAn52z90TgUcYsKCUmmlbtZY4iYc1AAUsinoPbU + YfFvS4K0bnEBfNv29qwTVZoeiVpVz7tODOxJIJH4f2Jlh2lAFLqJ9Ojyw34+6AjlZc1Z + sl0A== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to + :references; + bh=d729gn4MxE21tw4RY5EcMd1p4hLPFdzX54c0xz0Wchk=; + b=YtW70uNNqGRTsFAO5rKYGoxKB8/hXegByQKxWsUzywoVsHAXzDzaZFotzAxtn9qQED + xyySVXW6E0BAPVU70xCFENDA01tXRGiTXm465W1Zg+XDbc1F09aV4e4ILtvUNOid2wJr + DBobcBe3HeT36az7qZh2ZvBjNFU644UhBExrDN5WwN3rBZeIzfnlAM1cQEJMJnzBJifs + 1AguM0ONnE7hGPzVygcQ2+vb4b6wMP8K4Ro63WaN9fBPl6QkLdMM8EyIDTGxjxPj/QHH + a/sgCqumHEyMtKsOMGxHlBNM6GvrjYfXOzf3Owy4ATUcapS9JlwfK3TKUTHaRcILQyUs + x7vw== +X-Gm-Message-State: AD7BkJJ2hAsxuM1+YX9i7IVJPFY051CP6UEKXU5RkCBU4d1er8FYDaz08fwMewTS9r3/jg== +X-Received: by 10.140.169.9 with SMTP id p9mr41075466qhp.50.1458055987415; + Tue, 15 Mar 2016 08:33:07 -0700 (PDT) +Received: from randy.nyu.edu (NYUFWA-WLESSAUTHCLIENTS-08.NATPOOL.NYU.EDU. + [216.165.95.79]) + by smtp.gmail.com with ESMTPSA id j68sm12863793qge.41.2016.03.15.08.33.06 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); + Tue, 15 Mar 2016 08:33:06 -0700 (PDT) +From: Remi Rampin +To: obnam-dev@obnam.org +Date: Tue, 15 Mar 2016 11:31:40 -0400 +Message-Id: <1458055902-97595-1-git-send-email-remirampin@gmail.com> +X-Mailer: git-send-email 2.7.3 +In-Reply-To: <56E8255A.9020906@gmail.com> +References: <56E8255A.9020906@gmail.com> +X-Spam-Score: -0.5 +X-Spam-Score-int: -4 +X-Spam-Bar: / +X-Scanned-By: pepperfish.net, Tue, 15 Mar 2016 15:33:20 +0000 +X-Spam-Report: Content analysis details: (-0.5 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low + trust [209.85.192.48 listed in list.dnswl.org] + 1.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail' + 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider + (remirampin[at]gmail.com) + -0.0 SPF_PASS SPF: sender matches SPF record + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] + -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's + domain + 0.1 DKIM_SIGNED Message has a DKIM or DK signature, + not necessarily valid + -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature +X-ACL-Warn: message may be spam +X-Scan-Signature: 2e65f5179848bd99ed9586f9b1c7ce7e +Cc: Remi Rampin +Subject: [PATCH 0/2] Obnam on PyPI +X-BeenThere: obnam-dev@obnam.org +X-Mailman-Version: 2.1.5 +Precedence: list +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +This does the required changes to prepare Obnam for PyPI. + +One major problem is that the name 'larch' is already taken on PyPI [1] +by a discrete choice model library, so the name would have to be changed +for all of this to be submitted to the index. + +[1]: https://pypi.python.org/pypi/larch + +Remi Rampin (2): + Switch to setuptools + Remove cliapp, use subprocess directly + + setup.py | 38 +++++++++++++++++++++++--------------- + 1 file changed, 23 insertions(+), 15 deletions(-) + +-- +2.7.3 + + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org diff --git a/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M615498P32618Q2.hrun b/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M615498P32618Q2.hrun new file mode 100644 index 0000000..2001e28 --- /dev/null +++ b/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056103.M615498P32618Q2.hrun @@ -0,0 +1,146 @@ +Return-Path: +X-Original-To: distix@pieni.net +Delivered-To: distix@pieni.net +Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPS id 3B90C2F907 + for ; Tue, 15 Mar 2016 16:33:28 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id BAA69EFB; + Tue, 15 Mar 2016 15:33:27 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1afqyN-0004NP-Ie; Tue, 15 Mar 2016 15:33:27 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1afqyL-0004Ld-Uu + for ; Tue, 15 Mar 2016 15:33:26 +0000 +Received: from mail-qg0-f42.google.com ([209.85.192.42]) + by mx0.pepperfish.net with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) (envelope-from ) + id 1afqyF-0002gp-L3 + for obnam-dev@obnam.org; Tue, 15 Mar 2016 15:33:25 +0000 +Received: by mail-qg0-f42.google.com with SMTP id u110so17365001qge.3 + for ; Tue, 15 Mar 2016 08:33:14 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=/afd3hQ2Bj+8e7VUmkxZeqKodXUeBc2/DhUgfKXThTk=; + b=UTC5qPvQGM71dxX/IjLbc17as0ZfSc/KbXqMqizpH5FIq5jq851YU6qKQJCcvarCKd + i7+XogLWbeWPmp0bYSlAQsNaUjU7moc9anLPjE+zBOTt2rurZzKqmIAfepcRrHPh38lS + 9XdcuqsiSW0NvCohue90tqmFPUTe0YwzS8pm6KPknJYGaLIOTCqgK1eaIXrlk3lrAAmI + zjJH4zWUHq4kzR8tI+w7gTyr7vw2W7Fokr6wVCsmTYty+AcsO8fVpWo07L/2I7H3rBpF + R3ZvVrah25PWzfr7Hjjg1vvCQXeqNzYdtfStgkFOuWGlMoUgQzXFrWGziOHIT9vHACzP + 7+1Q== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to + :references; + bh=/afd3hQ2Bj+8e7VUmkxZeqKodXUeBc2/DhUgfKXThTk=; + b=GJUJs8iZ1DdQtjcLd6SNQJmhNMipSUWjOGwsreWnHCuY65R+1iEEda/6r3ulf3fIKC + MjYfbgw1ZMe20G5e/U6Sva7NLK7N9MidDJvK7b/JH8lleXzt4XwGTu5x5KZxDzOCz10Q + KpzbRi81+iKFDgAkc3Y++69iCzHIYYRz1TtqHConvHlPY7QLZnPyp8+oMsLmtqujpCql + BCn3rj+08Fti37UqBJ8cMVSkMRGANKa9UmfhDdsdF/+W2cdieCdS6lk5Eg4Ux3/xW/rK + F7x/Itng1Ahd2IDbJ81X4znhlRf6UmXXvG470US3dD3ROGW+gtkJXAZ107fgvo2JAi0k + rQMA== +X-Gm-Message-State: AD7BkJJxC5tVDIsDEpo8jRoChjA7CRSyYRm2Chm8amYOv5MHFCe3OFwf41YX8xg3OMu9XA== +X-Received: by 10.140.95.117 with SMTP id h108mr38580611qge.65.1458055988171; + Tue, 15 Mar 2016 08:33:08 -0700 (PDT) +Received: from randy.nyu.edu (NYUFWA-WLESSAUTHCLIENTS-08.NATPOOL.NYU.EDU. + [216.165.95.79]) + by smtp.gmail.com with ESMTPSA id j68sm12863793qge.41.2016.03.15.08.33.07 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); + Tue, 15 Mar 2016 08:33:07 -0700 (PDT) +From: Remi Rampin +To: obnam-dev@obnam.org +Date: Tue, 15 Mar 2016 11:31:41 -0400 +Message-Id: <1458055902-97595-2-git-send-email-remirampin@gmail.com> +X-Mailer: git-send-email 2.7.3 +In-Reply-To: <1458055902-97595-1-git-send-email-remirampin@gmail.com> +References: <56E8255A.9020906@gmail.com> + <1458055902-97595-1-git-send-email-remirampin@gmail.com> +X-Spam-Score: -0.5 +X-Spam-Score-int: -4 +X-Spam-Bar: / +X-Scanned-By: pepperfish.net, Tue, 15 Mar 2016 15:33:25 +0000 +X-Spam-Report: Content analysis details: (-0.5 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + 1.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail' + 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider + (remirampin[at]gmail.com) + -0.0 SPF_PASS SPF: sender matches SPF record + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] + -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's + domain + 0.1 DKIM_SIGNED Message has a DKIM or DK signature, + not necessarily valid + -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature + -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low + trust [209.85.192.42 listed in list.dnswl.org] +X-ACL-Warn: message may be spam +X-Scan-Signature: 2c50e0cfd6ac8342e87940d191065d4f +Cc: Remi Rampin +Subject: [PATCH 1/2] Switch to setuptools +X-BeenThere: obnam-dev@obnam.org +X-Mailman-Version: 2.1.5 +Precedence: list +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +--- + setup.py | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index ef5d57c..50ad1ad 100755 +--- a/setup.py ++++ b/setup.py +@@ -15,7 +15,7 @@ + # with this program; if not, write to the Free Software Foundation, Inc., + # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-from distutils.core import setup, Extension ++from setuptools import setup, Extension + from distutils.cmd import Command + from distutils.command.build import build + from distutils.command.clean import clean +@@ -32,6 +32,8 @@ import cliapp + import obnamlib + + ++os.chdir(os.path.abspath(os.path.dirname(__file__))) ++ + # We need to know whether we can run yarn. We do this by checking + # the python-markdown version: if it's new enough, we assume yarn + # is available, and if it isn't, yarn won't be available since it +@@ -337,6 +339,12 @@ setup(name='obnam', + author_email='liw@liw.fi', + url='http://obnam.org/', + scripts=['obnam', 'obnam-viewprof'], ++ install_requires=[ ++ 'paramiko', ++ 'cliapp', ++ 'larch', ++ 'ttystatus', ++ 'tracing'], + packages=[ + 'obnamlib', + 'obnamlib.plugins', +-- +2.7.3 + + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org diff --git a/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056104.M242193P32618Q3.hrun b/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056104.M242193P32618Q3.hrun new file mode 100644 index 0000000..59ccd9d --- /dev/null +++ b/tickets/5ecf296ebd2f4bb181c9a37577fc034b/Maildir/new/1458056104.M242193P32618Q3.hrun @@ -0,0 +1,216 @@ +Return-Path: +X-Original-To: distix@pieni.net +Delivered-To: distix@pieni.net +Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPS id 7D2CA2F907 + for ; Tue, 15 Mar 2016 16:33:24 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id 2A775F09; + Tue, 15 Mar 2016 15:33:24 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1afqyK-0004LL-2D; Tue, 15 Mar 2016 15:33:24 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1afqyI-0004LD-3M + for ; Tue, 15 Mar 2016 15:33:22 +0000 +Received: from mail-qg0-f49.google.com ([209.85.192.49]) + by mx0.pepperfish.net with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) (envelope-from ) + id 1afqyG-0002gq-5g + for obnam-dev@obnam.org; Tue, 15 Mar 2016 15:33:21 +0000 +Received: by mail-qg0-f49.google.com with SMTP id w104so17424283qge.1 + for ; Tue, 15 Mar 2016 08:33:14 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=OSmDwJHa3lFIa7zMOLbUtw0GPmkBUlA6N06xdOAlF0w=; + b=0YoRMVtl3/ggDwTobASEQcZOviaCsphazSJXgI3Da9B+p4h22Fzew9CTkvZVneRk0P + Us09s63+2rmB3EfI+AnFuO5MY2bEuhSzklAb3aYfbC5Rl7L8ZBDNcHiZQGwOC87hXowo + yTYvJdVn0im/7N99JkazlXWaaJqha10CSQx9V+Deuviu55gEokyCYDcn7/HHH5NgsCWi + ZZqzCct1RBFDsSeTKuAOrsbU8k0VNhWw7c9INebwyVyLTdlfAo3RchJhOzIsoZrvigTP + oSsvG3GfAIlDoCMO2tDFEukxlFo3bg6FHUCB4NSimResMs1DwXW3jUqvExXk8Api7ZkF + FdRg== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to + :references; + bh=OSmDwJHa3lFIa7zMOLbUtw0GPmkBUlA6N06xdOAlF0w=; + b=HPOJE4CEhJOJlQdbQKLWagrFHF73R3DPrtb7greHGSAZuIYbmjrAXAuxst/4yOSLVt + 1rLA1VbIZMR3sCnKRO5Mr8kFF8+AQhmMPopoIBA+sejDn+PXSQHCNNO4pKv3Ok62kPIS + NlnCJjqOQdAhPqs+Gb8/MBaOsrkr5PkaXGYe2OSEZRKEgBHVkEzjhOd+YOLKNy+0ZMTr + qZZK1LXUK7k9dOMXn0fDDf4+MA8OR8sqxqT4QN2yc7OC6Jd2aO4Z77Cnk+amMzDc4Yht + mP2mUPCjxycmdjkl7itzcoUPYHlMXeXnrBUaSR5LWdI+rlSJ/FNYHvLMAXuldDGXH0j6 + 3+Hw== +X-Gm-Message-State: AD7BkJL9RhmVWNltCTH4A0nUngMTA+QzNjH8IYjBPqQnzmaTr6t4P6/SbHm6oDyQc0pFoA== +X-Received: by 10.140.89.103 with SMTP id u94mr38596711qgd.3.1458055988854; + Tue, 15 Mar 2016 08:33:08 -0700 (PDT) +Received: from randy.nyu.edu (NYUFWA-WLESSAUTHCLIENTS-08.NATPOOL.NYU.EDU. + [216.165.95.79]) + by smtp.gmail.com with ESMTPSA id j68sm12863793qge.41.2016.03.15.08.33.08 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); + Tue, 15 Mar 2016 08:33:08 -0700 (PDT) +From: Remi Rampin +To: obnam-dev@obnam.org +Date: Tue, 15 Mar 2016 11:31:42 -0400 +Message-Id: <1458055902-97595-3-git-send-email-remirampin@gmail.com> +X-Mailer: git-send-email 2.7.3 +In-Reply-To: <1458055902-97595-1-git-send-email-remirampin@gmail.com> +References: <56E8255A.9020906@gmail.com> + <1458055902-97595-1-git-send-email-remirampin@gmail.com> +X-Spam-Score: -0.5 +X-Spam-Score-int: -4 +X-Spam-Bar: / +X-Scanned-By: pepperfish.net, Tue, 15 Mar 2016 15:33:21 +0000 +X-Spam-Report: Content analysis details: (-0.5 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + 1.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail' + 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider + (remirampin[at]gmail.com) + -0.0 SPF_PASS SPF: sender matches SPF record + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] + -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's + domain + 0.1 DKIM_SIGNED Message has a DKIM or DK signature, + not necessarily valid + -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature + -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low + trust [209.85.192.49 listed in list.dnswl.org] +X-ACL-Warn: message may be spam +X-Scan-Signature: 790749604c9e274f8476ddd9df4e30d2 +Cc: Remi Rampin +Subject: [PATCH 2/2] Remove cliapp, use subprocess directly +X-BeenThere: obnam-dev@obnam.org +X-Mailman-Version: 2.1.5 +Precedence: list +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +--- + setup.py | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +diff --git a/setup.py b/setup.py +index 50ad1ad..f1a726d 100755 +--- a/setup.py ++++ b/setup.py +@@ -27,8 +27,6 @@ import subprocess + import sys + import tempfile + +-import cliapp +- + import obnamlib + + +@@ -72,7 +70,7 @@ class Build(build): + + def generate_troff(self, program, lang): + with open('%s.1%s' % (program, lang), 'w') as f: +- cliapp.runcmd( ++ subprocess.check_call( + ['python', program, + '--generate-manpage=%s.1%s.in' % (program, lang), + '--output=%s.1' % program], +@@ -102,7 +100,7 @@ class BuildDocs(Command): + env = dict(os.environ) + env['MANWIDTH'] = '80' + with open('%s.1.txt' % program, 'w') as f: +- cliapp.runcmd( ++ subprocess.check_call( + ['man', '-l', '%s.1' % program], + ['col', '-b'], + stdout=f, +@@ -213,8 +211,8 @@ class Check(Command): + if 'REPOSITORY_FORMAT' in os.environ: + return [os.environ['REPOSITORY_FORMAT']] + else: +- return cliapp.runcmd(['./obnam', '--no-default-configs', +- 'list-formats']).splitlines() ++ return subprocess.check_output(['./obnam', '--no-default-configs', ++ 'list-formats']).splitlines() + + def run_yarn_for_repo_format(self, repo_format): + print 'run yarn for repository format %s' % repo_format +@@ -258,7 +256,7 @@ class Check(Command): + print "no .git, no nitpick for you" + + def check_with_pep8(self): +- output = cliapp.runcmd(['pep8', '--version']) ++ output = subprocess.check_output(['pep8', '--version']) + parts = output.strip().split('.') + # pep8 version 1.5.7 is in Debian jessie. Previous versions + # give bad warnings about whitespace around some operators, +@@ -266,36 +264,38 @@ class Check(Command): + # enough. + if parts >= ['1', '5', '7']: + print 'running pep8' +- cliapp.runcmd(['pep8', 'obnamlib'], stdout=None, stderr=None) ++ subprocess.check_call(['pep8', 'obnamlib'], ++ stdout=None, stderr=None) + else: + print 'not running pep8' + + def check_with_pylint(self): +- output = cliapp.runcmd(['pylint', '--version']) ++ output = subprocess.check_output(['pylint', '--version']) + parts = output.splitlines()[0].split('.') + # pylint version 1.3.1 is in Debian jessie. Previous versions + # do not know all the things in the pylint.conf file we use, + # so we only run pylint if it's new enough. + if parts >= ['pylint 1', '3', '1,']: + print 'running pylint' +- cliapp.runcmd( ++ subprocess.check_call( + ['pylint', '--rcfile=pylint.conf', 'obnamlib'], + stdout=None, stderr=None) + else: + print 'not running pylint', parts + + def check_sources_for_nitpicks(self, sources): +- cliapp.runcmd(['./nitpicker'] + sources, stdout=None, stderr=None) ++ subprocess.check_call(['./nitpicker'] + sources, ++ stdout=None, stderr=None) + + def check_copyright_statements(self, sources): + if self.copylint_is_available(): + print 'check copyright statements in source files' +- cliapp.runcmd(['copyright-statement-lint'] + sources) ++ subprocess.check_call(['copyright-statement-lint'] + sources) + else: + print 'no copyright-statement-lint: no copyright checks' + + def copylint_is_available(self): +- returncode, stdout, stderr = cliapp.runcmd_unchecked( ++ returncode, stdout, stderr = subprocess.call( + ['sh', '-c', 'command -v copyright-statement-lint']) + return returncode == 0 + +@@ -321,7 +321,7 @@ class Check(Command): + + pats = [re.compile(x) for x in exclude] + +- output = cliapp.runcmd(['git', 'ls-files']) ++ output = subprocess.check_output(['git', 'ls-files']) + result = [] + for line in output.splitlines(): + for pat in pats: +-- +2.7.3 + + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org -- cgit v1.2.1