From 44c35089734a405166d318c334c1fc038c93b139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sat, 31 Oct 2015 23:56:52 +0100 Subject: [PATCH] [enh] Add some other git repo support in list_builder --- list_builder.py | 77 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 70 insertions(+), 7 deletions(-) diff --git a/list_builder.py b/list_builder.py index 8432af7..09470f4 100755 --- a/list_builder.py +++ b/list_builder.py @@ -4,6 +4,7 @@ import os import sys import time import json +import zlib import argparse import requests @@ -13,7 +14,14 @@ from dateutil.parser import parse ## Regular expression patterns """GitHub repository URL.""" -re_github_repo = re.compile(r'^(http[s]?|git)://github.com/(?P[\w\-_]+)/(?P[\w\-_]+)(.git)?') +re_github_repo = re.compile( + r'^(http[s]?|git)://github.com/(?P[\w\-_]+)/(?P[\w\-_]+)(.git)?' +) + +re_commit_author = re.compile( + r'^author (?P.+) <(?P.+)> (?P