]> iEval git - fdkaac.git/commitdiff
update ChangeLog and git2changelog.py
authornu774 <honeycomb77@gmail.com>
Sat, 19 Oct 2013 03:54:20 +0000 (12:54 +0900)
committernu774 <honeycomb77@gmail.com>
Sat, 19 Oct 2013 03:54:50 +0000 (12:54 +0900)
ChangeLog
git2changelog.py

index 9a0c82b922c6d2c912fb4c8fdcaa0eb260e1158a..8a6465bbfc65334ff9b6b428455acdf95f24695f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,18 @@
+2013-10-19  nu774 <honeycomb77@gmail.com>
+
+  * update ChangeLog and git2changelog.py [HEAD]
+
+2013-10-18  nu774 <honeycomb77@gmail.com>
+
+  * bump version [v0.3.1]
+
+  * update README
+
+  * set avgBitrate field to zero for 14496-1 compliance
+
 2013-09-07  nu774 <honeycomb77@gmail.com>
 
-  * updated ChangeLog with new git2changelog.py [HEAD]
+  * updated ChangeLog with new git2changelog.py
 
 2013-06-14  nu774 <honeycomb77@gmail.com>
 
index 91be8c77d04504fa803a1fb702459a60a35e8b76..694e9baf3339f9c104705a889e74d8c2e4b7a012 100755 (executable)
@@ -15,15 +15,19 @@ GITLOG_CMD = ['git','log','--date=short','--format={0}'.format(GITLOG_FMT)]
 Commit = namedtuple('Commit', 'commit author date subject ref')
 
 def parse_gitlog(stream):
-    re_decode_tag = re.compile(r'(?<=\()([^,)]+)')
+    re_decode_ref = re.compile(r'(?<=\()([^,)]+)')
+    re_strip_tag = re.compile(r'^tag: ')
     commit = dict()
     for line in stream:
         fields = line.decode('utf-8').rstrip('\r\n').split(' ', 1)
         if len(fields) == 2:
             key, value = fields
             if key == 'ref':
-                m = re_decode_tag.search(value)
-                value = ' [{0}]'.format(m.group()) if m else ''
+                m = re_decode_ref.search(value)
+                if m:
+                    value = ' [{0}]'.format(re_strip_tag.sub('', m.group()))
+                else:
+                    value = ''
             commit[key] = value
         elif commit:
             yield Commit(**commit) 
This page took 0.031467 seconds and 4 git commands to generate.