mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix #303: Update list of contributors by hand
This commit is contained in:
+4
-7
@@ -63,14 +63,12 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent)
|
||||
createAboutTab();
|
||||
// Changelog Tab
|
||||
createChangelogTab();
|
||||
// Librairies
|
||||
createLibrairiesTab();
|
||||
// Libraries
|
||||
createLibrariesTab();
|
||||
// Contributors
|
||||
createContributorsTab();
|
||||
// License
|
||||
createLicenseTab();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void AboutDialog::createAboutTab()
|
||||
@@ -119,7 +117,7 @@ void AboutDialog::createChangelogTab()
|
||||
_tabWidget->addTab(_changelogTextBrowser, tr("Changelog"));
|
||||
}
|
||||
|
||||
void AboutDialog::createLibrairiesTab()
|
||||
void AboutDialog::createLibrariesTab()
|
||||
{
|
||||
_librariesTextBrowser = new QTextBrowser;
|
||||
_librariesTextBrowser->setOpenExternalLinks(true);
|
||||
@@ -135,8 +133,7 @@ void AboutDialog::createLibrairiesTab()
|
||||
|
||||
// Set librairies main text
|
||||
_librariesTextBrowser->setText(librairiesText);
|
||||
|
||||
_tabWidget->addTab(_librariesTextBrowser, tr("Librairies"));
|
||||
_tabWidget->addTab(_librariesTextBrowser, tr("Libraries"));
|
||||
}
|
||||
|
||||
void AboutDialog::createContributorsTab()
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public slots:
|
||||
private:
|
||||
void createAboutTab();
|
||||
void createChangelogTab();
|
||||
void createLibrairiesTab();
|
||||
void createLibrariesTab();
|
||||
void createContributorsTab();
|
||||
void createLicenseTab();
|
||||
|
||||
|
||||
@@ -1,17 +1,10 @@
|
||||
<h2>Contributors</h2>
|
||||
|
||||
<h4>Ordered by first contribution.</h4>
|
||||
|
||||
<ul>
|
||||
<li>Alexandre Quessy (alexandre.quessy@collabora.com)</li>
|
||||
<li>Sofian Audry (info@sofianaudry.com)</li>
|
||||
<li>Dame Diongue (baydamd@gmail.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>Mike Latona (make_latona@hotmail.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>
|
||||
|
||||
@@ -1,15 +1,8 @@
|
||||
## Contributors
|
||||
|
||||
#### Ordered by first contribution.
|
||||
|
||||
- Alexandre Quessy (alexandre.quessy@collabora.com)
|
||||
- Sofian Audry (info@sofianaudry.com)
|
||||
- Dame Diongue (baydamd@gmail.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)
|
||||
- Mike Latona (make_latona@hotmail.com)
|
||||
- Marc Lavallée (marc@hacklava.net)
|
||||
- Bay Dam (baydamd@gmail.com)
|
||||
|
||||
#### Generated by scripts/update-contributors.sh.
|
||||
|
||||
@@ -2,22 +2,24 @@
|
||||
|
||||
# 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, "- ", $_;
|
||||
# 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
|
||||
|
||||
}
|
||||
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
|
||||
echo "Please update docs/informations/CONTRIBUTORS.md by hand"
|
||||
|
||||
# Convert markdown file to html
|
||||
markdown ../docs/informations/CONTRIBUTORS.md > ../docs/informations/CONTRIBUTORS.html
|
||||
markdown docs/informations/CONTRIBUTORS.md > docs/informations/CONTRIBUTORS.html
|
||||
|
||||
Reference in New Issue
Block a user