X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fgenerate_contributions.py;h=6efe84ef5816b54f965289261c7386239619cf54;hb=059dad2acec052c293d0b0a068376ab8a6c024b7;hp=afac9638c32b9f433d7dbbd85481fa2a9c9dac97;hpb=90f7007a2e6c78ffd031e4636ff909ab1bc2ddec;p=lyx.git diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py index afac9638c3..6efe84ef58 100755 --- a/lib/generate_contributions.py +++ b/lib/generate_contributions.py @@ -13,12 +13,13 @@ This script both stores and manipulates the raw data needed to create CREDITS, credits.inc and blanket-permission.inc Usage: + $ 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 @@ -91,7 +92,16 @@ def error(message): def usage(prog_name): - return "Usage: %s " % 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): @@ -160,7 +170,7 @@ if (isset($email) && $email != "") { } else $output=$output. "
${name}"; -$msg = ereg_replace("\\n *", "\\n ", ltrim($msg)); +$msg = preg_replace("/\\n */", "\\n ", ltrim($msg)); $output=$output. "
@@ -377,6 +387,14 @@ contributers = [ "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", @@ -911,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/", @@ -1289,6 +1307,14 @@ contributers = [ "", 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",