mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-16 12:39:00 +02:00
Make a script to generate contributors from the git logs
This commit is contained in:
17
docs/informations/CONTRIBUTORS.html
Normal file
17
docs/informations/CONTRIBUTORS.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<h2>Contributors</h2>
|
||||
|
||||
<h4>Ordered by first contribution.</h4>
|
||||
|
||||
<ul>
|
||||
<li>Alexandre Quessy (alexandre.quessy@collabora.com)</li>
|
||||
<li>Alexandre Quessy (alexandre@quessy.net)</li>
|
||||
<li>Tats (info@sofianaudry.com)</li>
|
||||
<li>sylvain (sylvain@jin-motion.com)</li>
|
||||
<li>Vasilis Liaskovitis (vasilis.liaskovitis@profitbricks.com)</li>
|
||||
<li>Vasilis Liaskovitis (vliaskov@gmail.com)</li>
|
||||
<li>baydam (baydamd@gmail.com)</li>
|
||||
<li>Marc Lavallée (marc@hacklava.net)</li>
|
||||
<li>Bay Dam (baydamd@gmail.com)</li>
|
||||
</ul>
|
||||
|
||||
<h4>Generated by scripts/update-contributors.sh.</h4>
|
||||
15
docs/informations/CONTRIBUTORS.md
Normal file
15
docs/informations/CONTRIBUTORS.md
Normal file
@@ -0,0 +1,15 @@
|
||||
## Contributors
|
||||
|
||||
#### Ordered by first contribution.
|
||||
|
||||
- Alexandre Quessy (alexandre.quessy@collabora.com)
|
||||
- Alexandre Quessy (alexandre@quessy.net)
|
||||
- Tats (info@sofianaudry.com)
|
||||
- sylvain (sylvain@jin-motion.com)
|
||||
- Vasilis Liaskovitis (vasilis.liaskovitis@profitbricks.com)
|
||||
- Vasilis Liaskovitis (vliaskov@gmail.com)
|
||||
- baydam (baydamd@gmail.com)
|
||||
- Marc Lavallée (marc@hacklava.net)
|
||||
- Bay Dam (baydamd@gmail.com)
|
||||
|
||||
#### Generated by scripts/update-contributors.sh.
|
||||
23
scripts/update-contributors.sh
Executable file
23
scripts/update-contributors.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
# update CONTRIBUTORS.md based on git history.
|
||||
|
||||
git log --reverse --format='%aN (%aE)' | perl -we '
|
||||
BEGIN {
|
||||
%seen = (), @authors = ();
|
||||
}
|
||||
while (<>) {
|
||||
next if $seen{$_};
|
||||
$seen{$_} = push @authors, "- ", $_;
|
||||
|
||||
}
|
||||
END {
|
||||
print "## Contributors\n\n";
|
||||
print "#### Ordered by first contribution.\n\n";
|
||||
print @authors, "\n";
|
||||
print "#### Generated by scripts/update-contributors.sh.\n";
|
||||
}
|
||||
' > ../docs/informations/CONTRIBUTORS.md
|
||||
|
||||
# Convert markdown file to html
|
||||
markdown ../docs/informations/CONTRIBUTORS.md > ../docs/informations/CONTRIBUTORS.html
|
||||
Reference in New Issue
Block a user