Codrspace / codrspace

The blogging platform for coders.
http://codrspace.com
Other
35 stars 13 forks source link

Add integration with frappy api wrapper #25

Closed durden closed 12 years ago

durden commented 12 years ago

We could use the project at github.com/durden/frappy to allow developers to specify their github credentials in the local_settings.py and automatically fill out the user details of whomever they want for developing locally.

  1. Add frappy to requirements file
  2. Update settings to use something like the following for the GITHUB_USER_JSON variable:

from frappy.services.github import Github from frappy.core.auth import UserPassAuth auth = UserPassAuth('joe', 'password')

g = Github(auth=auth)

r = g.users('durden') GITHUB_USER_JSON = r.response

glenbot commented 12 years ago

What this one done?

durden commented 12 years ago

Yea, this was done in the following commit:

https://github.com/Codrspace/codrspace/commit/5ab93070fa536d5ef024bef15282aed7361c9352