From ae0ca1190ad37110000a023647ab558de111375f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 04 2018 13:38:51 +0000 Subject: [PATCH 1/3] Don't look for committer without emails but keep the info Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/tasks.py b/pagure/lib/tasks.py index 351af37..1140b24 100644 --- a/pagure/lib/tasks.py +++ b/pagure/lib/tasks.py @@ -854,7 +854,9 @@ def commits_author_stats(self, session, repopath): for (name, email), val in stats.items(): if not email: - # Author email is missing in the git commit. + # Author email is missing in the git commit, keep the information + # but don't look for them in the database. + stats[(name, email)] += val continue # For each recorded user info, check if we know the e-mail address of # the user. From 469f3dde09a5a8c0b538bfb3ddb3874f458c33ce Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 04 2018 13:47:40 +0000 Subject: [PATCH 2/3] Force install/upgrade of pygments and chardet in CI Signed-off-by: Pierre-Yves Chibon --- diff --git a/run_ci_tests.sh b/run_ci_tests.sh index 508e068..55a053d 100755 --- a/run_ci_tests.sh +++ b/run_ci_tests.sh @@ -31,6 +31,7 @@ git log -2 fi pip install --upgrade tox +pip install --upgrade --force-reinstall pygments chardet tox --sitepackages -e 'py{27,34}-flask011-ci' -- -v --with-xcoverage --cover-erase --cover-package=pagure set +e From e5792194a2c49d57ad50c243859102a70def3322 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 04 2018 13:48:37 +0000 Subject: [PATCH 3/3] Install the header files for python 3.4 Signed-off-by: Pierre-Yves Chibon --- diff --git a/run_ci_tests.sh b/run_ci_tests.sh index 55a053d..c467cd1 100755 --- a/run_ci_tests.sh +++ b/run_ci_tests.sh @@ -1,6 +1,6 @@ set -x -yum install -y python-virtualenv python34 \ +yum install -y python-virtualenv python34 python34-devel \ gcc python-cryptography python34-cryptography \ libgit2 python-pygit2 \ redis swig openssl-devel m2crypto \