63 Commits

Author SHA1 Message Date
Kenneth Reitz 4c852c3b9d Support listing watched repositories of given username. 2010-08-15 06:38:48 -04:00
Ask Solem ec62e41850 Added Scott Torborg to AUTHORS 2010-06-17 13:42:44 +02:00
Scott Torborg 5f8c18be79 Add issue comments viewing to examples. 2010-06-12 13:34:25 -07:00
Scott Torborg 126e853f6e Support listing comments on an issue. 2010-06-12 13:30:56 -07:00
Evan Broder 6f1668334f Use rST header levels consistently in the README. 2010-05-23 22:58:02 -04:00
Ask Solem ae32298a9d Added Asheesh Laroia to AUTHORS 2010-05-18 15:09:28 +02:00
Ask Solem 12e14ed218 Merge branch 'paulproteus/master'
Conflicts:
	github2/request.py
2010-05-18 15:08:20 +02:00
Ask Solem 63aca91aca Added Evan Broder to AUTHORS 2010-05-18 15:06:13 +02:00
Ask Solem 4142dca818 Merge branch 'ebroder/anonymous-connections' 2010-05-18 15:03:52 +02:00
Ask Solem df7ef96bde Merge branch 'codysoyland/master' 2010-05-18 15:01:30 +02:00
Evan Broder 04e9e985a1 Document unauthenticated connections in the README. 2010-05-17 11:54:51 -04:00
Evan Broder 62cd09468a Default the username and api_token to None for unauthenticated access. 2010-05-17 11:52:25 -04:00
Evan Broder 3897683dea Connect to the Github API anonymously if username and api_token are None. 2010-05-17 11:51:48 -04:00
Fernando Perez 3c671146a7 Fix same unicode-in-keywords bug elsewhere, cleanup for previous fix. 2010-05-13 01:12:27 -07:00
Fernando Perez f4f93bfe6a Merge branch 'master' of git://github.com/ask/python-github2 into issue-comments 2010-05-09 22:54:14 -07:00
Fernando Perez 5fe8078fee fix bug where unicode strings were used for kwargs 2010-05-09 22:54:06 -07:00
Ask Solem abd24860b9 Added Fernando Perez to AUTHORS 2010-05-07 17:30:18 +02:00
Fernando Perez d08e1bc2da Add the ability to comment on issues. 2010-05-07 01:29:12 -07:00
Cody Soyland d08a923874 Add missing license information (originally specified in README). Correct install instructions. 2010-04-27 09:44:39 -05:00
Ask Solem 03afc58f59 Bumped version to 0.1.2 2010-04-27 16:31:29 +02:00
Ask Solem aee2d8b425 Added Cody Soyland to AUTHORS 2010-04-27 16:31:03 +02:00
Cody Soyland dd58c5c0d6 Add MANIFEST.in so sdist produces working build. 2010-04-27 09:21:47 -05:00
Ask Solem b598395d36 Added Rick Harris to AUTHORS 2010-04-27 11:47:47 +02:00
Rick Harris 396b18f3f1 Import parse_qs from cgi (2.5 compat) 2010-04-26 22:35:29 -05:00
Ask Solem 343fa6a938 Changed package name to github2 2010-04-19 11:23:56 +02:00
Ask Solem 59dd46c084 Managed to commit debugging output from friend-or-follow.py 2010-03-16 13:18:38 +01:00
Ask Solem 66ef352d2e New example examples/friend-or-follow.py: Like friendorfollow.com but for Github. 2010-03-16 13:15:53 +01:00
Asheesh Laroia 6b9a7b6553 For Python2.5 compatibility, fall back to cgi.parse_qs if urlparse.parse_qs is missing. 2010-01-08 17:50:54 -05:00
Ask Solem cd1f63ea37 Added Maximillian Dornseif to AUTHORS 2010-01-04 11:19:12 +01:00
Maximillian Dornseif 47df31bac8 github_manage_collaborators is now automatically installed by setup.py 2010-01-01 10:37:33 +01:00
Maximillian Dornseif 3dd8d9e854 * raise a somewhat more helpfull exception when github.com returns an error
* added docstrings on some functions which made me stumble
2010-01-01 10:36:04 +01:00
Maximillian Dornseif b44bcf82d6 github_manage_collaborators allows you to change access for all repositories
of an github.com account.

    $ github_manage_collaborators --login company --apitoken 02...66 list
    huSoftM: hudora mdornseif cklein
    huTools: hudora cklein
    pyJasper: hudora

    $ github_manage_collaborators --login company --apitoken 02...66 add nerxs
    added 'nerxs' to 'huSoftM'
    added 'nerxs' to 'huTools'
    added 'nerxs' to 'pyJasper'

    $ github_manage_collaborators --login company --apitoken 02...66 remove nerxs
    removed 'nerxs' from 'huSoftM'
    removed 'nerxs' from 'huTools'
    removed 'nerxs' from 'pyJasper'

    $ github_manage_collaborators --login company --apitoken 02...66 list
    huSoftM: hudora mdornseif cklein nerxs
    huTools: hudora cklein nerxs
    pyJasper: hudora nerxs

