From 58313884b27a6cc4ea04bb73ce15bb3adeef78a9 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Tue, 3 Dec 2013 21:44:11 +0530 Subject: [PATCH 1/3] Added information about core team members Signed-off-by: Vasudev Kamath --- docs/coreteam.rst | 13 +++++++++++++ docs/hacking.rst | 8 ++++++++ 2 files changed, 21 insertions(+) create mode 100644 docs/coreteam.rst diff --git a/docs/coreteam.rst b/docs/coreteam.rst new file mode 100644 index 0000000..7ebead2 --- /dev/null +++ b/docs/coreteam.rst @@ -0,0 +1,13 @@ + - `Paul Richard Tagliamonte `_ + - `J Kenneth King `_ + - `Julien Danjou `_ + - `Nicolas Dandrimont `_ + - `Morten Linderud `_ + - `Gergely Nagy `_ + - `Karen Rustad `_ + - `Berker Peksag `_ + - `Christopher Allan Webber `_ + - `Bob Tolbert `_ + - `Tuukka Turto `_ + - `Will Kahn-Greene `_ + - `Konrad Hinsen `_ diff --git a/docs/hacking.rst b/docs/hacking.rst index 08a1fe6..6ee479c 100644 --- a/docs/hacking.rst +++ b/docs/hacking.rst @@ -99,3 +99,11 @@ core team. Additional review is clearly welcome, but we need a minimum of If a core member is sending in a PR, please find 2 core members that don't include them PR submitter. The idea here is that one can work with the PR author, and a second acks the entire change set. + + +Core Team +========= + +Core development team of hy consists of following developers. + +.. include:: coreteam.rst From abcd97b1f1aba334a034c7cbfdd2843292a36c46 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Tue, 17 Dec 2013 14:41:55 +0200 Subject: [PATCH 2/3] Add update_coreteam script. --- docs/coreteam.rst | 27 ++++++++++++----------- scripts/update_coreteam.py | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 13 deletions(-) create mode 100644 scripts/update_coreteam.py diff --git a/docs/coreteam.rst b/docs/coreteam.rst index 7ebead2..02b9c30 100644 --- a/docs/coreteam.rst +++ b/docs/coreteam.rst @@ -1,13 +1,14 @@ - - `Paul Richard Tagliamonte `_ - - `J Kenneth King `_ - - `Julien Danjou `_ - - `Nicolas Dandrimont `_ - - `Morten Linderud `_ - - `Gergely Nagy `_ - - `Karen Rustad `_ - - `Berker Peksag `_ - - `Christopher Allan Webber `_ - - `Bob Tolbert `_ - - `Tuukka Turto `_ - - `Will Kahn-Greene `_ - - `Konrad Hinsen `_ +* `Julien Danjou `_ +* `Morten Linderud `_ +* `J Kenneth King `_ +* `Gergely Nagy `_ +* `Tuukka Turto `_ +* `Karen Rustad `_ +* `Abhishek L `_ +* `Christopher Allan Webber `_ +* `Konrad Hinsen `_ +* `Will Kahn-Greene `_ +* `Paul Tagliamonte `_ +* `Nicolas Dandrimont `_ +* `Bob Tolbert `_ +* `Berker Peksag `_ diff --git a/scripts/update_coreteam.py b/scripts/update_coreteam.py new file mode 100644 index 0000000..dda9754 --- /dev/null +++ b/scripts/update_coreteam.py @@ -0,0 +1,45 @@ +""" +You need to install the requests package first:: + + $ pip install requests + +""" + +import os.path +import requests + +API_URL = 'https://api.github.com/%s' + +RST_FORMAT = '* `%s <%s>`_' +MISSING_NAMES = { + 'khinsen': 'Konrad Hinsen', +} +# We have three concealed members on the hylang organization +# and GitHub only shows public members if the requester is not +# an owner of the organization. +CONCEALED_MEMBERS = [ + ('aldeka', 'Karen Rustad'), + ('rwtolbert', 'Bob Tolbert'), + ('tuturto', 'Tuukka Turto'), +] + + +def get_dev_name(login): + name = requests.get(API_URL % 'users/' + login).json()['name'] + if not name: + return MISSING_NAMES.get(login) + return name + +coredevs = requests.get(API_URL % 'orgs/hylang/members') + +result = set() +for dev in coredevs.json(): + result.add(RST_FORMAT % (get_dev_name(dev['login']), dev['html_url'])) + +for login, name in CONCEALED_MEMBERS: + result.add(RST_FORMAT % (name, 'https://github.com/' + login)) + +filename = os.path.abspath(os.path.join(os.path.pardir, + 'docs', 'coreteam.rst')) +with open(filename, 'w+') as fobj: + fobj.write('\n'.join(result) + '\n') From 3204c2a574070b416c1f9848527dec0f1bb89790 Mon Sep 17 00:00:00 2001 From: Bob Tolbert Date: Fri, 20 Dec 2013 07:23:35 -0700 Subject: [PATCH 3/3] Fix for readline REPL problem Darwin Python3 On OS X Mavericks, the Hy REPL doesn't allow the 'b' character when running with Python 3.3. This appears to be a common problem for Darwin and readline as mentioned in this post http://superuser.com/questions/297527/cant-type-the-b-letter-in-python-shell-in-os-x --- hy/completer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hy/completer.py b/hy/completer.py index d32deaf..05ac88f 100644 --- a/hy/completer.py +++ b/hy/completer.py @@ -41,7 +41,7 @@ except ImportError: except ImportError: docomplete = False -if sys.platform == 'darwin': +if sys.platform == 'darwin' and 'libedit' in readline.__doc__: readline_bind = "bind ^I rl_complete" else: readline_bind = "tab: complete"