Skip to content

Instantly share code, notes, and snippets.

View hpk42's full-sized avatar

holger krekel hpk42

View GitHub Profile
@hpk42
hpk42 / patch
Created September 5, 2018 13:29
diff --git a/src/dc_configure.c b/src/dc_configure.c
index 06fbf55..1855cc8 100644
--- a/src/dc_configure.c
+++ b/src/dc_configure.c
@@ -38,8 +38,11 @@
static char* read_autoconf_file(dc_context_t* context, const char* url)
{
char* filecontent = NULL;
+ char* urlcopy = NULL;
+
GLOB sdist-make: /home/hpk/p/muacryptcc/setup.py
lint develop-inst-nodeps: /home/hpk/p/muacryptcc
lint installed: attrs==17.4.0,base58==0.2.5,check-manifest==0.36,click==6.7,configparser==3.5.0,docutils==0.14,enum34==1.1.6,flake8==3.5.0,mccabe==0.6.1,muacrypt==0.8.0.dev6,-e [email protected]:nextleap-project/muacryptcc@472f2d4943e9d785e54230031095de9dcb3616b2#egg=muacryptcc,pycodestyle==2.3.1,pyflakes==1.6.0,restructuredtext-lint==1.1.3,six==1.11.0
lint runtests: PYTHONHASHSEED='213227533'
lint runtests: commands[0] | check-manifest
lists of files in version control and sdist match
lint runtests: commands[1] | rst-lint README.rst
lint runtests: commands[2] | flake8 --ignore=E127 --ignore=E741 --max-line-length 100 muacryptcc tests
py27 inst-nodeps: /home/hpk/p/muacryptcc/.tox/dist/muacryptcc-0.1.0.zip
py27 installed: attrs==17.4.0,base58==0.2.5,cffi==1.11.4,-e git+https://github.com/hpk42/claimchain-core@5046d0c3be6c72fa1befb47f7f25e56d13c9f159#egg=claimchain,click==6.7,coverage==4.5.1,defaultcontext==1.0.3,
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from [127.0.0.1] (localhost [127.0.0.1])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mail.merlinux.eu (Postfix) with ESMTPSA id 6DA04100406
for <[email protected]>; Thu, 25 Jan 2018 17:45:35 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.2.0 mail.merlinux.eu 6DA04100406
Authentication-Results: mail.merlinux.eu; dmarc=none header.from=merlinux.eu
============================= test session starts ==============================
platform linux -- Python 3.5.2, pytest-3.3.1, py-1.5.2, pluggy-0.6.0
rootdir: /home/hpk/p/pyac, inifile: tox.ini
collected 27 items
tests/test_crypto.py EEEEEEEE [ 29%]
tests/test_message.py ..F..F..F.F...F.... [100%]
==================================== ERRORS ====================================
__________ ERROR at setup of TestCrypto.test_gen_key_and_get_keydata ___________
diff --git a/server/tox.ini b/server/tox.ini
--- a/server/tox.ini
+++ b/server/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py34,py35,pypy,py27-bare,flakes
+envlist={py26,py27,py34,py35,pypy}-{sqlite,postgres},py27-bare,flakes
#,gendeploy
indexserver=
pypi = https://pypi.python.org/simple
diff --git a/server/devpi_server/model.py b/server/devpi_server/model.py
--- a/server/devpi_server/model.py
+++ b/server/devpi_server/model.py
@@ -421,6 +421,10 @@ class PrivateStage(BaseStage):
def modify(self, index=None, **kw):
attrs = get_ixconfigattrs(self.xom.config.hook, self.ixconfig["type"])
+ if "type" in kw and kw["type"] not in ("mirror", "stage"):
+ raise InvalidIndexconfig(
+ ["invalid index type: %s" %(kw["type"],)])
from tox import hookimpl
class GlobinterpreterPlugin:
@hookimpl
def tox_configure(self, config):
self.config = config
# postprocess config
@hookimpl
from _pytest.core import PluginManager
pm = PluginManager("devpi_server")
class MyHooks:
def devpi_server_whatever(self, arg1):
pass
pm.addhooks(MyHooks)
from setuptools import setup
if __name__ == "__main__":
setup(
name='pytest-pep8',
description='pytest plugin to check PEP8 requirements',
long_description=open("README.txt").read(),
license="MIT license",
version='1.0.7.dev1',
author='Holger Krekel and Ronny Pfannschmidt',
Collecting devpi-common<2.1,>=2.0.6.dev2 (from devpi-server==2.2.0.dev1)
Could not find a version that satisfies the requirement devpi-common<2.1,>=2.0.6.dev2 (from devpi-server==2.2.0.dev1) (from versions: 1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6.dev2)