Use it only on workstations where you are the single user, because the `ps`
command would reveal your secret API-token to everybody on the host
running `github_manage_collaborators`.
2009-12-31 23:34:38 +01:00
Maximillian Dornseif b8463cc8df Author: Maximillian Dornseif <m.dornseif@hudora.de>
Date:   Thu Dec 31 18:42:07 2009 +0100

    Add authentiation for GET requests.

    This for example allows you to list private repositories:

        >>> from github2.client import Github
        >>> github = Github(username="company", api_token="2e66a5c7e24d1d066230f368ce8b094e")
        >>> repos = github.repos.list("company")

    `repos` now contains a list of public and private repositories of "company".
2009-12-31 19:02:02 +01:00
Ask Solem af679985b2 Added Mark Paschal to AUTHORS 2009-12-20 18:20:22 +01:00
Ask Solem 1c60eff4f3 Added Donald von Stufft to AUTHORS 2009-12-20 18:20:05 +01:00
dstufft 3bd699f278 fixed a mistake in setup.py 2009-12-20 04:47:15 +00:00
Mark Paschal c4bbd94376 Carry an explicit method so we can still POST even when there are no extra data (such as for repos.remove_collaborator) 2009-11-23 18:20:56 -08:00
Ask Solem ee2b7b26c8 Merge branch 'justquick/master' 2009-11-13 12:33:01 +01:00
Ask Solem 5e55ecb19f Make this thing work. Closes #2. Closes #3 2009-11-13 12:31:46 +01:00
Justin Quick 218befe66b README now w/ rst extension, github will make this look purdy 2009-11-13 00:21:02 -05:00
Ask Solem f6abaa5dba Fix typo authored_data -> authored_date 2009-04-21 14:46:20 +02:00
Ask Solem f1667a2720 Fix typo messsage -> message 2009-04-21 14:45:49 +02:00
Ask Solem 1069b99afc Fetching data fixed by issuing GET requests instead + date for commits properly parsed. 2009-04-21 14:45:16 +02:00
Ask Solem a96ccd4531 Remove debugging prints. 2009-04-21 13:36:52 +02:00
Ask Solem a6aab83e4e Better date parsing (still not good enough, have to find out how to parse the timezone, anyone?) 2009-04-21 13:36:27 +02:00
Ask Solem 433206f5c2 Authentication now works correctly. (changing data etc.) 2009-04-21 13:36:06 +02:00
Ask Solem 22d2631d23 Change to new datatype style. 2009-04-19 15:24:03 +02:00
Ask Solem bc2461ea9a Playing around. 2009-04-19 02:40:48 +02:00
Ask Solem 8478db043b Added automatic convertion of dates to datetime.datetime 2009-04-19 01:42:59 +02:00
Ask Solem 4af0ca091e Bumped version to 0.1.1 2009-04-18 23:03:57 +02:00