Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collaborators section #681

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ contributions descending.
- Campbell McKellar-Basset, [email protected]
- Jordi Puiggené, [email protected]
- Pau Soliva, [email protected]
- Nihad Mammadli, [email protected]
- Ramon Bartl, [email protected]
- Nihad Mammadli, [email protected]
- Anneline Sweetname, [email protected]
- Godfrey Leibbrandt, [email protected]
- Juan Gallostra, [email protected]
- Mike Metcalfe, mike@webtide.co.za
- Mike Metcalfe, mike@metcalfe.co.za
- Jurie-Jan Botha, [email protected]
- Inus Scheepers, [email protected]
- Oliver Roch, [email protected]
- Alexander Karlsson, [email protected]
- Lunga Baliwe, [email protected]
- Anton Feun, [email protected]
- Jayadeep Karnati, [email protected]
- Lemoene, [email protected]
- Lunga Baliwe, [email protected]
- Dhruv Khattar, [email protected]
- Javis Sullivan, [email protected]
- Pieter van der Merwe, [email protected]
Expand All @@ -35,6 +35,12 @@ contributions descending.
- Manav Batra, [email protected]


Collaborators
=============

- Leonardo Rojas, [email protected]


Translators
===========

Expand Down
19 changes: 19 additions & 0 deletions templates/write_contributors.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ REPLACEMENTS = {
'zylinx': 'Alexander Karlsson',
}

COLLABORATORS = [
("Leonardo Rojas", "[email protected]"),

]

def resolve_contributor(contributor):
if not contributor:
Expand Down Expand Up @@ -115,6 +119,19 @@ def get_git_contributors_section():
lines.append(line)
return lines

def get_collaborators_section():
# Adds Collaborators that have not coded but have given advice, expertise or collaborated somehow to the project.

lines = ['\n\n',
'Collaborators\n',
'=============\n\n',]
for collaborators in COLLABORATORS:
name = collaborators[0]
email = collaborators[1]
line = "- {}, {}\n".format(name, email)
lines.append(line)
return lines

def get_translators_section():
parser = optparse.OptionParser()

Expand Down Expand Up @@ -216,10 +233,12 @@ def get_translators_section():
if __name__ == "__main__":

contributors = get_git_contributors_section()
collaborators = get_collaborators_section()
translators = get_translators_section()

lines = list()
lines.extend(contributors)
lines.extend(collaborators)
lines.extend(translators)
outfile = open(OUTFILE, "w")
outfile.writelines(lines)