]> git.lyx.org Git - lyx.git/blobdiff - lib/generate_contributions.py
update support for multicolumns
[lyx.git] / lib / generate_contributions.py
index 8c24f22efe505b01d9f4d4beb5e3f3e624fdd073..6efe84ef5816b54f965289261c7386239619cf54 100755 (executable)
@@ -13,12 +13,13 @@ This script both stores and manipulates the raw data needed to
 create CREDITS, credits.inc and blanket-permission.inc
 
 Usage:
 create CREDITS, credits.inc and blanket-permission.inc
 
 Usage:
+
 $ python generate_contributions.py \
   CREDITS \
   credits.inc \
   blanket-permission.inc
 
 $ python generate_contributions.py \
   CREDITS \
   credits.inc \
   blanket-permission.inc
 
-where the arguments are the names of the generated files.
+where the arguments are the pathnames of the generated files.
 '''
 
 import codecs, sys, textwrap
 '''
 
 import codecs, sys, textwrap
@@ -91,7 +92,16 @@ def error(message):
 
 
 def usage(prog_name):
 
 
 def usage(prog_name):
-     return "Usage: %s <CREDITS> <credits.inc> <blanket-permission.inc>" % prog_name
+     return '''
+Usage:
+
+$ python generate_contributions.py \\
+  CREDITS \\
+  credits.inc \\
+  blanket-permission.inc
+
+where the arguments are the pathnames of the generated files.
+'''
 
 
 def collate_incomplete(contributers):
 
 
 def collate_incomplete(contributers):
@@ -160,7 +170,7 @@ if (isset($email) && $email != "") {
 } else
         $output=$output. "<dt><b>${name}</b>";
 
 } else
         $output=$output. "<dt><b>${name}</b>";
 
-$msg = ereg_replace("\\n *", "\\n  ", ltrim($msg));
+$msg = preg_replace("/\\n */", "\\n  ", ltrim($msg));
 
 $output=$output. "
  </dt>
 
 $output=$output. "
  </dt>
@@ -377,6 +387,14 @@ contributers = [
                  "28 January 2011",
                  u"fix-cm module"),
 
                  "28 January 2011",
                  u"fix-cm module"),
 
+     contributer(u"Gioele Barabucci",
+                 "gioele () svario ! it",
+                 "GPL",
+                 "Contribution license",
+                 "m=136933235620262",
+                 "23 May 2013",
+                 u"ACM-SIGS layouts"),
+
      contributer(u"Özgür Uğraş Baran",
                  "ugras.baran () gmail ! com",
                  "GPL",
      contributer(u"Özgür Uğraş Baran",
                  "ugras.baran () gmail ! com",
                  "GPL",
@@ -433,6 +451,14 @@ contributers = [
                  "3 January 2009",
                  u"small bugfixes, CMake build system, Slovak translation"),
 
                  "3 January 2009",
                  u"small bugfixes, CMake build system, Slovak translation"),
 
+     contributer(u"Jacob Bishop",
+                 "bishop.jacob () gmail ! com",
+                 "GPL",
+                 "Contributions...APA 6 Layout",
+                 "m=135654106502977",
+                 "26 December 2012",
+                 u"APA 6 Layout"),
+
      contributer(u"Punyashloka Biswal",
                  "punya.biswal () gmail ! com",
                  "GPL",
      contributer(u"Punyashloka Biswal",
                  "punya.biswal () gmail ! com",
                  "GPL",
@@ -903,7 +929,7 @@ contributers = [
                  "",
                  "",
                  "",
                  "",
                  "",
                  "",
-                 u"Original name that is now two character shorter"),
+                 u"Original name that is now two characters shorter"),
 
      contributer(u"KDE Artists",
                  "http://artist.kde.org/",
 
      contributer(u"KDE Artists",
                  "http://artist.kde.org/",
@@ -1281,6 +1307,14 @@ contributers = [
                  "",
                  u"Mathematica backend for mathed"),
 
                  "",
                  u"Mathematica backend for mathed"),
 
+     contributer(u"Benjamin Piwowarski",
+                 "benjamin ! piwowarski () lip6 ! fr",
+                 "GPL",
+                 "GPL statement",
+                 "m=133958334631163",
+                 "13 June 2012",
+                 u"AppleScript, integration with bibliography managers"),
+
      contributer(u"Neoklis Polyzotis",
                  "alkis () soe ! ucsc ! edu",
                  "GPL",
      contributer(u"Neoklis Polyzotis",
                  "alkis () soe ! ucsc ! edu",
                  "GPL",
@@ -1410,12 +1444,12 @@ contributers = [
                  u"The driving force behind, and maintainer of, the LyX wiki wiki.\nSwedish translation of the Windows installer"),
 
      contributer(u"Julien Rioux",
                  u"The driving force behind, and maintainer of, the LyX wiki wiki.\nSwedish translation of the Windows installer"),
 
      contributer(u"Julien Rioux",
-                 "jrioux () physics ! utoronto ! ca",
+                 "jrioux () lyx ! org",
                  "GPL",
                  "Re: #6361: configure.py ignores packages required by user-defined modules",
                  "m=125986505101722",
                  "3 December 2009",
                  "GPL",
                  "Re: #6361: configure.py ignores packages required by user-defined modules",
                  "m=125986505101722",
                  "3 December 2009",
-                 u"Bug fixes, lilypond support"),
+                 u"Bug fixes, lilypond and revtex support, citation modules."),
 
      contributer(u"Bernhard Roider",
                  "bernhard.roider () sonnenkinder ! org",
 
      contributer(u"Bernhard Roider",
                  "bernhard.roider () sonnenkinder ! org",