Commit Graph

35 Commits

Author SHA1 Message Date
Kenneth Reitz 4c852c3b9d Support listing watched repositories of given username. 2010-08-15 06:38:48 -04:00
Scott Torborg 126e853f6e Support listing comments on an issue. 2010-06-12 13:30:56 -07:00
Ask Solem 12e14ed218 Merge branch 'paulproteus/master'
Conflicts:
	github2/request.py
2010-05-18 15:08:20 +02: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 5fe8078fee fix bug where unicode strings were used for kwargs 2010-05-09 22:54:06 -07:00
Fernando Perez d08e1bc2da Add the ability to comment on issues. 2010-05-07 01:29:12 -07:00
Ask Solem 03afc58f59 Bumped version to 0.1.2 2010-04-27 16:31:29 +02:00
Rick Harris 396b18f3f1 Import parse_qs from cgi (2.5 compat) 2010-04-26 22:35:29 -05: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
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
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 5e55ecb19f Make this thing work. Closes #2. Closes #3 2009-11-13 12:31:46 +01: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
Ask Solem 373e5ea0db Fixed __doc__ for github2 2009-04-18 23:03:31 +02:00
Ask Solem dab63a5db6 Added delete repository 2009-04-18 22:57:10 +02:00
Ask Solem 1dfa90c88d Added support for network data (http://develop.github.com/p/network.html) 2009-04-18 22:18:41 +02:00
Ask Solem fbc49f1b23 Added support for getting blob/tree metadata (as described in http://develop.github.com/p/object.html) 2009-04-18 22:05:30 +02:00
Ask Solem 7b88d36926 Added support for Commits (http://develop.github.com/p/commits.html) 2009-04-18 21:55:51 +02:00
Ask Solem fdc17200cf Some refactoring. 2009-04-18 21:43:07 +02:00
Ask Solem d9e22a0010 Added support for repositories (http://develop.github.com/p/repo.html) 2009-04-18 19:33:20 +02:00
Ask Solem a62e478951 Initial commit 2009-04-18 17:29:55 +02:00